List and retrieve diffs with detailed revision information

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

{
    "id": 1099726,
    "revision": {
        "id": 500364,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8bee3d9d64c460091b953e9d97b14c3a82e81ab2",
        "head_changeset": "ff8665e1f04eecceadd504a9b99da7015b8afd01",
        "phabricator_id": 258505,
        "phabricator_phid": "PHID-DREV-ozpfqkdopwxfhlh62czf",
        "title": "WIP: Bug 1974338 - ensure saved tab groups are persisted after refreshing firefox. r?sthompson,jswinarton",
        "bugzilla_id": 1974338,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/500364/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/500364/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258505"
    },
    "phid": "PHID-DIFF-fregcrkifixqcyaza456",
    "review_task_id": "ZVdC5os6Qjm75790dXxKow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "871a261a1122e73b6c9811fcc638e9d91c5a2207",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099726/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T16:58:02.261417Z"
}