List and retrieve diffs with detailed revision information

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

{
    "id": 1066090,
    "revision": {
        "id": 482412,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fce907859dea303c77e6ac30b0afc89c62b7f3e3",
        "head_changeset": "5dc650acc82504cd1a613c6b33080ffa5d0aafad",
        "phabricator_id": 254401,
        "phabricator_phid": "PHID-DREV-meor7gvyjh77zzwtcrac",
        "title": "Bug 1968470 - Add 'Copy Message Link' to header pane's 'More actions'. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1968470,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482412/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482412/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254401"
    },
    "phid": "PHID-DIFF-rm3qrzca6dlemugwpsr5",
    "review_task_id": "AVpBLfPnRXK8-ns1tHwlIg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "5dc650acc82504cd1a613c6b33080ffa5d0aafad",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066090/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T15:02:52.379863Z"
}