List and retrieve diffs with detailed revision information

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

{
    "id": 1055285,
    "revision": {
        "id": 477348,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e41a39280f3df82b90dcc7cccedaa13fe15bf486",
        "head_changeset": "7f9fa594a7ee2ec968c6b6c635cc61138c667b0c",
        "phabricator_id": 252431,
        "phabricator_phid": "PHID-DREV-anwindafzqugxzua3tag",
        "title": "Bug 1970288: WebGPU: Add logging for ExternalTexture swapchain rejection. r=#webgpu-reviewers!",
        "bugzilla_id": 1970288,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477348/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477348/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252431"
    },
    "phid": "PHID-DIFF-rpseifuxtx34atewy3fa",
    "review_task_id": "A6UqeDGHTtSzx2fb7v0PeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e7e5b9af649817fcc6a7f3866984e67fe4074aac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055285/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T17:58:12.742612Z"
}