Returns feature toggles

POST /featureToggles

Returns feature toggles

Body Required

User name (email) of the user to authorize

string string

Minimum length is 4, maximum length is 30. Format should match the following pattern: ^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$.

Responses

  • Successful response

    Hide response attributes Show response attributes object
  • Unauthorized

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • Forbidden

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • Forbidden

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • Not found

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • Not acceptable

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

  • Too many requests

    Minimum length is 3, maximum length is 30. Format should match the following pattern: ^[A-Za-z0-9.!\s]{3,30}$.

POST /featureToggles
curl \
 -X POST https://RANDOM.execute-api.REGION.amazonaws.com/shared/featureToggles \
 -H "Content-Type: application/json" \
 -d '"string"'
Request example
"string"
Request examples
string
Response examples (200)
{
  "enableBetaFeatures": true,
  "userGroup": "string"
}
Response examples (200)
{
  "enableBetaFeatures": true,
  "userGroup": "string"
}
Response examples (401)
"Unauthorized"
Response examples (401)
Unauthorized
Response examples (default)
"Forbidden"
Response examples (default)
Forbidden
Response examples (403)
"Forbidden"
Response examples (403)
Forbidden
Response examples (404)
"Not found"
Response examples (404)
Not found
Response examples (406)
"Not acceptable"
Response examples (406)
Not acceptable
Response examples (429)
"Too many requests"
Response examples (429)
Too many requests