summaryrefslogtreecommitdiffstats
path: root/src/commands/cluster-myid.json
blob: 340d425fd3ec70835e6621e038f78ac030c56a67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
    "MYID": {
        "summary": "Returns the ID of a node.",
        "complexity": "O(1)",
        "group": "cluster",
        "since": "3.0.0",
        "arity": 2,
        "container": "CLUSTER",
        "function": "clusterCommand",
        "command_flags": [
            "STALE"
        ],
        "reply_schema": {
            "description": "the node id",
            "type": "string"
        }
    }
}