List and retrieve diffs with detailed revision information

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

{
    "id": 1071128,
    "revision": {
        "id": 477833,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ea78fd98ff97b95ba471b595af6f55819089fe7",
        "head_changeset": "dd419ae8d79247d825370b69b1c6103400415293",
        "phabricator_id": 252984,
        "phabricator_phid": "PHID-DREV-mwvkac4a4kwogzqrdw3f",
        "title": "Bug 1960300 - Part 4. Add a hack to use idna_adapter 1.2.1 with ICU4X 2.0. r=hsivonen!",
        "bugzilla_id": 1960300,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477833/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477833/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252984"
    },
    "phid": "PHID-DIFF-oyyou7urphi2vj2b3vax",
    "review_task_id": "Qak3C4z4TLir8uFcG67Gvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b689928afc9bf3cf1d48e6d3a090156e643cfbcd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071128/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T03:37:57.860760Z"
}