List and retrieve diffs with detailed revision information

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

{
    "id": 1052532,
    "revision": {
        "id": 476387,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "2cd563935a67a950960f9b68cc24c6c55bc49d36",
        "head_changeset": "1f1e00c3b2d2ec69895a1e41af659636a78719ff",
        "phabricator_id": 251247,
        "phabricator_phid": "PHID-DREV-jnq33jkqo2ppkoelqh57",
        "title": "WIP: Bug 1952094 - For localfolder copy, use msgKey from final header in nsIMsgCopyServiceListener.setMessageKey() invocations. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1952094,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476387/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476387/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251247"
    },
    "phid": "PHID-DIFF-t3it5ck7un7hksn4bc2t",
    "review_task_id": "IuwDKMPFQgmFAJP1M1OkFg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2a7d5e8bfe6b48073ee70bfce77c89df849c57f2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052532/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T10:38:28.042779Z"
}