List and retrieve diffs with detailed revision information

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

{
    "id": 1079037,
    "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-qghjepa4w6kqdqqt535u",
    "review_task_id": "NOSH_-LERUGh47Fk5a4_xA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e0a4bb01a259cc453be7e4af6a0bfc8c318541e9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079037/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T20:40:26.916366Z"
}