List and retrieve diffs with detailed revision information

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

{
    "id": 1047968,
    "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-ng4x6lohoiut5uvzm4q7",
    "review_task_id": "YOOF_93dTzmhPVauxPrstA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "0d90d59afbe54cc666171eebd1b737a16c8c04c8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047968/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T07:50:50.850272Z"
}