List and retrieve diffs with detailed revision information

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

{
    "id": 1077889,
    "revision": {
        "id": 490544,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5731cacd23d21414c8582182a2e007a6f4b7c1c0",
        "head_changeset": "7cd55c32671475baf47d45190fd19673a9b77097",
        "phabricator_id": 256079,
        "phabricator_phid": "PHID-DREV-dibbuiu36wuzgjhl746s",
        "title": "Bug 1975656 - Update WebGPU CTS to 393b92882f3769cbcd8561dfbb4d3ff528a69afa",
        "bugzilla_id": 1975656,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490544/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490544/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256079"
    },
    "phid": "PHID-DIFF-k62rke5ted2bcbmtb6iu",
    "review_task_id": "L24ullCKQd-bljXzEF_JbQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7cd55c32671475baf47d45190fd19673a9b77097",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077889/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T06:51:04.454384Z"
}