List and retrieve diffs with detailed revision information

GET /v1/diff/1108089/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1108089,
    "revision": {
        "id": 511767,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4408830acf260c1b734e96270aea5dd806e3dd28",
        "head_changeset": "442638cccc58f9d1b557aee7628eca3ee15ed68b",
        "phabricator_id": 260895,
        "phabricator_phid": "PHID-DREV-hlwv72kxwhxpwasqbdir",
        "title": "WIP: Bug 1982731 - Newtab preflight MARS request",
        "bugzilla_id": 1982731,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511767/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511767/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260895"
    },
    "phid": "PHID-DIFF-zywaggtsowjzwyikxnbu",
    "review_task_id": "SBbv0uPxTy2jY3a94q9jHA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9312b190f9f85e2dc1d520552beec2eb15a78792",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108089/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T19:16:46.451761Z"
}