summaryrefslogtreecommitdiffstats
path: root/src/commands/client-tracking.json
blob: 28e84eceb12f3f1a4cbfc62d1ba5f5ac87ed052a (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
    "TRACKING": {
        "summary": "Controls server-assisted client-side caching for the connection.",
        "complexity": "O(1). Some options may introduce additional complexity.",
        "group": "connection",
        "since": "6.0.0",
        "arity": -3,
        "container": "CLIENT",
        "function": "clientCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "arguments": [
            {
                "name": "status",
                "type": "oneof",
                "arguments": [
                    {
                        "name": "on",
                        "type": "pure-token",
                        "token": "ON"
                    },
                    {
                        "name": "off",
                        "type": "pure-token",
                        "token": "OFF"
                    }
                ]
            },
            {
                "token": "REDIRECT",
                "name": "client-id",
                "type": "integer",
                "optional": true
            },
            {
                "token": "PREFIX",
                "name": "prefix",
                "type": "string",
                "optional": true,
                "multiple": true,
                "multiple_token": true
            },
            {
                "name": "BCAST",
                "token": "BCAST",
                "type": "pure-token",
                "optional": true
            },
            {
                "name": "OPTIN",
                "token": "OPTIN",
                "type": "pure-token",
                "optional": true
            },
            {
                "name": "OPTOUT",
                "token": "OPTOUT",
                "type": "pure-token",
                "optional": true
            },
            {
                "name": "NOLOOP",
                "token": "NOLOOP",
                "type": "pure-token",
                "optional": true
            }
        ],
        "reply_schema": {
            "description": "if the client was successfully put into or taken out of tracking mode",
            "const": "OK"
        }
    }
}