summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/sentinel-slaves.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/sentinel-slaves.json')
-rw-r--r--examples/redis-unstable/src/commands/sentinel-slaves.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/sentinel-slaves.json b/examples/redis-unstable/src/commands/sentinel-slaves.json
new file mode 100644
index 0000000..c1fec41
--- /dev/null
+++ b/examples/redis-unstable/src/commands/sentinel-slaves.json
@@ -0,0 +1,37 @@
1{
2 "SLAVES": {
3 "summary": "Returns a list of the monitored replicas.",
4 "complexity": "O(N) where N is the number of replicas.",
5 "group": "sentinel",
6 "since": "2.8.0",
7 "arity": 3,
8 "container": "SENTINEL",
9 "function": "sentinelCommand",
10 "deprecated_since": "5.0.0",
11 "replaced_by": "`SENTINEL REPLICAS`",
12 "doc_flags": [
13 "DEPRECATED"
14 ],
15 "command_flags": [
16 "ADMIN",
17 "SENTINEL",
18 "ONLY_SENTINEL"
19 ],
20 "reply_schema": {
21 "type": "array",
22 "description": "List of monitored replicas, and their state.",
23 "items": {
24 "type": "object",
25 "additionalProperties": {
26 "type": "string"
27 }
28 }
29 },
30 "arguments": [
31 {
32 "name": "master-name",
33 "type": "string"
34 }
35 ]
36 }
37}