summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-sentinels.json
blob: fdaa5cb99293e594725a6420a756c204d6c394c6 (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
{
    "SENTINELS": {
        "summary": "Returns a list of Sentinel instances.",
        "complexity": "O(N) where N is the number of Sentinels",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "type": "array",
            "description": "List of sentinel instances, and their state.",
            "items": {
                "type": "object",
                "additionalProperties": {
                    "type": "string"
                }
            }
        },
        "arguments": [
            {
                "name": "master-name",
                "type": "string"
            }
        ]
    }
}