List and retrieve diffs with detailed revision information

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

{
    "id": 1080052,
    "revision": {
        "id": 492720,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6270680ca6031e64a2106f4b579af2e3635ab1f1",
        "head_changeset": "91c54af3f5fc6ad0bdb7d3494381d99818f79f92",
        "phabricator_id": 256578,
        "phabricator_phid": "PHID-DREV-4eemfufewzut2vhxc3kt",
        "title": "Bug 1976410 - [riscv64] Fix bytes selection logic in AtomicExchange. r=jandem",
        "bugzilla_id": 1976410,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492720/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492720/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256578"
    },
    "phid": "PHID-DIFF-saxyl3y6ddip4a62pcgo",
    "review_task_id": "QoujsfdjSV-qx0cBUARe4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8eed060831b5b0ee5c5860e57806f2a7606dd53c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080052/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T10:45:03.752983Z"
}