List and retrieve diffs with detailed revision information

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

{
    "id": 1109603,
    "revision": {
        "id": 498686,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "1108dfb734233009c7775f6efd37324592062466",
        "head_changeset": "9eec877c83a54af620f7fc543c33d5529f95efd4",
        "phabricator_id": 245132,
        "phabricator_phid": "PHID-DREV-tza6gqkcbqwldxstk3fp",
        "title": "Bug 1959096 - Comply with protected-headers draft and sign all headers. r=mkmelin",
        "bugzilla_id": 1959096,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/498686/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/498686/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245132"
    },
    "phid": "PHID-DIFF-3v3cxagyvpbnuagud5tr",
    "review_task_id": "cg_cDhYeTPOv7S2wJnv1PA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fe569d2e53f3af10e31db671c95dd213827aca1e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109603/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T16:25:41.687731Z"
}