List and retrieve diffs with detailed revision information

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

{
    "id": 1053147,
    "revision": {
        "id": 477178,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "702169dea57fc7ca0cad8244e7cf7577072e85aa",
        "head_changeset": "dd300dd557c5cfd31a13c59f6b97783b479cf8ff",
        "phabricator_id": 252255,
        "phabricator_phid": "PHID-DREV-a6ea7w4v4pshduxex2vn",
        "title": "Bug 1969995 - Remove Pocket Webpack and Node configs",
        "bugzilla_id": 1969995,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477178/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477178/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252255"
    },
    "phid": "PHID-DIFF-yg7o6gtdsy4hrmaqlctq",
    "review_task_id": "GSa0f17bTYejCA2YphPxPQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4fe2936a38fd2a95794f39cecbf8ac6e5752da97",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T22:09:04.340031Z"
}