summaryrefslogtreecommitdiffstats
path: root/src/commands/client-id.json
blob: 7c2bf08200fd0f50af2ded615bd75d251345874d (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
{
    "ID": {
        "summary": "Returns the unique client ID of the connection.",
        "complexity": "O(1)",
        "group": "connection",
        "since": "5.0.0",
        "arity": 2,
        "container": "CLIENT",
        "function": "clientCommand",
        "command_flags": [
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "acl_categories": [
            "CONNECTION"
        ],
        "reply_schema": {
            "type": "integer",
            "description": "The id of the client"
        }
    }
}