List and retrieve diffs with detailed revision information

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

{
    "id": 1109066,
    "revision": {
        "id": 516538,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c4f3b6ad33488d4f2caf0250af05e85f6b589a4",
        "head_changeset": "bce0015b71d8a1854000f8eeeebd36cc586c6af2",
        "phabricator_id": 261627,
        "phabricator_phid": "PHID-DREV-n5bxcc6ok2hmiv25kw2p",
        "title": "Bug 1965670 - Propagate the requested viewport type to SmoothScrollAnimation in APZ. r=hiro",
        "bugzilla_id": 1965670,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516538/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516538/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261627"
    },
    "phid": "PHID-DIFF-hj547okfkbzkoxturppg",
    "review_task_id": "OW7fBWm3T1ao7UEXY5s6Ww",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bce0015b71d8a1854000f8eeeebd36cc586c6af2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109066/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T23:45:48.442091Z"
}