List and retrieve diffs with detailed revision information

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

{
    "id": 1094299,
    "revision": {
        "id": 476328,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "56e7791c94170122c7030d1ee221483af2bc535c",
        "head_changeset": "e02aa95eb592ff200359a803c2969e8b816395c3",
        "phabricator_id": 251173,
        "phabricator_phid": "PHID-DREV-t33yietjgx4a2vcmlxla",
        "title": "WIP: Bug 1679997 - Add cssOrigin to declarative contentScripts API. r=zombie",
        "bugzilla_id": 1679997,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476328/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476328/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251173"
    },
    "phid": "PHID-DIFF-7hlnelwk23ubx476dwm5",
    "review_task_id": "BbkF3AszQl6keI-jDSf3Sg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4e40534d2206d0e246a1c6a632aca993897586f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094299/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T14:26:14.459528Z"
}