List and retrieve diffs with detailed revision information

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

{
    "id": 1048987,
    "revision": {
        "id": 463939,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d4371465982dfa17147909c585a516b7389e0751",
        "head_changeset": "423c703b0cf30f518806f8a01141b783783e2283",
        "phabricator_id": 240281,
        "phabricator_phid": "PHID-DREV-w7w36r7rmrxw2bngz4ei",
        "title": "WIP: Bug 1944507 - pt 4. Move chunk header structures to chunk.h",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/463939/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/463939/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D240281"
    },
    "phid": "PHID-DIFF-g3wakevyh2wznlsp2dxj",
    "review_task_id": "E-3C3daZROeL9efv8OwX2g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2855aa9e3c1baed81212de232bf45e56f94a9c66",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048987/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T06:31:43.119285Z"
}