List and retrieve diffs with detailed revision information

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

{
    "id": 1048991,
    "revision": {
        "id": 463940,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d4371465982dfa17147909c585a516b7389e0751",
        "head_changeset": "852da7fa3ab6f1cc45bd9a7a2332b2b71a6d3afe",
        "phabricator_id": 240284,
        "phabricator_phid": "PHID-DREV-m4nej4ldllodxjy27dl4",
        "title": "WIP: Bug 1944507 - pt 8. Move extent structures to extent.h",
        "bugzilla_id": 1944507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/463940/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/463940/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D240284"
    },
    "phid": "PHID-DIFF-5mmpgo4g2mexkrcc5c3r",
    "review_task_id": "Mm1dmzFhQRubv_JWeeSDYQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5db38fccef92bef4ab118a3966b899638623a9c1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048991/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T06:26:13.919703Z"
}