List and retrieve diffs with detailed revision information

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

{
    "id": 1067267,
    "revision": {
        "id": 484100,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7db8cd3071e45ab86543a588dc47e913875b0b48",
        "head_changeset": "c64691eb935d966edb032cf97a76a4f56dc489d0",
        "phabricator_id": 254687,
        "phabricator_phid": "PHID-DREV-vl7d6o6lu5svmreil3aa",
        "title": "WIP: Bug 1971912 - Part 1: [GTK] Make {Async}HasNativeClipboardDataMatchingFlavors handle empty TARGETS for text data;",
        "bugzilla_id": 1971912,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484100/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484100/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254687"
    },
    "phid": "PHID-DIFF-ffjn64mwai2alscf3bpp",
    "review_task_id": "UeW3F5ncQzCaiwTAUCUReQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c64691eb935d966edb032cf97a76a4f56dc489d0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067267/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T13:20:46.936083Z"
}