List and retrieve diffs with detailed revision information

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

{
    "id": 1075288,
    "revision": {
        "id": 486950,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77cdea914d67530530978c6de15891fc8577ffbc",
        "head_changeset": "93e3d58a4d7d2d084b11b81fcfdafb653d17876f",
        "phabricator_id": 254844,
        "phabricator_phid": "PHID-DREV-hc4nuccoozjwyuat5ke3",
        "title": "WIP: Bug 1971158 - Allow compiling llama.cpp without dynamic_cast and exceptions with this one weird trick.",
        "bugzilla_id": 1971158,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486950/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486950/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254844"
    },
    "phid": "PHID-DIFF-4rbzhbzjvay3pzeohazw",
    "review_task_id": "IX4I2qULROaTYhRVW_Dwgw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e0dfb566e937a47b88b002afdc1ca3192da2799c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075288/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T16:38:28.086835Z"
}