List and retrieve diffs with detailed revision information

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

{
    "id": 1086133,
    "revision": {
        "id": 492754,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "fca443f3bb0655adeeb1ac60b5e669fb1a19853f",
        "head_changeset": "6786f0f2e58b0dd2c79560522b77cb5bd3d0e6b9",
        "phabricator_id": 256594,
        "phabricator_phid": "PHID-DREV-c6c4orpzzvouzl6yv475",
        "title": "WIP: Bug 1970018 - Use folder IDs instead of xpcom objects to reference folders in FolderDatabase. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492754/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492754/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256594"
    },
    "phid": "PHID-DIFF-i535cqsnlcjc72z72m2e",
    "review_task_id": "VriF5NNWRiucr1053V3lug",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "79b12b02202910120edb3ed2f8c002eef4e502e3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086133/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T04:31:25.594499Z"
}