Get variants for a feature in an environment

Returns the variants for a feature in a specific environment. If the feature has no variants it will return an empty array of variants

Authentication

Authorizationstring
API key needed to access this API
OR
AuthorizationBearer
API key needed to access this API, in Bearer token format

Path parameters

projectIdstringRequired
featureNamestringRequired
environmentstringRequired

Response

featureVariantsSchema
versioninteger
The version of the feature variants schema.
variantslist of objects
All variants defined for a specific feature flag.

Errors