List and retrieve diffs with detailed revision information

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

{
    "id": 1115160,
    "revision": {
        "id": 520898,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "970974f0cbc8af54adfcd5dc4d33b637a6a8dfcd",
        "phabricator_id": 259219,
        "phabricator_phid": "PHID-DREV-faqamfmv6czwgrptpcit",
        "title": "WIP: Bug 1980056 - Mozjemalloc can now use page sizes smaller than the real size",
        "bugzilla_id": 1980056,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520898/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520898/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259219"
    },
    "phid": "PHID-DIFF-oz7lv3tg24eamnqtdtoz",
    "review_task_id": "daW67TOGS0CP9tVO4pdZeA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1caff65b1ca0e6400489e7958de89da5cb4405c8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115160/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-02T07:44:55.902861Z"
}