List and retrieve diffs with detailed revision information

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

{
    "id": 1113684,
    "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-ewgrbmv5j2wapzpsjc76",
    "review_task_id": "TwSIw4STRyiCZXmzH44PmQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b3aba7b7a27625e810fd2fb59bf3dbb86c7b7eb1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113684/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-28T16:59:24.493472Z"
}