List and retrieve diffs with detailed revision information

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

{
    "id": 1086598,
    "revision": {
        "id": 491610,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "42aab21bf42782c4ce285c4130a620b7000be9a0",
        "head_changeset": "8de00adf6413b6ae43309e298cab3e21e47cb9a4",
        "phabricator_id": 256331,
        "phabricator_phid": "PHID-DREV-7r7lk3egvtrsgtvnyehw",
        "title": "WIP: Bug 1976000: Created new BoundStorageKeyCache and BoundStorageKeyCacheStorage classes to access Cache APIs between child and parent.r=#dom-worker-reviewers.",
        "bugzilla_id": 1976000,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491610/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491610/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256331"
    },
    "phid": "PHID-DIFF-e6tgnzgk2fd5tz2hszlo",
    "review_task_id": "KtQgSrMuQDKIosauUlGYpg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "83bdb562928ffeb40c3e86fb58b5b6355b353fcd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086598/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T20:29:47.847600Z"
}