List and retrieve diffs with detailed revision information

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

{
    "id": 1066898,
    "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-wtxqggr3edxsgmjgahvk",
    "review_task_id": "AcXSuU1IRP2C4CbuEA2FMw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0cdac2a397d4508efc639ab25889b94d3c5e1d41",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066898/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-21T00:36:35.113868Z"
}