List and retrieve diffs with detailed revision information

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

{
    "id": 1086904,
    "revision": {
        "id": 496094,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b41ceaa0a5c9de46168a8ac4784935d012a6d98b",
        "head_changeset": "ee2d7a012a90478aeaf782a359cb4bf12e2d77b1",
        "phabricator_id": 257454,
        "phabricator_phid": "PHID-DREV-6eavagd736debgwu2l5z",
        "title": "WIP: Bug 1977533 - Fix the ArenaCollection iterator",
        "bugzilla_id": 1977533,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496094/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496094/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257454"
    },
    "phid": "PHID-DIFF-5zsn3ovjxzj2xln2ge7x",
    "review_task_id": "W8adhrGERTWI2-PewzL1ag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ee2d7a012a90478aeaf782a359cb4bf12e2d77b1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086904/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T05:14:58.087439Z"
}