List and retrieve diffs with detailed revision information

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

{
    "id": 1048601,
    "revision": {
        "id": 461640,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "31456e239fc2aa8962406e86f5a295bc42ce466f",
        "phabricator_id": 239951,
        "phabricator_phid": "PHID-DREV-fcb33wtktot5563vddfr",
        "title": "WIP: Bug 1927886: Do duplicate id checking and DataChannel creation on main here.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/461640/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/461640/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D239951"
    },
    "phid": "PHID-DIFF-o6iuexdt7j2ncafzrlia",
    "review_task_id": "SCyAxl6WQVGK-v7FHJsURQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0d1e993c7a5419d2bd00044ee1466b698a30a7d4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048601/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T18:57:01.134138Z"
}