List and retrieve diffs with detailed revision information

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

{
    "id": 1107901,
    "revision": {
        "id": 515492,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "5cc2455d681616a37843b4678a9b136f3c4da354",
        "phabricator_id": 261596,
        "phabricator_phid": "PHID-DREV-goq3oocvfkofdm2ubcyi",
        "title": "WIP: Bug 1983365 - Part 2: Add `TabItem` composable to be used with Synced Tabs, Inactive Tabs, and Search",
        "bugzilla_id": 1983365,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515492/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515492/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261596"
    },
    "phid": "PHID-DIFF-mqrlpnwzzwgmj3wgkf3x",
    "review_task_id": "c9XLcJlSRqa6qO66TR00zw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5cc2455d681616a37843b4678a9b136f3c4da354",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107901/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T15:51:23.482205Z"
}