List and retrieve diffs with detailed revision information

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

{
    "id": 1079964,
    "revision": {
        "id": 492714,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b6385a6d1b0dacafc46ffc033b0409200fffb1b6",
        "head_changeset": "83543f9346b7be3edf96f10b338c68b4e719b903",
        "phabricator_id": 256575,
        "phabricator_phid": "PHID-DREV-fgamfvf2ylp6aoom4kd7",
        "title": "Bug 1976410 - [riscv64] Use MacroAssembler::ma_and for 16-bit masks in CompareExchange and AtomicExchange. r=jandem",
        "bugzilla_id": 1976410,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492714/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492714/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256575"
    },
    "phid": "PHID-DIFF-ubgzmh4qkmdbnfhdwp4h",
    "review_task_id": "JiPP_M2iRUiscTvTZHRqug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "83543f9346b7be3edf96f10b338c68b4e719b903",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079964/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T07:57:26.094448Z"
}