summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-masters.json
blob: 1e96b71051854f70ac6d767022d35735e8cc5152 (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
{
    "MASTERS": {
        "summary": "Returns a list of monitored Redis masters.",
        "complexity": "O(N) where N is the number of masters",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 2,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "type": "array",
            "description": "List of monitored Redis masters, and their state.",
            "items": {
                "type": "object",
                "additionalProperties": {
                    "type": "string"
                }
            }
        }
    }
}