List and retrieve diffs with detailed revision information

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

{
    "id": 1076406,
    "revision": {
        "id": 485441,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3ff1f40e94faf7c666deaa081ebde55798f504f3",
        "head_changeset": "8a060de7c44d8d852664502f2d2dcd7d6189561f",
        "phabricator_id": 255033,
        "phabricator_phid": "PHID-DREV-hjecp7zgpjpfzzq7rf3p",
        "title": "Bug 1972921 - Track canvas textures used in bind groups",
        "bugzilla_id": 1972921,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485441/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485441/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255033"
    },
    "phid": "PHID-DIFF-mbxhavmylkp7ru3eqryl",
    "review_task_id": "cABS8oGNTFmDYnx_s_Nv9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b17c5c9ca22ec574093db1041907df9c7640740b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076406/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T03:10:27.470293Z"
}