List and retrieve diffs with detailed revision information

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

{
    "id": 1089338,
    "revision": {
        "id": 493920,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f630da463f4347c22fd1222847f0be3370fd72ed",
        "head_changeset": "8f8edcbc6f0dc15a6be08e841fbab52a06fe6f97",
        "phabricator_id": 256971,
        "phabricator_phid": "PHID-DREV-kkd6wclusxode7jj2pki",
        "title": "Bug 1960618 - update permission tests for localhost permission. r=emz",
        "bugzilla_id": 1960618,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493920/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493920/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256971"
    },
    "phid": "PHID-DIFF-itbx2sittrxn232srl6h",
    "review_task_id": "EmR4A8QkQiSo5EzLMg-yRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2729c30bbc23aa6462aa5d9f0dbe522ef200f830",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089338/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T11:22:55.605614Z"
}