Strategies
[BETA] Get strategies that use a context field
Changed on[BETA] This API is in beta state, which means it may change or be removed in the future.
Retrieves a list of all strategies that use the specified context field. If the context field doesn't exist, returns an empty list of strategies
get/api/admin/projects/{projectId}/context/{contextField}/strategies
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/projects/{projectId}/context/{contextField}/strategies
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
projectIdstring required
contextFieldstring required
Response
contextFieldStrategiesSchema
Example response
{
"strategies": [
{
"id": "433ae8d9-dd69-4ad0-bc46-414aedbe9c55",
"featureName": "best-feature"
}
]
}Changes
- info
endpoint added
- info