List and retrieve diffs with detailed revision information

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

{
    "id": 1108966,
    "revision": {
        "id": 516402,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c36d3e4662ebdb0a9513540bf05862ffda313b2e",
        "head_changeset": "2111bf0df5f2deefa8b7553e2d8a2dc224513de5",
        "phabricator_id": 261815,
        "phabricator_phid": "PHID-DREV-wibvxwm7mbh3txy6kfed",
        "title": "Bug 1982923 - Detect VPN extension installs and remove the IP Protection widget, r?fchasen",
        "bugzilla_id": 1982923,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516402/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516402/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261815"
    },
    "phid": "PHID-DIFF-o7weqk2rc6bnrm47to73",
    "review_task_id": "AM27FOiSQoqLbJ4TwZpN0w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2111bf0df5f2deefa8b7553e2d8a2dc224513de5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108966/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T20:12:57.135241Z"
}