List and retrieve diffs with detailed revision information

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

{
    "id": 1071561,
    "revision": {
        "id": 478029,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ff447fe04d291f2c02561e62b96e651cbbbea4b",
        "head_changeset": "668a442bff65651c0188cbf02e12354af95cce23",
        "phabricator_id": 253202,
        "phabricator_phid": "PHID-DREV-7e2kqegyor7nxn3i7trb",
        "title": "WIP: Bug 1947413 - Grid items should join the correct baseline sharing group",
        "bugzilla_id": 1947413,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478029/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478029/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253202"
    },
    "phid": "PHID-DIFF-qo4sixxzhuicejugk7i4",
    "review_task_id": "JiNdh1QzRJGAhG4RFRdn9Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f5886eb80d3b7ac2299935431f201f0b1eabfb9d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071561/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T17:42:56.444675Z"
}