List and retrieve diffs with detailed revision information

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

{
    "id": 1077294,
    "revision": {
        "id": 489971,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "abb840fa31b6b06b837aab1e92e13968808ff5e6",
        "head_changeset": "8d74552e2840bd4f3309649297f8269c652f70d1",
        "phabricator_id": 255935,
        "phabricator_phid": "PHID-DREV-e7b6tq2q3sskb3tpfvdm",
        "title": "Bug 1975392 - More consistently use underscore in StaticAtom identifier. r?emilio",
        "bugzilla_id": 1975392,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489971/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489971/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255935"
    },
    "phid": "PHID-DIFF-7mvatemsitkyjf76i7gg",
    "review_task_id": "ej_3xJ7SQGGvOSqXSsv5vQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8d74552e2840bd4f3309649297f8269c652f70d1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077294/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T10:31:16.505024Z"
}