List and retrieve diffs with detailed revision information

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

{
    "id": 1058150,
    "revision": {
        "id": 478347,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f63167b2a2765767edec8eaae50fcef3149579fc",
        "head_changeset": "b15c80d64df1429b7401b2db04f22f4f0a03559e",
        "phabricator_id": 253606,
        "phabricator_phid": "PHID-DREV-2e4zjro42kdwuaht6x76",
        "title": "WIP: Bug 1971903 - build(webgpu): update WGPU to 620c9d1e8bcdede08a76134692babd6ccc004ecb r=#webgpu-reviewers!",
        "bugzilla_id": 1971903,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478347/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478347/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253606"
    },
    "phid": "PHID-DIFF-oz2bl3m2ophbsvsgjb2n",
    "review_task_id": "YlvWlniyQj2MLbSa4lO8cQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b15c80d64df1429b7401b2db04f22f4f0a03559e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058150/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T03:33:39.833591Z"
}