Ga naar inhoud

API-referentie

API-referentie

De qr3.app REST-API is bereikbaar via https://qr3.app/v1/ en volgt consistent de conventies uit het API-overzicht (authenticatie via Authorization: Bearer, fouten volgens RFC 7807, cursor-paginering).

Aan de slag

Resource-secties

DPP-specifieke endpoints

Alle Digital-Product-Passport-endpoints zijn gedocumenteerd in de eigen sectie Digital Product Passport — inclusief schema-referenties voor batterijen en textiel, EU-compliance-validator en de openbare GS1-resolver.

Basis-URL’s per omgeving

OmgevingBasis-URLDoel
Productionhttps://qr3.app/v1/Openbare live-API
Stagehttps://qr3-api-stage.<account>.workers.dev/v1/Pre-production pilot (zie ENVIRONMENTS.md)
Lokaalhttp://localhost:8787/v1/pnpm --filter api dev

De OpenAPI-specificatie is te vinden op https://qr3.app/v1/openapi.json und wird bei jedem Deploy automatisch aktualisiert.