List and retrieve diffs with detailed revision information

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

{
    "id": 1072393,
    "revision": {
        "id": 480042,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cf2d581e3b0d9a4879e70469f4c74eef83df097e",
        "head_changeset": "94ba4ba0bf73e258960e0ab8d6f0628531bd0da3",
        "phabricator_id": 253883,
        "phabricator_phid": "PHID-DREV-dn6wayxc46fvkvzvu5bd",
        "title": "WIP: Bug 1967540: Load service worker cache from non-main thread.r=dom-worker-reviewer",
        "bugzilla_id": 1967540,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480042/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480042/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253883"
    },
    "phid": "PHID-DIFF-tkde67h3ol443elmaano",
    "review_task_id": "IBvedGTyTKyPknsVnLvz5w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "66ab5d72fb94c7f1c50d6ef486c9ec21677dc6fd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072393/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T16:18:09.816471Z"
}