List and retrieve diffs with detailed revision information

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

{
    "id": 1077848,
    "revision": {
        "id": 490514,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "79fb45ef6b0662ad43d68e6137d4daf496206ff4",
        "head_changeset": "21220f3f7cbddaae9705d05fc6215af17da8262d",
        "phabricator_id": 256063,
        "phabricator_phid": "PHID-DREV-kanj46a3d4xxh4yviy2v",
        "title": "Bug 1975643 - [riscv64] Part 2: Implement WASM JSPI stack switching for riscv64 simulator. r=rhunt",
        "bugzilla_id": 1975643,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490514/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490514/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256063"
    },
    "phid": "PHID-DIFF-n5hzcc44e567etd7jepw",
    "review_task_id": "BxFFG4nATx6G-1nQrgvf-w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "21220f3f7cbddaae9705d05fc6215af17da8262d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077848/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T04:05:54.790562Z"
}