List and retrieve diffs with detailed revision information

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

{
    "id": 1079326,
    "revision": {
        "id": 492024,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d2206a87a076c392cc656789b5936f8c5726d763",
        "head_changeset": "a1b17b4a23ffe9e3ce343ff5b1b06e9a82e18c65",
        "phabricator_id": 256418,
        "phabricator_phid": "PHID-DREV-6id2t7ci7ek2kp7otdd2",
        "title": "WIP: Bug 1976184 - Add free list allocation to the base allocator",
        "bugzilla_id": 1976184,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492024/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492024/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256418"
    },
    "phid": "PHID-DIFF-zpaas6omcpg3sm56jkkr",
    "review_task_id": "PlEedESLTMmyHroSt3RMqg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a1b17b4a23ffe9e3ce343ff5b1b06e9a82e18c65",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079326/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T10:18:36.552293Z"
}