summaryrefslogtreecommitdiff
path: root/src/commands/sentinel-masters.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/sentinel-masters.json')
-rw-r--r--src/commands/sentinel-masters.json14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/commands/sentinel-masters.json b/src/commands/sentinel-masters.json
index abfb0b5bf..1e96b7105 100644
--- a/src/commands/sentinel-masters.json
+++ b/src/commands/sentinel-masters.json
@@ -1,6 +1,6 @@
{
"MASTERS": {
- "summary": "List the monitored masters",
+ "summary": "Returns a list of monitored Redis masters.",
"complexity": "O(N) where N is the number of masters",
"group": "sentinel",
"since": "2.8.4",
@@ -11,6 +11,16 @@
"ADMIN",
"SENTINEL",
"ONLY_SENTINEL"
- ]
+ ],
+ "reply_schema": {
+ "type": "array",
+ "description": "List of monitored Redis masters, and their state.",
+ "items": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
}
}