List and retrieve diffs with detailed revision information

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

{
    "id": 1079060,
    "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-p7dj25yddvcynde6cjg4",
    "review_task_id": "OaIQJ4GqRj6gFSg_Ssk84A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c022ccd78142f6d88995452b0f84a541c503ff06",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079060/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T21:29:35.366936Z"
}