summaryrefslogtreecommitdiffstats
path: root/src/commands/sentinel-master.json
blob: 8ca446d4989aa6fbd66228eb73ac131cab48274e (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
{
    "MASTER": {
        "summary": "Returns the state of a master Redis instance.",
        "complexity": "O(1)",
        "group": "sentinel",
        "since": "2.8.4",
        "arity": 3,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "type": "object",
            "description": "The state and info of the specified master.",
            "additionalProperties": {
                "type": "string"
            }
        },
        "arguments": [
            {
                "name": "master-name",
                "type": "string"
            }
        ]
    }
}