List and retrieve diffs with detailed revision information

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

{
    "id": 1099974,
    "revision": {
        "id": 505178,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "07870a914f6decb61202744058469ca661d17af0",
        "head_changeset": "12d922583b2a20217597b346413f1fd2afc6f53e",
        "phabricator_id": 259544,
        "phabricator_phid": "PHID-DREV-fexa4fiaqpcevezjsrm5",
        "title": "Bug 1980597 - Don't use attributes to store scrollbar state. r=hiro,dshin,tnikkel,#layout",
        "bugzilla_id": 1980597,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505178/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505178/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259544"
    },
    "phid": "PHID-DIFF-b67g5um7jtvxc7lbtpxj",
    "review_task_id": "OIav4YzHRs-WMLX3wNF8OQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5ecce0402f3ea660447eddb9715171177922134d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099974/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-02T12:12:44.706115Z"
}