List and retrieve diffs with detailed revision information

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

{
    "id": 1111072,
    "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-3uldkfrflyrgullays3b",
    "review_task_id": "Py-HAzTvTxWFvWZO7lL4tA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "265513a7a010412f62ac9da30f58c7eeb1e7da49",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111072/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T14:28:40.377067Z"
}