List and retrieve diffs with detailed revision information

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

{
    "id": 1065164,
    "revision": {
        "id": 456106,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "ac24f36561035950a943606a8744fb4f0441065e",
        "phabricator_id": 238851,
        "phabricator_phid": "PHID-DREV-xhluhpw5avwlact4lzpe",
        "title": "WIP: Bug 1947783: Track incoming DATA chunks from different message ids separately.",
        "bugzilla_id": 1947783,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456106/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456106/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238851"
    },
    "phid": "PHID-DIFF-mcdmc3b6cycvt6ncr2zr",
    "review_task_id": "G4Yw4vSRQ7akQDVIa4np-w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ed3c6891bb66f4b91d25c5de1650349863dedbf3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065164/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T15:10:34.600064Z"
}