get-setting-values-v2
Retrieve all feature flag and setting values for a Config in a specific Environment, including default values and ordered targeting rules for evaluation.
Instructions
This endpoint returns all Feature Flag and Setting values of a Config identified by the configId parameter
in a specified Environment identified by the environmentId parameter.
The most important fields in the response are the defaultValue, targetingRules.
The defaultValue represents what the clients will get when the evaluation requests of our SDKs
are not matching to any of the defined Targeting Rules, or when there are no additional rules to evaluate.
The targetingRules represents the current
Targeting Rule configuration of the actual Feature Flag or Setting
in an ordered collection, which means the order of the returned rules is matching to the
evaluation order. You can read more about these rules here.
The percentageEvaluationAttribute represents the custom User Object attribute that must be used for percentage evaluation of the Feature Flag or Setting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configId | Yes | The identifier of the Config. | |
| environmentId | Yes | The identifier of the Environment. |