List and retrieve diffs with detailed revision information

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

{
    "id": 1049061,
    "revision": {
        "id": 476738,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "287b6ec5a74a38cdd37f8ddda4334a3f0188bade",
        "head_changeset": "4ce3ca458902c80d9e84b0e7d54f13ddd662ea5a",
        "phabricator_id": 251685,
        "phabricator_phid": "PHID-DREV-fxk6jdy4d3bsz2xbmnqx",
        "title": "Bug 1969208 - Add triple buffer support to DCSwapChain",
        "bugzilla_id": 1969208,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476738/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476738/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251685"
    },
    "phid": "PHID-DIFF-yb355zavbonaeghnue32",
    "review_task_id": "EIvNhnq2QbW2nb7XWexvnA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4ce3ca458902c80d9e84b0e7d54f13ddd662ea5a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049061/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T08:04:58.587534Z"
}