summaryrefslogtreecommitdiffstats
path: root/src/commands/config-set.json
blob: 83f246111c1aed3f76acddd8a1fbec882960995c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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"
                    }
                ]
            }
        ]
    }
}