List and retrieve diffs with detailed revision information

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

{
    "id": 1108954,
    "revision": {
        "id": 515630,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1eb95caca71d91fab853631a3eb1cec2c1abdca",
        "head_changeset": "9386578448c16a956319aed620b677966ce36cb2",
        "phabricator_id": 261661,
        "phabricator_phid": "PHID-DREV-xk3k3kejaaaq6gtirlgh",
        "title": "WIP: Bug 1209163: StopGapEventTarget, a wrapper whose underlying target can be set after events have been dispatched.",
        "bugzilla_id": 1209163,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515630/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515630/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261661"
    },
    "phid": "PHID-DIFF-5lprk2veq6mokvzi5hyt",
    "review_task_id": "UEF_4Z0sRUKwkRQ6YwRPLg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ac85acfad52532d8fee05e8d37ffac8aea231f19",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108954/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T20:09:24.271930Z"
}