List and retrieve diffs with detailed revision information

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

{
    "id": 1048726,
    "revision": {
        "id": 476695,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "73e2154d65634e1246c722c41f3b9eb02a919193",
        "head_changeset": "df33c6d19e086d37223c43d19db75026acc979aa",
        "phabricator_id": 251645,
        "phabricator_phid": "PHID-DREV-tn7j6opiie2w7xdatshj",
        "title": "Bug 1926651 - Disable WebGPU instead of preventing the build if dxcompiler.dll can't be found. r=jimb",
        "bugzilla_id": 1926651,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476695/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476695/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251645"
    },
    "phid": "PHID-DIFF-dn24mr53iaw674eq7x2l",
    "review_task_id": "UJyOA6LiR82Th5qirkCeEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "df33c6d19e086d37223c43d19db75026acc979aa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048726/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T21:23:31.406475Z"
}