List and retrieve diffs with detailed revision information

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

{
    "id": 1066430,
    "revision": {
        "id": 481054,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "98de512583a991991f790455373e91461762ca50",
        "head_changeset": "15afc862430099e25032ee2291e67ec59b753f2d",
        "phabricator_id": 254129,
        "phabricator_phid": "PHID-DREV-ar35wcvmjkm3xbqqzzn7",
        "title": "Bug 1956141 - Auto-generate the view-transition-name when using match-element.",
        "bugzilla_id": 1956141,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481054/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481054/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254129"
    },
    "phid": "PHID-DIFF-gaiksrgnikf2cwskvr2b",
    "review_task_id": "cQaEjAOzT-iLWvs-8rkHCw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "aa908768a36d9c68f97371e77dfc63888abb16b7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066430/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T22:39:21.140317Z"
}