List and retrieve diffs with detailed revision information

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

{
    "id": 1101195,
    "revision": {
        "id": 506304,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fbf32fb7861d75ca9d6a264e54b69b4a51698a24",
        "head_changeset": "b7074a2997d23f057f7759de5ee6041af5115764",
        "phabricator_id": 259895,
        "phabricator_phid": "PHID-DREV-lku6dtade7cgk574ttvp",
        "title": "Bug 1981032 - Change IP Protection toolbar icon based on IPProtectionService events - r=#ip-protection-reviewers",
        "bugzilla_id": 1981032,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506304/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506304/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259895"
    },
    "phid": "PHID-DIFF-jt7op7ci2tpc54vg7bdt",
    "review_task_id": "Zkes91QOQFadgWFDSO1a6A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "15504397f01de18bf5cfaecc07ae73b4e4d698e9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101195/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T18:39:31.993449Z"
}