Commit 72935b9d authored by Vitaly Arbuzov's avatar Vitaly Arbuzov
Browse files

Merge branch 'unstable' into dict-split-by-slot

parents 6baf20af 6948daca
...@@ -10,6 +10,13 @@ ...@@ -10,6 +10,13 @@
"command_flags": [ "command_flags": [
"LOADING", "LOADING",
"STALE" "STALE"
] ],
"reply_schema": {
"type": "array",
"description": "Helpful text about subcommands.",
"items": {
"type": "string"
}
}
} }
} }
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
"NOSCRIPT", "NOSCRIPT",
"LOADING", "LOADING",
"STALE" "STALE"
] ],
"reply_schema": {
"const": "OK"
}
} }
} }
...@@ -12,6 +12,9 @@ ...@@ -12,6 +12,9 @@
"NOSCRIPT", "NOSCRIPT",
"LOADING", "LOADING",
"STALE" "STALE"
] ],
"reply_schema": {
"const": "OK"
}
} }
} }
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
"REQUEST_POLICY:ALL_NODES", "REQUEST_POLICY:ALL_NODES",
"RESPONSE_POLICY:ALL_SUCCEEDED" "RESPONSE_POLICY:ALL_SUCCEEDED"
], ],
"reply_schema": {
"const": "OK"
},
"arguments": [ "arguments": [
{ {
"name": "data", "name": "data",
......
...@@ -74,6 +74,18 @@ ...@@ -74,6 +74,18 @@
"type": "pure-token", "type": "pure-token",
"optional": true "optional": true
} }
],
"reply_schema": {
"oneOf": [
{
"description": "source was copied",
"const": 1
},
{
"description": "source was not copied",
"const": 0
}
] ]
} }
}
} }
...@@ -16,6 +16,10 @@ ...@@ -16,6 +16,10 @@
"command_tips": [ "command_tips": [
"REQUEST_POLICY:ALL_SHARDS", "REQUEST_POLICY:ALL_SHARDS",
"RESPONSE_POLICY:AGG_SUM" "RESPONSE_POLICY:AGG_SUM"
] ],
"reply_schema": {
"type": "integer",
"description": "The number of keys in the currently-selected database."
}
} }
} }
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
} }
} }
], ],
"reply_schema": {
"type": "integer",
"description": "The value of the key after decrementing it."
},
"arguments": [ "arguments": [
{ {
"name": "key", "name": "key",
......
...@@ -35,6 +35,10 @@ ...@@ -35,6 +35,10 @@
} }
} }
], ],
"reply_schema": {
"type": "integer",
"description": "The value of the key after decrementing it."
},
"arguments": [ "arguments": [
{ {
"name": "key", "name": "key",
......
...@@ -36,6 +36,11 @@ ...@@ -36,6 +36,11 @@
} }
} }
], ],
"reply_schema": {
"description": "the number of keys that were removed",
"type": "integer",
"minimum": 0
},
"arguments": [ "arguments": [
{ {
"name": "key", "name": "key",
......
...@@ -15,6 +15,9 @@ ...@@ -15,6 +15,9 @@
], ],
"acl_categories": [ "acl_categories": [
"TRANSACTION" "TRANSACTION"
] ],
"reply_schema": {
"const": "OK"
}
} }
} }
...@@ -35,6 +35,18 @@ ...@@ -35,6 +35,18 @@
} }
} }
], ],
"reply_schema": {
"oneOf": [
{
"description": "The serialized value.",
"type": "string"
},
{
"description": "Key does not exist.",
"type": "null"
}
]
},
"arguments": [ "arguments": [
{ {
"name": "key", "name": "key",
......
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
"acl_categories": [ "acl_categories": [
"CONNECTION" "CONNECTION"
], ],
"reply_schema": {
"description": "The given string",
"type": "string"
},
"arguments": [ "arguments": [
{ {
"name": "message", "name": "message",
......
...@@ -61,6 +61,9 @@ ...@@ -61,6 +61,9 @@
"optional": true, "optional": true,
"multiple": true "multiple": true
} }
] ],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
} }
} }
...@@ -60,6 +60,9 @@ ...@@ -60,6 +60,9 @@
"optional":true, "optional":true,
"multiple": true "multiple": true
} }
] ],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
} }
} }
...@@ -60,6 +60,9 @@ ...@@ -60,6 +60,9 @@
"optional": true, "optional": true,
"multiple": true "multiple": true
} }
] ],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
} }
} }
...@@ -59,6 +59,9 @@ ...@@ -59,6 +59,9 @@
"optional":true, "optional":true,
"multiple": true "multiple": true
} }
] ],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
} }
} }
...@@ -14,6 +14,18 @@ ...@@ -14,6 +14,18 @@
], ],
"acl_categories": [ "acl_categories": [
"TRANSACTION" "TRANSACTION"
],
"reply_schema": {
"oneOf": [
{
"description": "Each element being the reply to each of the commands in the atomic transaction.",
"type": "array"
},
{
"description": "The transaction was aborted because a `WATCH`ed key was touched",
"type": "null"
}
] ]
} }
}
} }
...@@ -42,6 +42,10 @@ ...@@ -42,6 +42,10 @@
} }
} }
], ],
"reply_schema": {
"description": "Number of keys that exist from those specified as arguments.",
"type": "integer"
},
"arguments": [ "arguments": [
{ {
"name": "key", "name": "key",
......
...@@ -39,6 +39,18 @@ ...@@ -39,6 +39,18 @@
} }
} }
], ],
"reply_schema": {
"oneOf": [
{
"description": "The timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments.",
"const": 0
},
{
"description": "The timeout was set.",
"const": 1
}
]
},
"arguments": [ "arguments": [
{ {
"name": "key", "name": "key",
......
...@@ -39,6 +39,18 @@ ...@@ -39,6 +39,18 @@
} }
} }
], ],
"reply_schema": {
"oneOf": [
{
"const": 1,
"description": "The timeout was set."
},
{
"const": 0,
"description": "The timeout was not set. e.g. key doesn't exist, or operation skipped due to the provided arguments."
}
]
},
"arguments": [ "arguments": [
{ {
"name": "key", "name": "key",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment