summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/module-loadex.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/module-loadex.json')
-rw-r--r--examples/redis-unstable/src/commands/module-loadex.json51
1 files changed, 51 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/module-loadex.json b/examples/redis-unstable/src/commands/module-loadex.json
new file mode 100644
index 0000000..6c750ea
--- /dev/null
+++ b/examples/redis-unstable/src/commands/module-loadex.json
@@ -0,0 +1,51 @@
1{
2 "LOADEX": {
3 "summary": "Loads a module using extended parameters.",
4 "complexity": "O(1)",
5 "group": "server",
6 "since": "7.0.0",
7 "arity": -3,
8 "container": "MODULE",
9 "function": "moduleCommand",
10 "command_flags": [
11 "NO_ASYNC_LOADING",
12 "ADMIN",
13 "NOSCRIPT",
14 "PROTECTED"
15 ],
16 "reply_schema": {
17 "const": "OK"
18 },
19 "arguments": [
20 {
21 "name": "path",
22 "type": "string"
23 },
24 {
25 "name": "configs",
26 "token": "CONFIG",
27 "type": "block",
28 "multiple": true,
29 "multiple_token": true,
30 "optional": true,
31 "arguments": [
32 {
33 "name": "name",
34 "type": "string"
35 },
36 {
37 "name": "value",
38 "type": "string"
39 }
40 ]
41 },
42 {
43 "name": "args",
44 "token": "ARGS",
45 "type": "string",
46 "multiple": true,
47 "optional": true
48 }
49 ]
50 }
51}