List and retrieve diffs with detailed revision information

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

{
    "id": 1078954,
    "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-lmlqdmo5n6vbqpdkdyaa",
    "review_task_id": "R871J1pwS2SSeqEYFanTMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8de00adf6413b6ae43309e298cab3e21e47cb9a4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078954/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T18:57:14.184311Z"
}