List and retrieve diffs with detailed revision information

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

{
    "id": 1066096,
    "revision": {
        "id": 482431,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1175042e664c699571c14ec14eb17dabd63e2cdf",
        "head_changeset": "a2e3ab6e87c806cfa67e329f54f2777e4c0471ea",
        "phabricator_id": 254404,
        "phabricator_phid": "PHID-DREV-rtkr4s22nx24mxw2buu6",
        "title": "Bug 1972486 - Enable WebGPU on Windows by default r=#webgpu-reviewers!,#webidl!",
        "bugzilla_id": 1972486,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482431/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482431/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254404"
    },
    "phid": "PHID-DIFF-yppmpqo6z3cbyxn2s37a",
    "review_task_id": "LUme-SrcQbu8wE3G-T7UHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3011150c51f35fcddfd203b94bfaf7258e50f20b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066096/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T15:40:31.617332Z"
}