List and retrieve diffs with detailed revision information

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

{
    "id": 1056597,
    "revision": {
        "id": 478067,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "743f1b9d5b0d194d566de3f57ea6f18b9ad8bee2",
        "head_changeset": "e57906d4c7670fc61af8e04ab0c24b290a70a057",
        "phabricator_id": 202330,
        "phabricator_phid": "PHID-DREV-hx3ponigjt2pjdrh2vkp",
        "title": "Bug 1881043 - Part 1: Stop SendFinishing on all notification handler destruction path r=asuth!,nalexander!,nrishel!",
        "bugzilla_id": 1881043,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478067/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478067/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D202330"
    },
    "phid": "PHID-DIFF-nsr7bx5g2aqo75cd3bke",
    "review_task_id": "U8GzsdzOQXOr_h76ZbZlpg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fa54ba132a8f71418ce5523d25b21ee42a0a0b48",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056597/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T10:44:46.004687Z"
}