Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 33.9 KB

consolev1gatescontrollergenfullupdaterequest.md

File metadata and controls

10 lines (7 loc) · 33.9 KB

ConsoleV1GatesControllerGenFullUpdateRequest

Fields

Field Type Required Description Example
id string ✔️ id
xRespectReviewSettings string Optional header to respect review settings for mutation endpoints.
gateFullUpdateDto components.GateFullUpdateDto ✔️ N/A {
"isEnabled": false,
"description": "Updated Gate Description",
"rules": [
{
"name": "All Conditions",
"passPercentage": 10,
"conditions": [
{
"type": "user_id",
"targetValue": [
"111",
"222"
],
"operator": "any"
},
{
"type": "email",
"targetValue": [
"@outlook.com",
"@gmail.com"
],
"operator": "str_contains_any"
},
{
"type": "custom_field",
"targetValue": 31,
"operator": "gt",
"field": "age"
},
{
"type": "app_version",
"targetValue": "1.1.1",
"operator": "version_gt"
},
{
"type": "browser_name",
"targetValue": [
"Android",
"Chrome"
],
"operator": "any"
},
{
"type": "browser_version",
"targetValue": [
"94.0.4606.81",
"94.0.4606.92"
],
"operator": "any"
},
{
"type": "os_name",
"targetValue": [
"Android",
"Windows"
],
"operator": "none"
},
{
"type": "os_version",
"targetValue": "11.0.0",
"operator": "version_lte"
},
{
"type": "country",
"targetValue": [
"NZ",
"US"
],
"operator": "any"
},
{
"type": "environment_tier",
"targetValue": [
"production"
],
"operator": "any"
},
{
"type": "passes_segment",
"targetValue": "growth_org"
},
{
"type": "fails_segment",
"targetValue": "growth_org"
},
{
"type": "ip_address",
"targetValue": [
"1.1.1.1",
"8.8.8.8"
],
"operator": "any"
},
{
"type": "unit_id",
"operator": "any",
"targetValue": [
"31"
],
"customID": "userID"
}
]
}
],
"tags": [
"★ Core"
],
"type": "TEMPORARY",
"idType": "stableID",
"targetApps": []
}