List and retrieve diffs with detailed revision information

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

{
    "id": 1066630,
    "revision": {
        "id": 483097,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2e6f872e8ad1617f3fd0d5bb332fca7db1c27c44",
        "head_changeset": "58be105fbceb42260795b9ac3bc5c1b6ed7e2615",
        "phabricator_id": 254502,
        "phabricator_phid": "PHID-DREV-oxeo2vn6zog4cpvyjicb",
        "title": "Bug 1971375 - Ensure secureConnectionStart and connectStart are the same for HTTP/3 connections, r=mxinden",
        "bugzilla_id": 1971375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483097/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483097/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254502"
    },
    "phid": "PHID-DIFF-dwdpankwbrtunxsnkqhp",
    "review_task_id": "QT7G7SegSR6cRyB1ro7Oow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "58be105fbceb42260795b9ac3bc5c1b6ed7e2615",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066630/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T12:17:51.783086Z"
}