List and retrieve diffs with detailed revision information

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

{
    "id": 1064872,
    "revision": {
        "id": 477830,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ea78fd98ff97b95ba471b595af6f55819089fe7",
        "head_changeset": "164494fa444bd694f6ed46af72168d1b56b87fc1",
        "phabricator_id": 252985,
        "phabricator_phid": "PHID-DREV-gik76wkokpms54uhevbn",
        "title": "Bug 1960300 - Part 5. Vendor ICU4X 2.0. r=#supply-chain-reviewers!,#platform-i18n-reviewers!",
        "bugzilla_id": 1960300,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477830/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477830/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252985"
    },
    "phid": "PHID-DIFF-uf5436vk2j3trsd6cffy",
    "review_task_id": "LbApgNiHRfCXffRHl0-RmQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8aeaaca7a807525fc93e34ac127176672f6064a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064872/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T10:07:52.282882Z"
}