List and retrieve diffs with detailed revision information

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

{
    "id": 1065528,
    "revision": {
        "id": 481859,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d2fc6e0a8882342f601e902f325009cf3bde7b0f",
        "head_changeset": "34e3fafc6664d15280464c167527ab507fb6ecb8",
        "phabricator_id": 254292,
        "phabricator_phid": "PHID-DREV-zj3fk2czrh33jomtlayi",
        "title": "Bug 1971048 - Add subheader to account-hub-header. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1971048,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481859/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481859/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254292"
    },
    "phid": "PHID-DIFF-tslwnarron2ocflj2ton",
    "review_task_id": "XObFi9B4TXi7pt_f613eUA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "34e3fafc6664d15280464c167527ab507fb6ecb8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065528/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T20:43:38.573692Z"
}