List and retrieve diffs with detailed revision information

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

{
    "id": 1056105,
    "revision": {
        "id": 476348,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "100b14c96baf64160f651a6486783c640a7af83d",
        "head_changeset": "9d65a6cd3e60f0d117a5d3c50d5fd53be075462a",
        "phabricator_id": 251204,
        "phabricator_phid": "PHID-DREV-evztkkgk4ror6c4k4qqh",
        "title": "Bug 1968579 - this._nimbusVariables null for Thunderbird after bug 1966050. r=mviar",
        "bugzilla_id": 1968579,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476348/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476348/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251204"
    },
    "phid": "PHID-DIFF-s4w5d363qz7quzu4qidx",
    "review_task_id": "RF9goHwQRMaqF-U4BokLDQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3a48803e3ba6ad1cff35043580d389e61ea9858c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056105/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T17:47:55.873619Z"
}