List and retrieve diffs with detailed revision information

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

{
    "id": 1115722,
    "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-yfnqhyeax246dxmneeyi",
    "review_task_id": "TbeYqf5MTm69gLyr_A0O-Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b2811c5c99501283d25fb87c32a7c50b10101ae9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115722/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-02T21:05:21.057022Z"
}