List and retrieve diffs with detailed revision information

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

{
    "id": 1035408,
    "revision": {
        "id": 474403,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "18ff5bc77b84ceb8b4b98c73f1ba287aec9a31a5",
        "head_changeset": "583b565cc917c889e3c4f01cd43299a223b57c06",
        "phabricator_id": 243726,
        "phabricator_phid": "PHID-DREV-jlcjnbiqajwd5t37a3dn",
        "title": "WIP: Bug 1948979 - Add support for renaming EWS folders",
        "bugzilla_id": 1948979,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474403/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474403/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243726"
    },
    "phid": "PHID-DIFF-bigmk6pi6dpunhsdj3m2",
    "review_task_id": "YaVeQihLQMaIXH2AqnnEOA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "aa0f0834e47124ba1a2550bc6c23ad357690792d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035408/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:24:03.180744Z"
}