List and retrieve diffs with detailed revision information

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

{
    "id": 1055193,
    "revision": {
        "id": 476023,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e2490aef03855cb7b1784dcb1a55e28d2d45f150",
        "head_changeset": "c50216b1ba3fb7b79540b95c5fb4f9ced90654ed",
        "phabricator_id": 250741,
        "phabricator_phid": "PHID-DREV-qql45cczvxuywrvs6tb5",
        "title": "Bug 1966697 - stream the onnx wasm file to OPFS - r?tarek",
        "bugzilla_id": 1966697,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476023/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476023/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250741"
    },
    "phid": "PHID-DIFF-wbgkryfeplffvip4h4sw",
    "review_task_id": "ZHDNp810R4aDfrsK4cZxIw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c15706f80def64c8bae1ec76a1a8892430f9decd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055193/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T17:05:10.776845Z"
}