getClientFeature
getClientFeature
Path Parameters
- featureName string required
- 200
clientFeaturesSchema
- application/json
- Schema
- Example (from schema)
Schema
- version number
features object[]
Array [name stringtype stringdescription string nullablecreatedAt date-time nullablelastSeenAt date-time nullableenabled booleanstale booleanimpressionData boolean nullableproject stringstrategies object[]
Array [id stringname stringfeatureName stringsortOrder numbersegments number[]constraints object[]
Array [contextName stringThe name of the context field that this constraint should apply to.
operator stringPossible values: [
NOT_IN
,IN
,STR_ENDS_WITH
,STR_STARTS_WITH
,STR_CONTAINS
,NUM_EQ
,NUM_GT
,NUM_GTE
,NUM_LT
,NUM_LTE
,DATE_AFTER
,DATE_BEFORE
,SEMVER_EQ
,SEMVER_GT
,SEMVER_LT
]The operator to use when evaluating this constraint. For more information about the various operators, refer to the strategy constraint operator documentation.
caseInsensitive booleanDefault value:
false
Whether the operator should be case sensitive or not. Defaults to
false
(being case sensitive).inverted booleanDefault value:
false
Whether the result should be negated or not. If
true
, will turn atrue
result into afalse
result and vice versa.values string[]The context values that should be used for constraint evaluation. Use this property instead of
value
for properties that accept multiple values.value stringThe context value that should be used for constraint evaluation. Use this property instead of
values
for properties that only accept single values.]parameters object
property name*
string]variants object[] nullable
Array [name stringweight numberweightType stringstickiness stringpayload object
type stringvalue stringoverrides object[]
Array [contextName stringvalues string[]]]]segments object[]
Array [id numbername stringdescription string nullableconstraints object[]
Array [contextName stringThe name of the context field that this constraint should apply to.
operator stringPossible values: [
NOT_IN
,IN
,STR_ENDS_WITH
,STR_STARTS_WITH
,STR_CONTAINS
,NUM_EQ
,NUM_GT
,NUM_GTE
,NUM_LT
,NUM_LTE
,DATE_AFTER
,DATE_BEFORE
,SEMVER_EQ
,SEMVER_GT
,SEMVER_LT
]The operator to use when evaluating this constraint. For more information about the various operators, refer to the strategy constraint operator documentation.
caseInsensitive booleanDefault value:
false
Whether the operator should be case sensitive or not. Defaults to
false
(being case sensitive).inverted booleanDefault value:
false
Whether the result should be negated or not. If
true
, will turn atrue
result into afalse
result and vice versa.values string[]The context values that should be used for constraint evaluation. Use this property instead of
value
for properties that accept multiple values.value stringThe context value that should be used for constraint evaluation. Use this property instead of
values
for properties that only accept single values.]]query object
tag array[]project string[]namePrefix stringenvironment stringinlineSegmentConstraints boolean
{
"version": 0,
"features": [
{
"name": "string",
"type": "string",
"description": "string",
"createdAt": "2023-03-21",
"lastSeenAt": "2023-03-21",
"enabled": true,
"stale": true,
"impressionData": true,
"project": "string",
"strategies": [
{
"id": "string",
"name": "string",
"featureName": "string",
"sortOrder": 0,
"segments": [
0
],
"constraints": [
{
"contextName": "appName",
"operator": "NOT_IN",
"caseInsensitive": false,
"inverted": false,
"values": [
"string"
],
"value": "string"
}
],
"parameters": {}
}
],
"variants": [
{
"name": "string",
"weight": 0,
"weightType": "string",
"stickiness": "string",
"payload": {
"type": "string",
"value": "string"
},
"overrides": [
{
"contextName": "string",
"values": [
"string"
]
}
]
}
]
}
],
"segments": [
{
"id": 0,
"name": "string",
"description": "string",
"constraints": [
{
"contextName": "appName",
"operator": "NOT_IN",
"caseInsensitive": false,
"inverted": false,
"values": [
"string"
],
"value": "string"
}
]
}
],
"query": {
"tag": [
[
"string"
]
],
"project": [
"string"
],
"namePrefix": "string",
"environment": "string",
"inlineSegmentConstraints": true
}
}