List and retrieve diffs with detailed revision information

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

{
    "id": 1112337,
    "revision": {
        "id": 521372,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ce47d913983c57a7b48d8a0f08e431b5dd7ab732",
        "head_changeset": "e8ed9b98145b751e02186c2bd625a73fdace3dc7",
        "phabricator_id": 262664,
        "phabricator_phid": "PHID-DREV-xfi34lk2l2dy4enugs4o",
        "title": "Bug 1985386 - Update activity component to use moz-src. r=#thunderbird-reviewers",
        "bugzilla_id": 1985386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521372/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521372/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262664"
    },
    "phid": "PHID-DIFF-nxsbo2buqr3iwsnmdza6",
    "review_task_id": "fG7fIvk2SkCgl1b_atzB-Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6713b6c501b1ea3bfdf0a927f3d6c83bfb02c15f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112337/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T21:47:30.527747Z"
}