List and retrieve diffs with detailed revision information

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

{
    "id": 1112388,
    "revision": {
        "id": 517319,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b4642edaad5a2dd6fdd6e70d304fcc20b74d6398",
        "head_changeset": "9f239cd9ed59e41b97a0a450da2f6affe8da8040",
        "phabricator_id": 262012,
        "phabricator_phid": "PHID-DREV-msekhu6akvbmkjkstf4v",
        "title": "Bug 1983863 Remove or move these networking probes to pre-release only: HTTP3_TIMER_DELAYED, HPACK*, SPDY_SYN* r=#necko-reviewers",
        "bugzilla_id": 1983863,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517319/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517319/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262012"
    },
    "phid": "PHID-DIFF-z5vtzzjecrnxgtkv2xg2",
    "review_task_id": "PEoge7rnQyK_SOHKt-n8_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6f94b4a5e3c2a08bd37a0f842d03cc98d7175a92",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112388/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T22:28:24.375610Z"
}