summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-myid.json
blob: 4d366ebf3b5ee66abc43d0995c39ed94d7817998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "MYID": {
        "summary": "Returns the Redis Sentinel instance ID.",
        "complexity": "O(1)",
        "group": "sentinel",
        "since": "6.2.0",
        "arity": 2,
        "container": "SENTINEL",
        "function": "sentinelCommand",
        "command_flags": [
            "ADMIN",
            "SENTINEL",
            "ONLY_SENTINEL"
        ],
        "reply_schema": {
            "description": "Node ID of the sentinel instance.",
            "type": "string"
        }
    }
}