List and retrieve diffs with detailed revision information

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

{
    "id": 1066852,
    "revision": {
        "id": 477492,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5da036f8673aa39dfbd277eb39f58f8ffe7cc861",
        "head_changeset": "74015421b10cc4be03038a0c3cd1372538185224",
        "phabricator_id": 252580,
        "phabricator_phid": "PHID-DREV-hi4j25bbkjl5la7uii2x",
        "title": "Bug 1965528 - Implement tab functionality in profile-avatar-selector r=#profiles-reviewers",
        "bugzilla_id": 1965528,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477492/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477492/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252580"
    },
    "phid": "PHID-DIFF-cq5fsumlam6yxpqcmjfy",
    "review_task_id": "eht52RxKSYmyGHEf6rjJyQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9a8620dfe931be27df7bf20e3774f745b9d0228",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066852/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T21:38:59.591794Z"
}