List and retrieve diffs with detailed revision information

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

{
    "id": 1107998,
    "revision": {
        "id": 515438,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "876ee68e20be4c473c2eb68957ea9444fe1fe96b",
        "head_changeset": "893d32aa7832fe5a13a434954f693f97c0fc1b6f",
        "phabricator_id": 261582,
        "phabricator_phid": "PHID-DREV-qbdiwq3k632zmfrbq27s",
        "title": "Bug 1983603: Reduce size of Servo CssUrl (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515438/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515438/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261582"
    },
    "phid": "PHID-DIFF-adhp7zjgjbduvpyp66wp",
    "review_task_id": "WV1ltR2OTGyigUQhEOpFDA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8c84a6a3a1f7f3d568302cf0c0b928da6049e3de",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107998/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:23:27.074886Z"
}