List and retrieve diffs with detailed revision information

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

{
    "id": 1054603,
    "revision": {
        "id": 477743,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "367bc904b4fd00b55b628badd4a50a63bf578a9a",
        "head_changeset": "2b5d64b9276e4140167de3534dc91e397cc46a77",
        "phabricator_id": 252900,
        "phabricator_phid": "PHID-DREV-labkbbndjl5j6w6ozra2",
        "title": "Bug 1970947: Consult WGPU_TRACE in the GPU process, not the content process. r=#webgpu-reviewers!",
        "bugzilla_id": 1970947,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477743/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477743/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252900"
    },
    "phid": "PHID-DIFF-h6da24t4c56eezsxeuml",
    "review_task_id": "AGRAqvdmQ_CqLD0ng8m9QQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b5d64b9276e4140167de3534dc91e397cc46a77",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054603/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T20:28:35.175525Z"
}