List and retrieve diffs with detailed revision information

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

{
    "id": 1049199,
    "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-huqmafad5kjifmxqkv36",
    "review_task_id": "GjzHxMaSQbirXFrz05znJw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fa02a8dab2fcb123ed5d9926eab99a7a35b322e0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049199/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T13:33:53.596531Z"
}