List and retrieve diffs with detailed revision information

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

{
    "id": 1077354,
    "revision": {
        "id": 489629,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b818546049130519d22b36f2bf6f92a85a460037",
        "head_changeset": "153341cd7dae5e5b0941f9f9b30fd99536fa83e3",
        "phabricator_id": 255809,
        "phabricator_phid": "PHID-DREV-nn6ba2qmrbvbg2xfxnfy",
        "title": "WIP: Revert \"Bug 1973335 - Can't reorder pinned tabs anymore  a=pascalc\"",
        "bugzilla_id": 1973335,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489629/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489629/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255809"
    },
    "phid": "PHID-DIFF-mbf4txwo66qynlurco2q",
    "review_task_id": "ady-u4pSTfKUkfMHtl6inA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d9bcd724c52794017dca4e297a7149d9824a0637",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077354/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T13:01:28.103216Z"
}