List and retrieve diffs with detailed revision information

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

{
    "id": 1118988,
    "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-qaccuhb4zhxzrg4r2nfe",
    "review_task_id": "FpUZEcGRQIKfPdWF4IVk3A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2479fb325c85a04535cc4d701f8797d468f70d04",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1118988/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-08T23:33:52.980455Z"
}