List and retrieve diffs with detailed revision information

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

{
    "id": 1056818,
    "revision": {
        "id": 476468,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d69ea4392b7e9531ea631cac7d2058777fa8714f",
        "head_changeset": "5c295c4f3c07f5c37628139100533865bcb9d87a",
        "phabricator_id": 251409,
        "phabricator_phid": "PHID-DREV-vnmfuxoctoxbtnpygdag",
        "title": "WIP: Bug 1956853 - Add support for type=\"list\" to moz-box-group",
        "bugzilla_id": 1956853,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476468/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476468/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251409"
    },
    "phid": "PHID-DIFF-3ss3whd6scgxwbxgijof",
    "review_task_id": "XqkCcXtxT3e8kTwssGUiSQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "be1cb99bd64450fa4182fa3b327ebbd55590da97",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056818/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T15:39:51.369656Z"
}