List and retrieve diffs with detailed revision information

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

{
    "id": 1097902,
    "revision": {
        "id": 472697,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96ff656ce280cab86866b9169bef9fe982964d91",
        "head_changeset": "8a0d3e9418f75f2cea48402b0e8a7f1bcc6ddae9",
        "phabricator_id": 245762,
        "phabricator_phid": "PHID-DREV-hjw7fbjgjcyhpc4yktzt",
        "title": "WIP: Bug 1960941 - Update m-c gradle files to optionally work with a local app-services. r=android-reviewers",
        "bugzilla_id": 1960941,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472697/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472697/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245762"
    },
    "phid": "PHID-DIFF-nrutc2a5ipiezs4jjr2p",
    "review_task_id": "elgy1Qc4Re-Jx7UMyPB33A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "40a0a4f1a61d6f596ddd524e06a6f4932d2ce65c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097902/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T02:05:41.629555Z"
}