List and retrieve diffs with detailed revision information

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

{
    "id": 1121218,
    "revision": {
        "id": 481247,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "87cddffc3c81f88f41974f5963387fc875b97031",
        "head_changeset": "ab5e2f6503342c9108e996c9ff40cd4de2de191e",
        "phabricator_id": 254146,
        "phabricator_phid": "PHID-DREV-wpunurpnox7guefjggl2",
        "title": "Bug 1730749 - Store the 'should flatten' flag on StickyScrollContainer. r=mstange",
        "bugzilla_id": 1730749,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481247/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481247/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254146"
    },
    "phid": "PHID-DIFF-ar2x5annqcarifdovqxj",
    "review_task_id": "aRAMUqEBStaCfSeONHSlwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e44ff6ed8fd0644cb6364a0b27c5816651d9634d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1121218/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-11T22:21:33.330480Z"
}