summaryrefslogtreecommitdiff
path: root/src/commands/client-reply.json
blob: 9406de85cfacb09308cda869f4db21a454d0d169 (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
{
    "REPLY": {
        "summary": "Instructs the server whether to reply to commands.",
        "complexity": "O(1)",
        "group": "connection",
        "since": "3.2.0",
        "arity": 3,
        "container": "CLIENT",
        "function": "clientCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "reply_schema": {
            "const": "OK",
            "description": "When called with either OFF or SKIP subcommands, no reply is made. When called with ON, reply is OK."
        },
        "arguments": [
            {
                "name": "action",
                "type": "oneof",
                "arguments": [
                    {
                        "name": "on",
                        "type": "pure-token",
                        "token": "ON"
                    },
                    {
                        "name": "off",
                        "type": "pure-token",
                        "token": "OFF"
                    },
                    {
                        "name": "skip",
                        "type": "pure-token",
                        "token": "SKIP"
                    }
                ]
            }
        ]
    }
}