List and retrieve diffs with detailed revision information

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

{
    "id": 1058149,
    "revision": {
        "id": 478267,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b38e43d5c713637d4e01cdc8468dd37824cdffaf",
        "head_changeset": "14c49f61c3edaa994a70dd6f053f65274d1f3306",
        "phabricator_id": 253497,
        "phabricator_phid": "PHID-DREV-jswdelkdstk54fs6lwja",
        "title": "Bug 1840926 - chore(webgpu): run `cargo fmt` on `wgpu_bindings` r=#webgpu-reviewers",
        "bugzilla_id": 1840926,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478267/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478267/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253497"
    },
    "phid": "PHID-DIFF-xzmtu7dp6g75rht2324c",
    "review_task_id": "TjnNiWxqSmu_1l_r7wTDlw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "72e6283d00b12a3349bbe37415484ed4357a4671",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058149/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T03:31:58.756016Z"
}