List and retrieve diffs with detailed revision information

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

{
    "id": 1076069,
    "revision": {
        "id": 489034,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1d8a123ed4864c361e3f0a8f2f29a202fa735fb3",
        "head_changeset": "f0e9470b7543db9fc902b9579cac648904bb21e6",
        "phabricator_id": 255661,
        "phabricator_phid": "PHID-DREV-fthm2vxkbfnbpj7rdtcv",
        "title": "Bug 1974981 - Navigation API: Keep promises in API method tracker after populating the result. r=farre!",
        "bugzilla_id": 1974981,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489034/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489034/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255661"
    },
    "phid": "PHID-DIFF-usckk7ux5pvyzddsw2ap",
    "review_task_id": "STiWRHqMRrW-GhQ4BNF9FA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f0e9470b7543db9fc902b9579cac648904bb21e6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076069/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T15:18:32.280796Z"
}