List and retrieve diffs with detailed revision information

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

{
    "id": 1051555,
    "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-vqwvsuhkzdejjwu6dsuv",
    "review_task_id": "LHRWIK5wRmqZplJLpo1Mcg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "db3fdda67b2a17bb607987be91bfed97cc753d20",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051555/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T01:47:34.775608Z"
}