List and retrieve diffs with detailed revision information

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

{
    "id": 1047991,
    "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-gijpfa7ck2qchk7mcray",
    "review_task_id": "GA6QYoNnTCqjYjjKaPFzDw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a64c7ce0615d0cc4d68f06262cce2140613bcabc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047991/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T08:20:37.141473Z"
}