List and retrieve diffs with detailed revision information

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

{
    "id": 1119024,
    "revision": {
        "id": 520791,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "9d0ab914967483651835d162c4cac7b823436860",
        "phabricator_id": 262532,
        "phabricator_phid": "PHID-DREV-ft3mgo57agzt2hrhzxyw",
        "title": "Bug 1598488 - Make window.inner{Height,Width} return the proper value on for documents where the minimum-scale is applied. r?#layout-reviewers!,botond!",
        "bugzilla_id": 1598488,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520791/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520791/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262532"
    },
    "phid": "PHID-DIFF-di43qlairhxwrk3tjdj4",
    "review_task_id": "SgxgaLmmRN2k1OkHq56q1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c0a36fd84178de3a2c7cba1995125134a7b34f00",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1119024/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-09T00:45:38.400546Z"
}