Authentication API
6 endpoints
Authentication and authorization.
Logout (clears bearerToken for future API calls).
Logout (clears bearerToken for future API calls).
Endpoint
/admin/auth/requestJWTResponses
200
Success400
Bad request401
Unauthorized404
Not foundGets current account information for the logged in user.
Gets current account information for the logged in user.
Endpoint
/public/auth/accountResponses
200
Success{
"schema": "AccountInfoResponse"
}400
Bad request401
Unauthorized404
Not foundEndpoint
/public/auth/loginResponses
200
Success{
"schema": "LoginResponse"
}400
Bad request401
Unauthorized404
Not foundRequests an admin JWT for the current user and a specific collection Returns JWT if valid.
Requests an admin JWT for the current user and a specific collection Returns JWT if valid.
Endpoint
/public/auth/registerParameters
bodybody
UserAccountRegistrationRequest
Required
See UserAccountRegistrationRequest schema
Responses
200
Success{
"schema": "LoginResponse"
}400
Bad request401
Unauthorized404
Not foundRequests an admin JWT for the current user and a specific collection Returns JWT if valid.
Requests an admin JWT for the current user and a specific collection Returns JWT if valid.
Endpoint
/public/auth/requestJWTResponses
200
Success400
Bad request401
Unauthorized404
Not foundEndpoint
/public/auth/verifyResponses
200
Success{
"schema": "VerifyTokenResponse"
}400
Bad request401
Unauthorized404
Not found