List and retrieve diffs with detailed revision information

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

{
    "id": 1078952,
    "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-prtd5vb3bsghdhjphaby",
    "review_task_id": "SXmct68bSAmk4Epvalpr5A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7e83ba14e685a1c30b587a270e2e29ea23b5aa81",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078952/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:00:45.983811Z"
}