List and retrieve diffs with detailed revision information

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

{
    "id": 1092584,
    "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-cftf5oogjetpnid3fxr7",
    "review_task_id": "IIF2_VzSSkaz6-J4GGdQxQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9eec877c83a54af620f7fc543c33d5529f95efd4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1092584/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T16:50:53.223000Z"
}