List and retrieve diffs with detailed revision information

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

{
    "id": 1105812,
    "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-wa6gxh5u3rpel4nvdl7m",
    "review_task_id": "ASUmM1IzSXSLql7pEn5ONg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c0f01bcb4a368c3f3ff8ce351a5d73f79a9e564e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105812/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T05:44:09.731560Z"
}