summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-slaves.json
blob: c1fec41bb268fb3415bfa87716d34e4b7be10f4c (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
{
    "SLAVES": {
        "summary": "Returns a list of the monitored replicas.",
        "complexity": "O(N) where N is the number of replicas.",
        "group": "sentinel",
        "since": "2.8.0",
        "arity": 3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "deprecated_since": "5.0.0",
        "replaced_by": "`SENTINEL REPLICAS`",
        "doc_flags": [
            "DEPRECATED"
        ],
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "type": "array",
            "description": "List of monitored replicas, and their state.",
            "items": {
                "type": "object",
                "additionalProperties": {
                    "type": "string"
                }
            }
        },
        "arguments": [
            {
                "name": "master-name",
                "type": "string"
            }
        ]
    }
}