List and retrieve diffs with detailed revision information

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

{
    "id": 1027320,
    "revision": {
        "id": 472592,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "875d51727bbd000dc73ce9e1f8b95503ab971c07",
        "head_changeset": "e64ce3b6d2d28e5d0ded2f1aec47d63e0e78d6e2",
        "phabricator_id": 245429,
        "phabricator_phid": "PHID-DREV-wptmyhgklzffc6wbxerv",
        "title": "WIP: Bug 1894123 - wasm: Rework branch hinting to move cold blocks out of line.",
        "bugzilla_id": 1894123,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472592/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472592/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245429"
    },
    "phid": "PHID-DIFF-xf7ldbych7276c2sfjpu",
    "review_task_id": "UcXlzrDPQAW9lS_PVe_vBQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "789f418ae7830edbc86e3e6116cd925d43618a1d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1027320/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-05T16:20:01.417540Z"
}