CatenaApiKeys
Enum Value | Description |
---|---|
0 | Unspecified |
1 | Unsafe |
2 | DiscordWeb |
3 | GoogleWeb |
4 | AppleWeb |
5 | TwitchWeb |
6 | SteamWeb |
7 | ItchWeb |
8 | AmazonWeb |
9 | EpicWeb |
On the right hand side of this page, you will see a list of "Servers".
To configure which server is shown in example requests:
domain
environment variable.Accepted auth providers. Prefer integer values in JSON-encoded requests to avoid generic parse errors due to typos.
Enum Value | Description |
---|---|
0 | Unspecified |
1 | Unsafe |
2 | DiscordWeb |
3 | GoogleWeb |
4 | AppleWeb |
5 | TwitchWeb |
6 | SteamWeb |
7 | ItchWeb |
8 | AmazonWeb |
9 | EpicWeb |
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/authentication/login \
-H 'Content-Type: application/json' \
-d '{
"provider": 1,
"payload": "test01"
}'
{ "redirectUri": "string" }
curl -i -X GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/authentication/providers
{ "enabledProviders": [ "PROVIDER_UNSPECIFIED" ] }
Accepted auth providers. Prefer integer values in JSON-encoded requests to avoid generic parse errors due to typos.
Enum Value | Description |
---|---|
0 | Unspecified |
1 | Unsafe |
2 | DiscordWeb |
3 | GoogleWeb |
4 | AppleWeb |
5 | TwitchWeb |
6 | SteamWeb |
7 | ItchWeb |
8 | AmazonWeb |
9 | EpicWeb |
curl -i -X PATCH \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/authentication/providers/{provider}' \
-H 'Content-Type: application/json' \
-d '{
"provider": "PROVIDER_UNSPECIFIED",
"providerConfig": {
"providerClientId": "string",
"providerClientSecret": "string",
"providerRedirectUri": "string",
"providerIsEnabled": true
}
}'
{}
curl -i -X GET \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/authentication/providers/{provider}'
{ "provider": "PROVIDER_UNSPECIFIED", "providerConfig": { "providerClientId": "string", "providerClientSecret": "string", "providerRedirectUri": "string", "providerIsEnabled": true } }
Accepted auth providers. Prefer integer values in JSON-encoded requests to avoid generic parse errors due to typos.
Enum Value | Description |
---|---|
0 | Unspecified |
1 | Unsafe |
2 | DiscordWeb |
3 | GoogleWeb |
4 | AppleWeb |
5 | TwitchWeb |
6 | SteamWeb |
7 | ItchWeb |
8 | AmazonWeb |
9 | EpicWeb |
curl -i -X PUT \
'https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/admin/authentication/providers/{provider}/status' \
-H 'Content-Type: application/json' \
-d '{
"provider": "PROVIDER_UNSPECIFIED",
"isEnabled": true
}'
{}
curl -i -X GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/authentication/await
{ "successfulAuth": true, "message": "string" }
curl -i -X GET \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/authentication/healthz
{ "healthy": true, "components": [ { … } ] }
curl -i -X POST \
https://docs.catenatools.com/_mock/apis/catena-tools-core/api/v1/authentication/logout
{}