List and retrieve diffs with detailed revision information

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

{
    "id": 1114771,
    "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-5mzbmtlnasshgoklg54o",
    "review_task_id": "aAcHFZMUTreWkyUgT9gzUA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2fded4bdf08f2fb6d19a64737f3423844bcfab80",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114771/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-01T01:38:41.248261Z"
}