List and retrieve diffs with detailed revision information

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

{
    "id": 1057220,
    "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-z7vq47xawtowfbgwu25j",
    "review_task_id": "AnNL6dYNQOyjeeAtqyMbLQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e924bd7b961d73502ce8c590148f8e7c552f286a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057220/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T23:26:42.862434Z"
}