List and retrieve diffs with detailed revision information

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

{
    "id": 1052531,
    "revision": {
        "id": 476159,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "70dca2bcf3b569c6c7a2675da7c598593f1b2ddb",
        "head_changeset": "0ca83e5e4833e06d9d4448af6df2d0439ddd4a38",
        "phabricator_id": 250889,
        "phabricator_phid": "PHID-DREV-xw7ymhmnd7r5ajjlrgqc",
        "title": "WIP: Bug 1952094 - Add nsIMsgFolder.addDetachedMsgHdr() to allow separation of detached and attached nsIMsgHdr objects.",
        "bugzilla_id": 1952094,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476159/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476159/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250889"
    },
    "phid": "PHID-DIFF-7s4kcljteue6hiu5bba3",
    "review_task_id": "PAhtt4m4SdGcGK0x8M1imA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "dce91ef112b17fc488f847ec0f001d3abc58fe4b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052531/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T10:18:25.375453Z"
}