List and retrieve diffs with detailed revision information

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

{
    "id": 1088380,
    "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-j6qlfdsd2n2qy2sqm2m5",
    "review_task_id": "cCMuwsMzQFu5DmMwhkRZ5Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "69a37bbc4e96f092e2043b7fca0a0941a46def1a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088380/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T21:14:39.313768Z"
}