Fully Update Dynamic Config
Changed onRequest
- Base URLhttps://statsigapi.net
- URLhttps://statsigapi.net/console/v1/dynamic_configs/{id}
- AuthAPI key in header STATSIG-API-KEY
Path parameters
id
Query parameters
Skips persisting updates to the entity (used to validate that inputs are correct)
Request body
Example request
{
"name": "my_config",
"description": "helpful summary of what this dynamic config does",
"idType": "userID",
"tags": [
"a tag"
],
"owner": {
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "owner123@test.com"
}
}Response
Fully Update Dynamic Config Response
Example response
{
"message": "Dynamic config updated successfully.",
"data": {
"id": "a_dynamic_config",
"permalink": "https://console.statsig.com/company_id/dynamic_configs/a_dynamic_config",
"description": "helpful summary of what this dynamic config does",
"idType": "userID",
"creatorEmail": "johnsmith@mydomain.com",
"creatorName": "John Smith",
"createdTime": 1674769467002,
"lastModifierID": "1vaQaBoLlkauH9iiuOSBP2",
"lastModifierName": "CONSOLE API",
"lastModifiedTime": 1707344887865,
"lastModifierEmail": null,
"holdoutIDs": [],
"isEnabled": true,
"rules": [
{
"name": "All Conditions",
"id": "38ttpCpzrQFTMKcqFKk02l:10.00:1",
"baseID": "38ttpCpzrQFTMKcqFKk02l",
"passPercentage": 10,
"conditions": [
{
"type": "public",
"operator": "any",
"targetValue": 0,
"field": "string",
"customID": "string"
}
],
"returnValue": {
"key": true
},
"completedAutomatedRollouts": [],
"pendingAutomatedRollouts": []
}
],
"defaultValue": {
"key": "the default value"
},
"tags": [
"a tag"
],
"type": "TEMPORARY",
"typeReason": "NONE",
"isPermanent": false
}
}Changes
- info
added the new optional request property
//// - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
////to the response with the status - info
the response optional property
////became not read-only for the status
- info
- breaking
request property
////was restricted to a list of enum values - warning
added the new
afterenum value to the//////response property for the response status - warning
added the new
anyenum value to the//////response property for the response status - warning
added the new
any_case_sensitiveenum value to the//////response property for the response status - warning
added the new
array_contains_allenum value to the//////response property for the response status - warning
added the new
array_contains_anyenum value to the//////response property for the response status - warning
added the new
array_contains_noneenum value to the//////response property for the response status - warning
added the new
beforeenum value to the//////response property for the response status - warning
added the new
encoded_anyenum value to the//////response property for the response status - warning
added the new
gtenum value to the//////response property for the response status - warning
added the new
gteenum value to the//////response property for the response status - warning
added the new
is_not_nullenum value to the//////response property for the response status - warning
added the new
is_nullenum value to the//////response property for the response status - warning
added the new
ltenum value to the//////response property for the response status - warning
added the new
lteenum value to the//////response property for the response status - warning
added the new
noneenum value to the//////response property for the response status - warning
added the new
none_case_sensitiveenum value to the//////response property for the response status - warning
added the new
not_array_contains_allenum value to the//////response property for the response status - warning
added the new
onenum value to the//////response property for the response status - warning
added the new
str_contains_anyenum value to the//////response property for the response status - warning
added the new
str_contains_noneenum value to the//////response property for the response status - warning
added the new
str_matchesenum value to the//////response property for the response status - warning
added the new
version_eqenum value to the//////response property for the response status - warning
added the new
version_gtenum value to the//////response property for the response status - warning
added the new
version_gteenum value to the//////response property for the response status - warning
added the new
version_ltenum value to the//////response property for the response status - warning
added the new
version_lteenum value to the//////response property for the response status - info
added the new
afterenum value to the request property//// - info
added the new
anyenum value to the request property//// - info
added the new
any_case_sensitiveenum value to the request property//// - info
added the new
array_contains_allenum value to the request property//// - info
added the new
array_contains_anyenum value to the request property//// - info
added the new
array_contains_noneenum value to the request property//// - info
added the new
beforeenum value to the request property//// - info
added the new
encoded_anyenum value to the request property//// - info
added the new
gtenum value to the request property//// - info
added the new
gteenum value to the request property//// - info
added the new
is_not_nullenum value to the request property//// - info
added the new
is_nullenum value to the request property//// - info
added the new
ltenum value to the request property//// - info
added the new
lteenum value to the request property//// - info
added the new
noneenum value to the request property//// - info
added the new
none_case_sensitiveenum value to the request property//// - info
added the new
not_array_contains_allenum value to the request property//// - info
added the new
onenum value to the request property//// - info
added the new
str_contains_anyenum value to the request property//// - info
added the new
str_contains_noneenum value to the request property//// - info
added the new
str_matchesenum value to the request property//// - info
added the new
version_eqenum value to the request property//// - info
added the new
version_gtenum value to the request property//// - info
added the new
version_gteenum value to the request property//// - info
added the new
version_ltenum value to the request property//// - info
added the new
version_lteenum value to the request property////
- breaking