List and retrieve diffs with detailed revision information

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

{
    "id": 1056753,
    "revision": {
        "id": 478034,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6ff447fe04d291f2c02561e62b96e651cbbbea4b",
        "head_changeset": "baf5f370b299a2882b9b461fd67972b4dded9a36",
        "phabricator_id": 253205,
        "phabricator_phid": "PHID-DREV-hgwtoxlqon3jtnrk6fot",
        "title": "Bug 1965515 - Part 6: Update file item description for streaming download",
        "bugzilla_id": 1965515,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478034/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478034/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253205"
    },
    "phid": "PHID-DIFF-puidjrh5mtnznrkukjco",
    "review_task_id": "GdTaUBC4S7qgoqQR9Tauaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "328649e58d0b2ba5c620e03373b277b2f55c8e23",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056753/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T15:16:06.036292Z"
}