summaryrefslogtreecommitdiffstats
path: root/src/commands/module-list.json
blob: 92a022bc73df2d26a2f4c3f9725b305878f38586 (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
38
39
40
41
42
43
44
45
46
47
{
    "LIST": {
        "summary": "Returns all loaded modules.",
        "complexity": "O(N) where N is the number of loaded modules.",
        "group": "server",
        "since": "4.0.0",
        "arity": 2,
        "container": "MODULE",
        "function": "moduleCommand",
        "command_flags": [
            "ADMIN",
            "NOSCRIPT"
        ],
        "command_tips": [
            "NONDETERMINISTIC_OUTPUT_ORDER"
        ],
        "reply_schema": {
            "type": "array",
            "description": "Returns information about the modules loaded to the server.",
            "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "name": {
                        "type": "string",
                        "description": "Name of the module."
                    },
                    "ver": {
                        "type": "integer",
                        "description": "Version of the module."
                    },
                    "path": {
                        "type": "string",
                        "description": "Module path."
                    },
                    "args": {
                        "type": "array",
                        "description": "Module arguments.",
                        "items": {
                            "type": "string"
                        }
                    }
                }
            }
        }
    }
}