List and retrieve diffs with detailed revision information

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

{
    "id": 1066882,
    "revision": {
        "id": 483485,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d8e514f48d4498a59b02799530fb67b4a2b87ead",
        "head_changeset": "a57cefd2a9aabe60a3a24c79a64b563bc987bf79",
        "phabricator_id": 254560,
        "phabricator_phid": "PHID-DREV-pmutfm24bu5qggzvrcdq",
        "title": "Bug 1970719 - Part 5: Refactor previews",
        "bugzilla_id": 1970719,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483485/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483485/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254560"
    },
    "phid": "PHID-DIFF-qrp33uuqcis3hzqgoegk",
    "review_task_id": "SVKDuXCHTD-swhJ1CKrl1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a57cefd2a9aabe60a3a24c79a64b563bc987bf79",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066882/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T23:11:27.905496Z"
}