List and retrieve diffs with detailed revision information

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

{
    "id": 1066469,
    "revision": {
        "id": 482759,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f5e45ff61b7345d5c18d46464c89ac9cc4d0fb42",
        "head_changeset": "bb64b870763505c678d2227c9be82e4fef96e987",
        "phabricator_id": 254460,
        "phabricator_phid": "PHID-DREV-sqf42xkdglpgjzrkchkg",
        "title": "Bug 1966020 - Change tabIndex to 0 in ProtonScreen for better VoiceOver behavior in Spotlight. r=emcminn",
        "bugzilla_id": 1966020,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482759/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482759/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254460"
    },
    "phid": "PHID-DIFF-6byuykbbvaa4dclnmq7w",
    "review_task_id": "bUSk6Ud5Qn2wlViUJL_bZA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bb64b870763505c678d2227c9be82e4fef96e987",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066469/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T00:00:17.141641Z"
}