Administrative REST routes require that you specify certain administration headers.
Each module exposes its administrative routes under
Conduit automatically generates OpenAPI schemas for all of your routes to be used by Swagger.
This means your REST API is fully documented and even available for interaction through Swagger UI.
You may always locate your Swagger UI pages and grab the exported JSON files through the Admin Panel.
The Database module accepts
GET requests to
That's how your end-user applications would query for custom (CMS) schema documents.
User authenticated routes additionally require an Authorization header containing a user authentication bearer token.
In fact, for anyone making use of Local Authentication (enabled by default), retrieving that very same user access token is also accomplished through an application request.
curl --location --request POST 'http://localhost:3000/authentication/local' \
--header 'masterkey: M4ST3RK3Y' \
--header 'Content-Type: application/json' \
"email": "[email protected]",