List and retrieve diffs with detailed revision information

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

{
    "id": 1054897,
    "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-xrytk24xo6rw54l7xnrd",
    "review_task_id": "bHhWHijzRh-fiZ1IHMwybQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "adad324eb38bc1365fd1f74cd5bda02d3eca4ade",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054897/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T02:33:36.126523Z"
}