List and retrieve diffs with detailed revision information

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

{
    "id": 1059401,
    "revision": {
        "id": 456632,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "c678aa8e795a49fa8761763ffcb6aef5a53d9f42",
        "phabricator_id": 238853,
        "phabricator_phid": "PHID-DREV-trbl7wcmi67qhnl5rarr",
        "title": "WIP: Bug 1927886: Remove usrsctp-specific stuff from OutgoingMsg",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456632/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456632/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238853"
    },
    "phid": "PHID-DIFF-yf7nuwp3n4jsjclcfdga",
    "review_task_id": "aMv0P3mxQSeZWcn1r6Drug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6d45602ffb12ee592f10a6f1b9ea5d80911073c7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059401/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:46:24.306496Z"
}