List and retrieve diffs with detailed revision information

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

{
    "id": 1032045,
    "revision": {
        "id": 473569,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8306bd79ec4505e0de3060539088e0df1ef4e4ee",
        "head_changeset": "53570fb852be192487b50708dcc935858d8dbf81",
        "phabricator_id": 246858,
        "phabricator_phid": "PHID-DREV-fkbkufhphhjuym2bprou",
        "title": "WIP: Bug 1951225 - Part 2-3: Implement new GetNativeClipboardData() on gtk widget;",
        "bugzilla_id": 1951225,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473569/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473569/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246858"
    },
    "phid": "PHID-DIFF-ea7ku4x37hhzmydzxala",
    "review_task_id": "UJtvB6AaSLiTOYiStpoyIg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8bf050868cf5673d6758151e345f38b835b01c0c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032045/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-12T21:39:20.007309Z"
}