List and retrieve diffs with detailed revision information

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

{
    "id": 1095952,
    "revision": {
        "id": 397579,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef784b73994b27ba0ec6984e0b6126c1234d8be4",
        "head_changeset": "3a2cdaa2ee80ad53cd7fb95200519dd16fd4e4fc",
        "phabricator_id": 229077,
        "phabricator_phid": "PHID-DREV-pciadjq6yqxqgntzo2ix",
        "title": "Bug 1885221, part 6 - Implement JS IPC message logging. WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/397579/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/397579/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229077"
    },
    "phid": "PHID-DIFF-ugrvtziskxb2nzh46jwh",
    "review_task_id": "J60JZwTvQ_uLncSHIFXXzQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3aa78cb421c118a8e859c048b717f8fd377eb4f1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095952/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T15:15:24.827562Z"
}