List and retrieve diffs with detailed revision information

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

{
    "id": 1071232,
    "revision": {
        "id": 471543,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "10f805c9853bc080ad07b94fb8d2a08dbea5d691",
        "head_changeset": "c8a36cd55215da7ab789bddc70e7589f1b817b43",
        "phabricator_id": 244369,
        "phabricator_phid": "PHID-DREV-drc5542hehudvatpwxqw",
        "title": "WIP: Bug 1958311 - trusted-types-navigation.html: Add tests for the case when the default policy throws. r=smaug",
        "bugzilla_id": 1958311,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471543/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471543/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244369"
    },
    "phid": "PHID-DIFF-e6dbivbhguk5hjuzeep4",
    "review_task_id": "anTymEzwQEGmhTiYV19QKg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d23f05eb1a8ab219c2adffe47976a96e42c52725",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071232/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T09:20:22.648281Z"
}