List and retrieve diffs with detailed revision information

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

{
    "id": 1109059,
    "revision": {
        "id": 516528,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "81aefd6da4c24e53bc2495fce4e5cd8613c0a447",
        "head_changeset": "9d7cffcf74c7a427b5ab880ccc76258de051d7f3",
        "phabricator_id": 261681,
        "phabricator_phid": "PHID-DREV-fexq4mc67rkquy2gykmk",
        "title": "Bug 1979411 - Dispatch errors from IPProtectionService. r=#ip-protection-reviewers!",
        "bugzilla_id": 1979411,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516528/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516528/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261681"
    },
    "phid": "PHID-DIFF-ggwz536bjpurnfwtf73r",
    "review_task_id": "I3W4YRWZS2CNpcllt61ZZA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9d7cffcf74c7a427b5ab880ccc76258de051d7f3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109059/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T23:31:36.097674Z"
}