List and retrieve diffs with detailed revision information

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

{
    "id": 1095252,
    "revision": {
        "id": 497034,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191453bc93922acd8fea9c375b16cc7248fd3765",
        "head_changeset": "54d6ccc70ffc14f5f9147e641da35a0eb8d5f695",
        "phabricator_id": 257692,
        "phabricator_phid": "PHID-DREV-442x2vknvx65dhqhcugh",
        "title": "WIP: Bug 1976396 - Remove nsIMsgMailNewsUrl in some PGP / S/MIME code.",
        "bugzilla_id": 1976396,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497034/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497034/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257692"
    },
    "phid": "PHID-DIFF-mn4rv7cmzlm43pwexbco",
    "review_task_id": "EcdT5QvNSLes5rDiRVJRUg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "fa41e70dba1f7e66d0480349bbfc11d015aa7c34",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095252/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T15:45:38.825032Z"
}