List and retrieve diffs with detailed revision information

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

{
    "id": 1110846,
    "revision": {
        "id": 516562,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1670f9977c4447d4e06aa9f3ca6210e5c6eaef00",
        "head_changeset": "0dbd48bf4b2f275164032b758e03631551261292",
        "phabricator_id": 261848,
        "phabricator_phid": "PHID-DREV-bmka6ccl2fx3dgyjfsw6",
        "title": "Bug 1978818 - Make `PositionedEventTargeting` prefer actual nearest element if found nearest element is not directly clickable/touchable r=smaug!,#layout-reviewers!,#dom-core",
        "bugzilla_id": 1978818,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516562/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516562/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261848"
    },
    "phid": "PHID-DIFF-t4ydyizhyzr7pnjlba2q",
    "review_task_id": "ElCiaJXtSFeWGU1LoKolBQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "76ae8233c777b003555fe8cfd78b589891623254",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110846/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T08:24:14.557897Z"
}