List and retrieve diffs with detailed revision information

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

{
    "id": 1066091,
    "revision": {
        "id": 482414,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fce907859dea303c77e6ac30b0afc89c62b7f3e3",
        "head_changeset": "56fffca4793ab92393f72be4638dac46dd2ace8f",
        "phabricator_id": 254402,
        "phabricator_phid": "PHID-DREV-7zcizi2e3vcwhdvpkj6y",
        "title": "Bug 1968470 - Add 'Copy News 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/482414/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482414/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254402"
    },
    "phid": "PHID-DIFF-e2p4vrb7hyzb4n2kgl2g",
    "review_task_id": "cTMl6J2HTuKMOOMMoOlssA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "56fffca4793ab92393f72be4638dac46dd2ace8f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066091/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T15:03:09.615378Z"
}