List and retrieve diffs with detailed revision information

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

{
    "id": 1112298,
    "revision": {
        "id": 521393,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "664497321e4c0f518f1c9fbc30a5b73c1b135238",
        "head_changeset": "ebed86b6b71f4981747b64aa424c35452d6f4cb4",
        "phabricator_id": 262672,
        "phabricator_phid": "PHID-DREV-wwfwlx2z27nwh4a6xfvc",
        "title": "Bug 1985382 - Rename GraphSpewer/JSONSpewer. r?iain",
        "bugzilla_id": 1985382,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521393/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521393/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262672"
    },
    "phid": "PHID-DIFF-vnoxcynxprvlshgceeby",
    "review_task_id": "fr348Hh5Sf6GeKazKaMtKg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ebed86b6b71f4981747b64aa424c35452d6f4cb4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112298/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T21:21:03.719796Z"
}