List and retrieve diffs with detailed revision information

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

{
    "id": 1105767,
    "revision": {
        "id": 512694,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "b76fef591ca154a215e17f2c85049f175fa5c0b8",
        "phabricator_id": 261056,
        "phabricator_phid": "PHID-DREV-aqsh5mffopzypmc3lw2n",
        "title": "WIP: Bug 1982963 - Add the LinuxMemoryPSI annotation to the crash report.",
        "bugzilla_id": 1982963,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512694/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512694/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261056"
    },
    "phid": "PHID-DIFF-p4etd3m6lndqhxesdjd5",
    "review_task_id": "AZmfnjsYRjG-YRGqzXMeRg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c2479835c103eadeb16004169821cde259ce1ad3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105767/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T01:44:33.143447Z"
}