List and retrieve diffs with detailed revision information

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

{
    "id": 1111893,
    "revision": {
        "id": 513786,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d15f84a81995081c5380540782f571fc12aa72d5",
        "head_changeset": "6aa34fcdb2ec66c182a5e9113beae1869aeeeee0",
        "phabricator_id": 261249,
        "phabricator_phid": "PHID-DREV-llhouhab5gik7cf33fd2",
        "title": "Bug 1976108 - Complete implementation of security subview in trustpanel. r=dao,emz",
        "bugzilla_id": 1976108,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513786/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513786/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261249"
    },
    "phid": "PHID-DIFF-5a7yyqqnxf2etepmkhhv",
    "review_task_id": "R_UWfAPXQ46LxlwYTUDqXg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1a7f99003e682f03367641979a5de894bf35743c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111893/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T12:41:18.934462Z"
}