Retrieve variants for a feature (deprecated)
GET/api/admin/projects/:projectId/features/:featureName/variants
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
(deprecated from 4.21) Retrieve the variants for the specified feature. From Unleash 4.21 onwards, this endpoint will attempt to choose a production-type environment as the source of truth. If more than one production environment is found, the first one will be used.
Request
Responses
- 200
- 401
- 403
- 404
featureVariantsSchema
Authorization information is missing or invalid. Provide a valid API token as the authorization
header, e.g. authorization:*.*.my-admin-token
.
The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation
The requested resource was not found.