summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-debug.json
blob: c671ec5e1a466277ef87187b5829a7774f9275e6 (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
{
    "DEBUG": {
        "summary": "Lists or updates the current configurable parameters of Redis Sentinel.",
        "complexity": "O(N) where N is the number of configurable parameters",
        "group": "sentinel",
        "since": "7.0.0",
        "arity": -2,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "oneOf": [
                {
                    "description": "The configuration update was successful.",
                    "const": "OK"
                },
                {
                    "description": "List of configurable time parameters and their values (milliseconds).",
                    "type": "object",
                    "additionalProperties": {
                        "type": "string"
                    }
                }
            ]
        },
        "arguments": [
            {
                "name": "data",
                "type": "block",
                "optional": true,
                "multiple": true,
                "arguments": [
                    {
                        "name": "parameter",
                        "type": "string"
                    },
                    {
                        "name": "value",
                        "type": "string"
                    }
                ]
            }
        ]
    }
}