List and retrieve diffs with detailed revision information

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

{
    "id": 1112163,
    "revision": {
        "id": 520296,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "ed044d8b04488d6f1afe49ff988e1c531a1d3380",
        "phabricator_id": 262438,
        "phabricator_phid": "PHID-DREV-2bdo6f4t5g6vthgq73jg",
        "title": "WIP: Bug 1985092 - update moz-select state when value is set r?#recomp-reviewers",
        "bugzilla_id": 1985092,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520296/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520296/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262438"
    },
    "phid": "PHID-DIFF-bns2kwkub4vq7h5jwbpn",
    "review_task_id": "SiY0yohLSrmg8QngoE1QNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cf462b10ddda0967a77be196e34b10b8d8c9b59a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112163/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T18:42:05.099978Z"
}