List and retrieve diffs with detailed revision information

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

{
    "id": 1115154,
    "revision": {
        "id": 520900,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "2d5643abf8ef618974d53473072bd2ac80762dfe",
        "phabricator_id": 259218,
        "phabricator_phid": "PHID-DREV-jmormxfb3amafkconbpp",
        "title": "WIP: Bug 1980048 - Remove the tiny size class from mozjemalloc",
        "bugzilla_id": 1980048,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520900/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520900/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259218"
    },
    "phid": "PHID-DIFF-o5yy3c75n57krglgzlco",
    "review_task_id": "fx_G-HabT5iYm6wj2BQaIg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c673f90fc257d0a581b9449c5366d7d66b5611d2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115154/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-02T07:41:28.019895Z"
}