Get all flags (SDK)
Returns the SDK configuration for all feature flags that are available to the provided API key. Used by SDKs to configure local evaluation
Response
clientFeaturesSchema
Example response
{
"version": 2,
"features": [
{
"name": "new.payment.flow.stripe",
"type": "release",
"description": "No variants here",
"enabled": true,
"project": "new.payment.flow",
"strategies": [
{
"id": "6b5157cb-343a-41e7-bfa3-7b4ec3044840",
"name": "flexibleRollout",
"title": "Gradual Rollout 25-Prod",
"featureName": "myAwesomeFeature",
"sortOrder": 9999,
"segments": [
1,
2
],
"constraints": [
{
"contextName": "appName",
"operator": "IN",
"values": [
"my-app",
"my-other-app"
],
"value": "my-app"
}
],
"variants": [
{
"name": "blue_group",
"weightType": "fix",
"stickiness": "custom.context.field",
"payload": {
"type": "json",
"value": "{\"color\": \"red\"}"
}
}
]
}
],
"variants": [
{
"name": "blue_group",
"weightType": "variable",
"stickiness": "custom.context.field",
"payload": {
"type": "json",
"value": "{\"color\": \"red\"}"
},
"overrides": [
{
"contextName": "userId",
"values": [
"red",
"blue"
]
}
]
}
],
"dependencies": [
{
"feature": "parent_feature",
"variants": [
"variantA",
"variantB"
]
}
]
}
],
"segments": [
{
"name": "segment A",
"constraints": [
{
"contextName": "appName",
"operator": "IN",
"values": [
"my-app",
"my-other-app"
],
"value": "my-app"
}
]
}
],
"query": {
"tag": [
[
"simple:payment",
"simple:stripejourney"
]
],
"project": [
"new.payment.flow"
],
"namePrefix": "payment",
"inlineSegmentConstraints": true
}
}Changes
Changed in 2 of the 7 revisions of this API.6
- ●
added the new
SEMVER_GTEenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
SEMVER_GTEenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
added the new
SEMVER_LTEenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
SEMVER_LTEenum value to the////response property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
REGEXenum value to the//////response property for the response statusresponse-property-enum-value-added
- ●
added the new
REGEXenum value to the////response property for the response statusresponse-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●