List and retrieve diffs with detailed revision information

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

{
    "id": 1108347,
    "revision": {
        "id": 515781,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "664497321e4c0f518f1c9fbc30a5b73c1b135238",
        "head_changeset": "550ca6148f65dd7c203f3a64b03195e2b904e7e9",
        "phabricator_id": 261679,
        "phabricator_phid": "PHID-DREV-76t5ezci2rskkt7utra7",
        "title": "Bug 1983820 - fix(webgpu): coerce `GPUTexture`s in `GPURenderPassDescriptor.depthStencilAttachment` to views properly r=#webgpu-reviewers!",
        "bugzilla_id": 1983820,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515781/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515781/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261679"
    },
    "phid": "PHID-DIFF-xgcdgnnd62kcn3rbyluw",
    "review_task_id": "FrctSPpJRICe083T75KR0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "250b14c87178cdce3715ab7b72bfd00d913f48a0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108347/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T01:32:22.395944Z"
}