List and retrieve diffs with detailed revision information

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

{
    "id": 1046835,
    "revision": {
        "id": 474567,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4a81ddc1f1637cfd1db0dd53f1649bffbfcf0f39",
        "head_changeset": "549eca7a668ac5d4182560a479cdb9e9cbf52066",
        "phabricator_id": 248566,
        "phabricator_phid": "PHID-DREV-jzzgp4mgahuted32za7g",
        "title": "Bug 1965186 - End the wheel transaction for APZ in ChromeUtils::EndWheelTransaction as well as the transaction on the main-thread. r?#ipc-reviewers!,whimboo!,botond!",
        "bugzilla_id": 1965186,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474567/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474567/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248566"
    },
    "phid": "PHID-DIFF-krp3s6ry7ydu5yvr6knz",
    "review_task_id": "Oz9-X9WrTgGuoHePmigp1g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5c4fafcdeb1bd866f0cdca3349e2bb42661c3fac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1046835/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T00:10:28.122918Z"
}