List and retrieve diffs with detailed revision information

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

{
    "id": 1105792,
    "revision": {
        "id": 507952,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "865826ba9dc40fdfee173bae32cfae6231279baf",
        "head_changeset": "7333b056173caa1555a11a0ecc15397d151f0998",
        "phabricator_id": 260222,
        "phabricator_phid": "PHID-DREV-vdqjmrx3vlccu5cqgcyv",
        "title": "WIP: Bug 1980298 - Display a warning icon in the folder tree on TLS errors.",
        "bugzilla_id": 1980298,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507952/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507952/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260222"
    },
    "phid": "PHID-DIFF-adtjcxxkj4mobpgjg4ix",
    "review_task_id": "f7eTCj_ARM-SAMPqhZf05w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "f697853ffad42979dcec36c38374aca58c675845",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105792/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T03:13:52.011445Z"
}