summaryrefslogtreecommitdiffstats
path: root/src/commands/config-set.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/config-set.json')
-rw-r--r--src/commands/config-set.json47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/commands/config-set.json b/src/commands/config-set.json
new file mode 100644
index 0000000..83f2461
--- /dev/null
+++ b/src/commands/config-set.json
@@ -0,0 +1,47 @@
+{
+ "SET": {
+ "summary": "Sets configuration parameters in-flight.",
+ "complexity": "O(N) when N is the number of configuration parameters provided",
+ "group": "server",
+ "since": "2.0.0",
+ "arity": -4,
+ "container": "CONFIG",
+ "function": "configSetCommand",
+ "history": [
+ [
+ "7.0.0",
+ "Added the ability to set multiple parameters in one call."
+ ]
+ ],
+ "command_flags": [
+ "ADMIN",
+ "NOSCRIPT",
+ "LOADING",
+ "STALE"
+ ],
+ "command_tips": [
+ "REQUEST_POLICY:ALL_NODES",
+ "RESPONSE_POLICY:ALL_SUCCEEDED"
+ ],
+ "reply_schema": {
+ "const": "OK"
+ },
+ "arguments": [
+ {
+ "name": "data",
+ "type": "block",
+ "multiple": true,
+ "arguments": [
+ {
+ "name": "parameter",
+ "type": "string"
+ },
+ {
+ "name": "value",
+ "type": "string"
+ }
+ ]
+ }
+ ]
+ }
+}