List and retrieve diffs with detailed revision information

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

{
    "id": 1066179,
    "revision": {
        "id": 480765,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "324a320c87e98f4d668da7a8fb0efcfee0bd53dd",
        "head_changeset": "5aa54e69132d2809160109f205ae9ced2b0ea17a",
        "phabricator_id": 254046,
        "phabricator_phid": "PHID-DREV-fdux4orpj3bjyrv6bfze",
        "title": "WIP: Bug 1964600 - Daemonize the crash helper process on Linux and macOS",
        "bugzilla_id": 1964600,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480765/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480765/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254046"
    },
    "phid": "PHID-DIFF-j32r7kbeza7ty4b2jtrt",
    "review_task_id": "ZtLDhB2-R7WKLdFFTrg0tw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2cc08d80796bf8631c350c58c26ca4e798c0255f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066179/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T17:10:50.936073Z"
}