List and retrieve diffs with detailed revision information

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

{
    "id": 1086435,
    "revision": {
        "id": 495412,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "63caf22449827c84bdf443b6022e1b731ec87b95",
        "head_changeset": "51cf23317e2fdddff0ca87ecc114ccbb9c851f6e",
        "phabricator_id": 257181,
        "phabricator_phid": "PHID-DREV-4solswqk3n26ack2gxyo",
        "title": "Bug 1976259 - Part 2: Separate chunks that are currently in use for allocation from swept chunks available for future allocation r?sfink",
        "bugzilla_id": 1976259,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495412/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495412/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257181"
    },
    "phid": "PHID-DIFF-xzghi5ppxvrwsykiw42b",
    "review_task_id": "BUmNLUG1Thu47dPcRUCPkg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c782c74a9891fe4e6f359dfd935d0364471446e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086435/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T16:09:04.139046Z"
}