List and retrieve diffs with detailed revision information

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

{
    "id": 1055629,
    "revision": {
        "id": 477846,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9e2ae4b6571acb7877354b4f3dba8d660cebcbe4",
        "head_changeset": "3ee703fddafc0a5f98b831f1380788192c0af1a6",
        "phabricator_id": 252998,
        "phabricator_phid": "PHID-DREV-dkgj4utytshvak4pd3gy",
        "title": "Bug 1970623 - Update WebGPU CTS to f375033e150fca7e37ecd971e4a13634fcae2dbe",
        "bugzilla_id": 1970623,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477846/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477846/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252998"
    },
    "phid": "PHID-DIFF-wuhaporjhr2yvsmkgdo4",
    "review_task_id": "F-7RgyngRzGzlU77hEfvUA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "83b4d26ffd77a9607bfa29b28ee811787da3fbe8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055629/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T07:58:00.364384Z"
}