diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2026-01-21 22:52:54 +0100 |
| commit | dcacc00e3750300617ba6e16eb346713f91a783a (patch) | |
| tree | 38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/src/commands/xread.json | |
| parent | 58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff) | |
| download | crep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz | |
Remove testing data
Diffstat (limited to 'examples/redis-unstable/src/commands/xread.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/xread.json | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/examples/redis-unstable/src/commands/xread.json b/examples/redis-unstable/src/commands/xread.json deleted file mode 100644 index 95e22c4..0000000 --- a/examples/redis-unstable/src/commands/xread.json +++ /dev/null | |||
| @@ -1,107 +0,0 @@ | |||
| 1 | { | ||
| 2 | "XREAD": { | ||
| 3 | "summary": "Returns messages from multiple streams with IDs greater than the ones requested. Blocks until a message is available otherwise.", | ||
| 4 | "group": "stream", | ||
| 5 | "since": "5.0.0", | ||
| 6 | "arity": -4, | ||
| 7 | "function": "xreadCommand", | ||
| 8 | "get_keys_function": "xreadGetKeys", | ||
| 9 | "command_flags": [ | ||
| 10 | "BLOCKING", | ||
| 11 | "READONLY" | ||
| 12 | ], | ||
| 13 | "acl_categories": [ | ||
| 14 | "STREAM" | ||
| 15 | ], | ||
| 16 | "key_specs": [ | ||
| 17 | { | ||
| 18 | "flags": [ | ||
| 19 | "RO", | ||
| 20 | "ACCESS" | ||
| 21 | ], | ||
| 22 | "begin_search": { | ||
| 23 | "keyword": { | ||
| 24 | "keyword": "STREAMS", | ||
| 25 | "startfrom": 1 | ||
| 26 | } | ||
| 27 | }, | ||
| 28 | "find_keys": { | ||
| 29 | "range": { | ||
| 30 | "lastkey": -1, | ||
| 31 | "step": 1, | ||
| 32 | "limit": 2 | ||
| 33 | } | ||
| 34 | } | ||
| 35 | } | ||
| 36 | ], | ||
| 37 | "arguments": [ | ||
| 38 | { | ||
| 39 | "token": "COUNT", | ||
| 40 | "name": "count", | ||
| 41 | "type": "integer", | ||
| 42 | "optional": true | ||
| 43 | }, | ||
| 44 | { | ||
| 45 | "token": "BLOCK", | ||
| 46 | "name": "milliseconds", | ||
| 47 | "type": "integer", | ||
| 48 | "optional": true | ||
| 49 | }, | ||
| 50 | { | ||
| 51 | "name": "streams", | ||
| 52 | "token": "STREAMS", | ||
| 53 | "type": "block", | ||
| 54 | "arguments": [ | ||
| 55 | { | ||
| 56 | "name": "key", | ||
| 57 | "type": "key", | ||
| 58 | "key_spec_index": 0, | ||
| 59 | "multiple": true | ||
| 60 | }, | ||
| 61 | { | ||
| 62 | "name": "ID", | ||
| 63 | "type": "string", | ||
| 64 | "multiple": true | ||
| 65 | } | ||
| 66 | ] | ||
| 67 | } | ||
| 68 | ], | ||
| 69 | "reply_schema": { | ||
| 70 | "oneOf": [ | ||
| 71 | { | ||
| 72 | "description": "A map of key-value elements when each element composed of key name and the entries reported for that key", | ||
| 73 | "type": "object", | ||
| 74 | "patternProperties": { | ||
| 75 | "^.*$": { | ||
| 76 | "description": "The entries reported for that key", | ||
| 77 | "type": "array", | ||
| 78 | "items": { | ||
| 79 | "type": "array", | ||
| 80 | "minItems": 2, | ||
| 81 | "maxItems": 2, | ||
| 82 | "items": [ | ||
| 83 | { | ||
| 84 | "description": "entry id", | ||
| 85 | "type": "string", | ||
| 86 | "pattern": "[0-9]+-[0-9]+" | ||
| 87 | }, | ||
| 88 | { | ||
| 89 | "description": "array of field-value pairs", | ||
| 90 | "type": "array", | ||
| 91 | "items": { | ||
| 92 | "type": "string" | ||
| 93 | } | ||
| 94 | } | ||
| 95 | ] | ||
| 96 | } | ||
| 97 | } | ||
| 98 | } | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "description": "If BLOCK option is given, and a timeout occurs, or there is no stream we can serve", | ||
| 102 | "type": "null" | ||
| 103 | } | ||
| 104 | ] | ||
| 105 | } | ||
| 106 | } | ||
| 107 | } | ||
