List and retrieve diffs with detailed revision information

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

{
    "id": 1047566,
    "revision": {
        "id": 471613,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "48c6a4652f393dfd7a06442db24381c6a8788662",
        "head_changeset": "8a68a5ff573c21bd360d8b524124eb220934837b",
        "phabricator_id": 244436,
        "phabricator_phid": "PHID-DREV-w7d6x627drfxefetub6g",
        "title": "WIP: Bug 1943467 - wasm: Switch builtins to use system ABI frame layout.",
        "bugzilla_id": 1943467,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471613/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471613/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244436"
    },
    "phid": "PHID-DIFF-o3eum2j6nqwfgsl4f6zn",
    "review_task_id": "aazPQLh8Rf6p2Jt909H54Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec170f05bca6e4a58e0e6d8829496d5b98f0ea95",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047566/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T19:28:32.502641Z"
}