List and retrieve diffs with detailed revision information

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

{
    "id": 1057862,
    "revision": {
        "id": 478306,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669e086a277f1c78e65988837f286b32266b4501",
        "head_changeset": "35c9421c6e879f35b2089d7d05e8845e6cf81bb1",
        "phabricator_id": 253549,
        "phabricator_phid": "PHID-DREV-xbgpat33vjwsm65ntbze",
        "title": "Bug 1968102 - add `QueueWriteBufferInline` to avoid shmem overhead on small buffers r=#webgpu-reviewers",
        "bugzilla_id": 1968102,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478306/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478306/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253549"
    },
    "phid": "PHID-DIFF-gu32azrnsjgyhste4ceg",
    "review_task_id": "GPmkgWz4Q5m-BITQ7MizvQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "35c9421c6e879f35b2089d7d05e8845e6cf81bb1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057862/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T17:27:57.641562Z"
}