List and retrieve diffs with detailed revision information

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

{
    "id": 1095064,
    "revision": {
        "id": 495811,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "9757e0b6685526e4262b40089779c922b34779db",
        "head_changeset": "6ee9633b42f1ff095b6fa2aad77c7f92fe685676",
        "phabricator_id": 257284,
        "phabricator_phid": "PHID-DREV-oawwc35z3wokmukjv4i3",
        "title": "WIP: Bug 1977163 - Propagate EWS certificate errors to the UI. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1977163,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495811/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495811/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257284"
    },
    "phid": "PHID-DIFF-27okdigy4djl5stm5pzw",
    "review_task_id": "J4HfuN97QRCWRlVxvGQ6FA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9862d4d68d8e3b6e03bd73cf7726d681b3769a12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095064/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T09:58:27.002910Z"
}