List and retrieve diffs with detailed revision information

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

{
    "id": 1112896,
    "revision": {
        "id": 521406,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "200025086246192b69565ed0e0a94725075e513e",
        "head_changeset": "ada1789541ad18e3112975d9a3c6fed30ac17fa2",
        "phabricator_id": 262681,
        "phabricator_phid": "PHID-DREV-s6qcfijed5pd6gkwdhci",
        "title": "Bug 1985377 - Disable/hidefor unsupported account settings for EWS. r=#thunderbird-reviewers",
        "bugzilla_id": 1985377,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521406/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521406/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262681"
    },
    "phid": "PHID-DIFF-zjujkesaoar2vgzqfskb",
    "review_task_id": "SSomSoYmSTe5Wuf2NUt-Fw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e9ef79255cca33f8fa71baaa1870bab98dcc8273",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112896/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T15:06:40.703535Z"
}