List and retrieve diffs with detailed revision information

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

{
    "id": 1098087,
    "revision": {
        "id": 496263,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a771b9ac457c540fe20f11cc8f4633d89eaa6fa6",
        "head_changeset": "810c1ffb6d4b150e3721a4991b3b8212273160b8",
        "phabricator_id": 257484,
        "phabricator_phid": "PHID-DREV-xdbxhkldwpyzgwfzv7j2",
        "title": "WIP: Bug 1970638 p6: Remove allowance for Kingsoft DLL to open KnownDlls.",
        "bugzilla_id": 1970638,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496263/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496263/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257484"
    },
    "phid": "PHID-DIFF-vgsrf4o7zrglztkfzs7w",
    "review_task_id": "ZMZsxa9lS4OvzD-P2oA9Gg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5b019db78d163c3f3b26d557a7e7ae6f0677cdf1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098087/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T13:22:12.331941Z"
}