summaryrefslogtreecommitdiffstats
path: root/src/commands/client-setname.json
blob: b071bd18ff94de7552ff357ee76dce66a552af01 (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
{
    "SETNAME": {
        "summary": "Sets the connection name.",
        "complexity": "O(1)",
        "group": "connection",
        "since": "2.6.9",
        "arity": 3,
        "container": "CLIENT",
        "function": "clientCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "command_tips": [
          "REQUEST_POLICY:ALL_NODES",
          "RESPONSE_POLICY:ALL_SUCCEEDED"
        ],        
        "acl_categories": [
            "CONNECTION"
        ],
        "arguments": [
            {
                "name": "connection-name",
                "type": "string"
            }
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}