List and retrieve diffs with detailed revision information

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

{
    "id": 1048128,
    "revision": {
        "id": 476398,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "318d2d1029ce41a0c3f3c722b30a2abd8389f90c",
        "head_changeset": "1cdbf8a2b035e897fc825d323993d8a6405dd0a6",
        "phabricator_id": 251255,
        "phabricator_phid": "PHID-DREV-pxo6mbx6nas5525i736x",
        "title": "Bug 1881702 - Use import.meta.dirname for the current dirname for the top-level eslint,config.mjs, now that node has been upgraded. r?#frontend-codestyle-reviewers!",
        "bugzilla_id": 1881702,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476398/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476398/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251255"
    },
    "phid": "PHID-DIFF-guvezxrutqqcpy7hm4zh",
    "review_task_id": "UZ_lzeU1Qp2sTO6JrIwZ-g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d1aed070e73229051d158bb1fad2e5d1dcec3153",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048128/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T11:58:38.955617Z"
}