List and retrieve diffs with detailed revision information

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

{
    "id": 1081719,
    "revision": {
        "id": 484945,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "18005a81c31ab50a121b95ae470d03070767481e",
        "head_changeset": "40b82f3afe5892b48f00988e1edd5607810ad458",
        "phabricator_id": 254888,
        "phabricator_phid": "PHID-DREV-epg7jtetx4jy2g3zcbtk",
        "title": "WIP: Bug 1969120: Implementing new PBoundStorageKey actor.r=#dom-worker-reviewers",
        "bugzilla_id": 1969120,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/484945/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/484945/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254888"
    },
    "phid": "PHID-DIFF-u57dpo22tgmphol7gykn",
    "review_task_id": "czUJ_95_RrSCt1yY7s8gXg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5657219879bbd8c7df27fdc9336263cc04597c8c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081719/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T16:41:07.872116Z"
}