List and retrieve diffs with detailed revision information

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

{
    "id": 1047567,
    "revision": {
        "id": 471617,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a71fd9d8ad06e0b7aafaa1a1f9d37d696ea589e6",
        "head_changeset": "f0eeec3c133399f8839fc0862c1f425cc43db215",
        "phabricator_id": 244437,
        "phabricator_phid": "PHID-DREV-pppb6vx4p7rwpe7uwgrh",
        "title": "WIP: Bug 1943467 - wasm: Add 'needs_thunk' and allow builtins to skip builtin thunks.",
        "bugzilla_id": 1943467,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471617/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471617/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244437"
    },
    "phid": "PHID-DIFF-ixvbuwrvq4whvs3wegmk",
    "review_task_id": "PVXYWTlVRPe89rXUIwA2MA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7baeec38e9fef8c10ded17364368c943bb8e8a12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047567/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T19:30:40.768235Z"
}