List and retrieve diffs with detailed revision information

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

{
    "id": 1027257,
    "revision": {
        "id": 473985,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c39268ce319f8a72c97ede318c8c10688e7e43f8",
        "head_changeset": "290f1fce9f062410365d11a4ffbb114a85bbe07f",
        "phabricator_id": 247660,
        "phabricator_phid": "PHID-DREV-usufzsnj4thlr6ezfouv",
        "title": "WIP: Bug 1964152: Dispatch TabGrouped and TabUngrouped from the tab group, not the tab",
        "bugzilla_id": 1964152,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473985/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473985/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247660"
    },
    "phid": "PHID-DIFF-35wngpoorjn4qbtj2emj",
    "review_task_id": "HizbufppSDeyJd06fw9zdQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f9a5db1cc8a16942f07850377ab2bb6cfc1d5590",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1027257/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-05T13:49:36.290790Z"
}