List and retrieve diffs with detailed revision information

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

{
    "id": 1078904,
    "revision": {
        "id": 491575,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "12b9d1b9d4f16d2279ee824e2819c9437465c31b",
        "head_changeset": "1ea9d0c851a92a252d31eed4aa419ebf49663dfe",
        "phabricator_id": 256316,
        "phabricator_phid": "PHID-DREV-tbyrdqco764cyj5nyfm6",
        "title": "Bug 1974803 - Part 1: Add a moz-ohttp-image protocol handler to allow for image requests over OHTTP. r?kershaw!,mt!",
        "bugzilla_id": 1974803,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491575/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491575/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256316"
    },
    "phid": "PHID-DIFF-3woqvqvkaciunajkefkr",
    "review_task_id": "TkSONTd6RGC6h_pVOrYb_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6e30330cf5d059e941e1461dcd9c4245a4790715",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078904/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T17:40:59.693871Z"
}