List and retrieve diffs with detailed revision information

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

{
    "id": 1079405,
    "revision": {
        "id": 492051,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "97016c4c86ddd5e5c83125447d73a5449f86f1e1",
        "head_changeset": "6bee2b5323906ede8a05b0ee1a60d300a158be43",
        "phabricator_id": 256430,
        "phabricator_phid": "PHID-DREV-vccdzqgipu2z2ahst355",
        "title": "Bug 1976197 - Reject invalid cookies in the webExt cookie API - nightly only, r?robwu",
        "bugzilla_id": 1976197,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492051/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492051/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256430"
    },
    "phid": "PHID-DIFF-2l6ylrywyrdbkktettwo",
    "review_task_id": "TXHrcyMYQjOMJ8D_v0PEPw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b19e0fb035758bca293cf5edeac136671aba033b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079405/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T13:02:58.797891Z"
}