This page is automatically generated from the OpenAPI specification.
AuthenticationApi
All URIs are relative to http://localhost:8000/v1
Method | HTTP request | Description |
---|---|---|
token_generate | POST /token/generate | Generate authentication token |
token_roles | GET /token/roles | Get token roles |
token_generate
TokenGenerateResponse token_generate()
Generate authentication token
Generates a new authentication token for accessing protected endpoints
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
token_roles
TokenRolesResponse token_roles()
Get token roles
Retrieve the list of roles for a specific token
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
This page is automatically generated from the OpenAPI specification.