List and retrieve diffs with detailed revision information

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

{
    "id": 1066864,
    "revision": {
        "id": 483481,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "93db82e44f594227108f3cb8f7cb31cdeed33d87",
        "head_changeset": "402b4980070ed837e58f2efec1327c6462614476",
        "phabricator_id": 254556,
        "phabricator_phid": "PHID-DREV-taeui56rxdfcchbvokcg",
        "title": "Bug 1912371 - Set `mIsSticky` outside of `if (!ValueMatches())` block in SetDefaultValue. r?nika",
        "bugzilla_id": 1912371,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483481/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483481/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254556"
    },
    "phid": "PHID-DIFF-432y6crzyltfepppgeol",
    "review_task_id": "ZhtBG4gLQ5Wqh6hUJzCjsQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "402b4980070ed837e58f2efec1327c6462614476",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066864/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T21:57:03.900516Z"
}