List and retrieve diffs with detailed revision information

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

{
    "id": 1072397,
    "revision": {
        "id": 484940,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "18e6b65b916c170ba773aeeb527f0b515055617c",
        "head_changeset": "951d98cde4b20006cceeaf8343be3478e9f7ea9c",
        "phabricator_id": 254890,
        "phabricator_phid": "PHID-DREV-kwtzp2f5dlqq3p5adve5",
        "title": "WIP: Bug 1969120: Use new PBoundStorageKey actor on worker thread when loading cached serviceworker scripts.r=#dom-worker-reviewers",
        "bugzilla_id": 1969120,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484940/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484940/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254890"
    },
    "phid": "PHID-DIFF-hii32ayvitz5bzushcrl",
    "review_task_id": "CK04MwwMQuSELBv3sR8Z3Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5cc1d5acabc8c3ab6cdce756d40f08d854c2915c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072397/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T16:17:52.770202Z"
}