List and retrieve diffs with detailed revision information

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

{
    "id": 1081030,
    "revision": {
        "id": 489680,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9ed937ee84a5da70eaebe00b2fb66bd57ee3a8e6",
        "head_changeset": "047b78719a225c489302a28c25ae1195e92299de",
        "phabricator_id": 255855,
        "phabricator_phid": "PHID-DREV-upoctn6seo6nk6xjgklg",
        "title": "Bug 1942107 - Part 3: make moz-reorderable-list work better with shadow DOM r=julian,#recomp-reviewers",
        "bugzilla_id": 1942107,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489680/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489680/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255855"
    },
    "phid": "PHID-DIFF-nqdrttotxhvhg4hpb4fc",
    "review_task_id": "YavAeDTgRUS7HmE2xPLiIw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "91e0302867bdb25ae2e1b43084c27e4a5a130074",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081030/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T19:15:50.440464Z"
}