List and retrieve diffs with detailed revision information

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

{
    "id": 1102186,
    "revision": {
        "id": 507272,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2d8353914a6b1e3e35b8dcc01d02ed00b7eab2b7",
        "head_changeset": "c2192435c61db99be76ef7696747f169c9d81c49",
        "phabricator_id": 260095,
        "phabricator_phid": "PHID-DREV-p7hqqh7dkv4r6dx2bw35",
        "title": "WIP: Bug 1980710 - Add toggles for focus timer notifications.",
        "bugzilla_id": 1980710,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507272/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507272/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260095"
    },
    "phid": "PHID-DIFF-izojvjguw46p6e3qcl4r",
    "review_task_id": "XJwEsoatRaml2DWAMv1THg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c6026c79241a527d72f502894b7e400621346382",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102186/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T04:11:20.880696Z"
}