List and retrieve diffs with detailed revision information

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

{
    "id": 1109538,
    "revision": {
        "id": 517115,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fed0a3528ef27b3a504543436fd0c7ba2548b21",
        "head_changeset": "4cb4b66731f791a6ad899af6326c21318b1e6738",
        "phabricator_id": 261974,
        "phabricator_phid": "PHID-DREV-4lqvbutkaocdtxo3niu4",
        "title": "Bug 1984401 - Add nsINSSErrorsService.isErrorOverridable. r=keeler",
        "bugzilla_id": 1984401,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517115/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517115/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261974"
    },
    "phid": "PHID-DIFF-f6coom76qerch46rpisn",
    "review_task_id": "ekI2E3nERo6tHnAgCMhzcg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4cb4b66731f791a6ad899af6326c21318b1e6738",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109538/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T15:43:49.861024Z"
}