List and retrieve diffs with detailed revision information

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

{
    "id": 1111780,
    "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-5ksyczhour73ahiktjbz",
    "review_task_id": "TVF8-5Q4RYSX3-b1zy5e6A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "53f94ab3f41b8d0d7d8962abedd4258124450707",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111780/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T11:19:26.072009Z"
}