List and retrieve diffs with detailed revision information

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

{
    "id": 1109158,
    "revision": {
        "id": 515813,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "43d3f69838d8c7d26b938c0f2a45ea1fe7417f14",
        "head_changeset": "13bef3f34713aaa588df30a9332ca735eeb965bc",
        "phabricator_id": 261684,
        "phabricator_phid": "PHID-DREV-am327s2ls4nfkq2m4scj",
        "title": "Bug 1983982 - Add telemetry to record the addition of certificate exceptions. r=#thunderbird-reviewers",
        "bugzilla_id": 1983982,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515813/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515813/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261684"
    },
    "phid": "PHID-DIFF-eswhhbmqpxtv54vdecbb",
    "review_task_id": "DfPSCuH4S5uZXUUnn9_3DQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "23f4a0e2ffa12d19c4602516e712de7ea71f3308",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109158/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T04:25:11.430212Z"
}