Last updated 4 months ago
Retrieve an authentication token to be used for API communication.
/v1/auth/token
curl -L \ --request POST \ --url '/v1/auth/token' \ --header 'Authorization: Bearer JWT' \ --header 'clientId: text' \ --header 'clientSecret: text'
{ "bearerToken": "jwtToken" }
Check the health of the system
/v1/system/health
Bearer token to be passed for Authorization. Can be retrieved from v1/auth/token
Identifier for the environment that this request should interact with
curl -L \ --url '/v1/system/health' \ --header 'Authorization: text' \ --header 'x-mythical-environment-id: 123e4567-e89b-12d3-a456-426614174000'
{ "redisServices": "Healthy", "databaseServices": "Healthy" }