List and retrieve diffs with detailed revision information

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

{
    "id": 1117966,
    "revision": {
        "id": 520013,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "265513a7a010412f62ac9da30f58c7eeb1e7da49",
        "phabricator_id": 262394,
        "phabricator_phid": "PHID-DREV-orjc2dj3vw7jqky5xnl7",
        "title": "WIP: Bug 1983320 - Add support for ML-DSA keys and mechanisms in PKCS#11 interface",
        "bugzilla_id": 1983320,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520013/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520013/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262394"
    },
    "phid": "PHID-DIFF-zs2nht3pmgp2y5orh7j3",
    "review_task_id": "bFuNgl-HTLqTMxov05EcHQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "638b6f7e1c03e98c567f9da61250a8fc351c7775",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1117966/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-05T18:39:46.695762Z"
}