List and retrieve diffs with detailed revision information

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

{
    "id": 1062330,
    "revision": {
        "id": 475170,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8b5bd772178de6017ae539ae76f5f54c7143a91f",
        "head_changeset": "9ecfbf5b6c5596826ee800780dbf3a076102a721",
        "phabricator_id": 249490,
        "phabricator_phid": "PHID-DREV-my4we6w22pkrolqhkmpp",
        "title": "WIP: Bug 1961272 - Implement SERP telemetry for the DDG Shopping tab. r?jteow!",
        "bugzilla_id": 1961272,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475170/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475170/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249490"
    },
    "phid": "PHID-DIFF-sytyivehclzerhamgoeu",
    "review_task_id": "TK0PWidrRTSE3IsvIrhEuw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "682d88abaefbd9fa29a6385158fdc1356173ed0e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1062330/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T21:51:51.053162Z"
}