get-setting-value
Retrieve the effective value and evaluation rules of a feature flag or setting for a specified environment, including targeting and percentage rules.
Instructions
This endpoint returns the value of a Feature Flag or Setting
in a specified Environment identified by the environmentId parameter.
The most important attributes in the response are the value, rolloutRules and percentageRules.
The value represents what the clients will get when the evaluation requests of our SDKs
are not matching to any of the defined Targeting or Percentage Rules, or when there are no additional rules to evaluate.
The rolloutRules and percentageRules attributes are representing the current
Targeting and Percentage Rules 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settingId | Yes | The id of the Setting. | |
| environmentId | Yes | The identifier of the Environment. |