List and retrieve diffs with detailed revision information

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

{
    "id": 1049764,
    "revision": {
        "id": 476258,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85e18d43f8cf244339ef01198aa018f1746d2c77",
        "head_changeset": "2845b93a9e1e8b8070842c6abf027b00443b41f4",
        "phabricator_id": 251094,
        "phabricator_phid": "PHID-DREV-ypajvi2c5kb7mmzs5hag",
        "title": "Bug 1968383 - Add more Trusted Type tests for HTML/SVG script enforcements. r=smaug",
        "bugzilla_id": 1968383,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476258/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476258/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251094"
    },
    "phid": "PHID-DIFF-sixq5eh2kvkdp5sawaoz",
    "review_task_id": "MArg-RTRTE2ZOpaTEapCTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6ab3ca28937e45562749f3e62e3751c194c9bd25",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049764/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:17:22.380479Z"
}