List and retrieve diffs with detailed revision information

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

{
    "id": 1059522,
    "revision": {
        "id": 479955,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "80a930d914b33d18842e8af76103e6dc1ffc4031",
        "head_changeset": "94a157bd01a8210926d77cbf9964c22ba05b8c3c",
        "phabricator_id": 253865,
        "phabricator_phid": "PHID-DREV-oqzweizafdd4giwwsqry",
        "title": "Bug 1710645: Fix atomics test with incorrect semantics. r=rhunt",
        "bugzilla_id": 1710645,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479955/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479955/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253865"
    },
    "phid": "PHID-DIFF-upgqcp4odw3wgb4drehp",
    "review_task_id": "LCfws_8aQ-axpgCw_yGw-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "94a157bd01a8210926d77cbf9964c22ba05b8c3c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059522/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T18:13:01.744676Z"
}