List and retrieve diffs with detailed revision information

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

{
    "id": 1056120,
    "revision": {
        "id": 478033,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ff447fe04d291f2c02561e62b96e651cbbbea4b",
        "head_changeset": "1b330e36d84582bab01fb185ba59649e20980413",
        "phabricator_id": 253206,
        "phabricator_phid": "PHID-DREV-taet4rk6ncacm4sejtqd",
        "title": "Bug 1971369 - Remove pre-yosemite native theme rendering structs. r=#mac-reviewers",
        "bugzilla_id": 1971369,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478033/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478033/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253206"
    },
    "phid": "PHID-DIFF-fuafboraouo7lippjakc",
    "review_task_id": "cRaAIwR6TT2UFtVS8i6HAg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1b330e36d84582bab01fb185ba59649e20980413",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056120/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T18:09:40.401853Z"
}