Back to Developer Guide

Interactive API Reference

Last updated

OpenAPI 3.1.0 specification of the hub's own API: 129 of the 131 operations the code implements are documented so far. The PR Gate fails on a new route that is not in the spec, and the backlog only shrinks. Behind it: DSP 2025-1 and DCP v1.0 on Eclipse EDC 1.0, FHIR R4, OMOP CDM v5.4 and HealthDCAT-AP Release 8. Try it out calls the hub this page is served from.

Sign in first, then try a request

This static site has no API routes: the explorer shows the reference, and a request needs a running hub.

Every route needs a session, except the health probe, the sign-in flows and the Klarbefund app's own account creation (ADR-044, ADR-054). Sign in in this browser: the explorer then sends your session cookie with each request. There is no key to paste and nothing to enter under Authorize.

Start as edcadmin: the operator may call most operations. A few answer only their own role, the access body's decisions and a patient's phone and wallet among them. There the operator gets a 403, and the table says who to sign in as instead.

Sign in asRoleOpens
edcadminEDC_ADMINStart here. Admin, Participants, Assets, Catalog, Negotiations, Transfers, Trust Center, and every read but a patient's phone and wallet.
regulator, regulator-esHDAB_AUTHORITYAccess Body: stop the clock, issue and revoke a permit, open and close a finding, ask for information. Admin: the audit trail, its retention, the policies, the secure processing environments.
researcherDATA_USERAccess Body: file an application or a data request, publish results. Negotiations, Transfers, Analytics and NLQ as a data user sees them: pseudonyms, and nobody who opted out.
clinicuser, lmcuserDATA_HOLDERCatalog: publish and withdraw a dataset. Access Body: decide a data request.
patient1, patient2PATIENTPatient: the own record and no other, the opt-out, a consent per programme, the app pairing, the wallet link.
edcadminTRUST_CENTER_OPERATORTrust Center. No demo user holds this role: sign in as edcadmin, who may read it.

On the demo realm each demo user's password is its user name. Without a session a route answers 401, with the wrong role 403, both with an error message in the body.

Loading Swagger UI and the specification /MinimumViableHealthDataspacev2/openapi.yaml