List and retrieve diffs with detailed revision information

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

{
    "id": 1102471,
    "revision": {
        "id": 459134,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5ec13fd9a7552d965aee757985c15fc027c02e6b",
        "head_changeset": "b70214a90692130d50387c8a19d0292577ac5f97",
        "phabricator_id": 239542,
        "phabricator_phid": "PHID-DREV-thvp4ftcqpfhzapgv35w",
        "title": "WIP: Bug 1949223: Allow SharedArrayBuffers to be used with BYOB.",
        "bugzilla_id": 1949223,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/459134/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/459134/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D239542"
    },
    "phid": "PHID-DIFF-tdlya7ig27efy2uwp5dz",
    "review_task_id": "BUS5YtxeSSCVdf6-rKABRg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "db6ab4d74beafd56de1db9b9010100e594494b16",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102471/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T14:22:49.116203Z"
}