diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/function-list.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/function-list.json | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/examples/redis-unstable/src/commands/function-list.json b/examples/redis-unstable/src/commands/function-list.json deleted file mode 100644 index 2ab1cf5..0000000 --- a/examples/redis-unstable/src/commands/function-list.json +++ /dev/null | |||
| @@ -1,87 +0,0 @@ | |||
| 1 | { | ||
| 2 | "LIST": { | ||
| 3 | "summary": "Returns information about all libraries.", | ||
| 4 | "complexity": "O(N) where N is the number of functions", | ||
| 5 | "group": "scripting", | ||
| 6 | "since": "7.0.0", | ||
| 7 | "arity": -2, | ||
| 8 | "container": "FUNCTION", | ||
| 9 | "function": "functionListCommand", | ||
| 10 | "command_flags": [ | ||
| 11 | "NOSCRIPT" | ||
| 12 | ], | ||
| 13 | "command_tips": [ | ||
| 14 | "NONDETERMINISTIC_OUTPUT_ORDER" | ||
| 15 | ], | ||
| 16 | "acl_categories": [ | ||
| 17 | "SCRIPTING" | ||
| 18 | ], | ||
| 19 | "reply_schema": { | ||
| 20 | "type": "array", | ||
| 21 | "items": { | ||
| 22 | "type": "object", | ||
| 23 | "additionalProperties": false, | ||
| 24 | "properties": { | ||
| 25 | "library_name": { | ||
| 26 | "description": " the name of the library", | ||
| 27 | "type": "string" | ||
| 28 | }, | ||
| 29 | "engine": { | ||
| 30 | "description": "the engine of the library", | ||
| 31 | "type": "string" | ||
| 32 | }, | ||
| 33 | "functions": { | ||
| 34 | "description": "the list of functions in the library", | ||
| 35 | "type": "array", | ||
| 36 | "items": { | ||
| 37 | "type": "object", | ||
| 38 | "additionalProperties": false, | ||
| 39 | "properties": { | ||
| 40 | "name": { | ||
| 41 | "description": "the name of the function", | ||
| 42 | "type": "string" | ||
| 43 | }, | ||
| 44 | "description": { | ||
| 45 | "description": "the function's description", | ||
| 46 | "oneOf": [ | ||
| 47 | { | ||
| 48 | "type": "null" | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | "type": "string" | ||
| 52 | } | ||
| 53 | ] | ||
| 54 | }, | ||
| 55 | "flags": { | ||
| 56 | "description": "an array of function flags", | ||
| 57 | "type": "array", | ||
| 58 | "items": { | ||
| 59 | "type": "string" | ||
| 60 | } | ||
| 61 | } | ||
| 62 | } | ||
| 63 | } | ||
| 64 | }, | ||
| 65 | "library_code": { | ||
| 66 | "description": "the library's source code (when given the WITHCODE modifier)", | ||
| 67 | "type": "string" | ||
| 68 | } | ||
| 69 | } | ||
| 70 | } | ||
| 71 | }, | ||
| 72 | "arguments": [ | ||
| 73 | { | ||
| 74 | "name": "library-name-pattern", | ||
| 75 | "type": "string", | ||
| 76 | "token": "LIBRARYNAME", | ||
| 77 | "optional": true | ||
| 78 | }, | ||
| 79 | { | ||
| 80 | "name": "withcode", | ||
| 81 | "type": "pure-token", | ||
| 82 | "token": "WITHCODE", | ||
| 83 | "optional": true | ||
| 84 | } | ||
| 85 | ] | ||
| 86 | } | ||
| 87 | } | ||
