List and retrieve diffs with detailed revision information

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

{
    "id": 1089210,
    "revision": {
        "id": 481697,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e6f37a9a92a40774d2e15cf06063ccaefce47143",
        "head_changeset": "c76a1c7d08e701b73704574324b67ff482acce53",
        "phabricator_id": 254244,
        "phabricator_phid": "PHID-DREV-46drsnffw7ag3kcmygpk",
        "title": "WIP: Bug 1963657 - Wire Update Testing to run whenever a release candidate is promoted",
        "bugzilla_id": 1963657,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481697/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481697/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254244"
    },
    "phid": "PHID-DIFF-mgahu7y5spvxb4l5rgpq",
    "review_task_id": "AXubEPPXTlKO8aI82g5AyQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f479c7613137386641e97da22795fcd8bbe45c94",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089210/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T03:01:11.735307Z"
}