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 @@
"command_flags": [
"LOADING",
"STALE"
]
],
"reply_schema": {
"type": "array",
"description": "Helpful text about subcommands.",
"items": {
"type": "string"
}
}
}
}
......@@ -12,6 +12,9 @@
"NOSCRIPT",
"LOADING",
"STALE"
]
],
"reply_schema": {
"const": "OK"
}
}
}
......@@ -12,6 +12,9 @@
"NOSCRIPT",
"LOADING",
"STALE"
]
],
"reply_schema": {
"const": "OK"
}
}
}
......@@ -23,6 +23,9 @@
"REQUEST_POLICY:ALL_NODES",
"RESPONSE_POLICY:ALL_SUCCEEDED"
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "data",
......
......@@ -74,6 +74,18 @@
"type": "pure-token",
"optional": true
}
]
],
"reply_schema": {
"oneOf": [
{
"description": "source was copied",
"const": 1
},
{
"description": "source was not copied",
"const": 0
}
]
}
}
}
......@@ -16,6 +16,10 @@
"command_tips": [
"REQUEST_POLICY:ALL_SHARDS",
"RESPONSE_POLICY:AGG_SUM"
]
],
"reply_schema": {
"type": "integer",
"description": "The number of keys in the currently-selected database."
}
}
}
......@@ -35,6 +35,10 @@
}
}
],
"reply_schema": {
"type": "integer",
"description": "The value of the key after decrementing it."
},
"arguments": [
{
"name": "key",
......
......@@ -35,6 +35,10 @@
}
}
],
"reply_schema": {
"type": "integer",
"description": "The value of the key after decrementing it."
},
"arguments": [
{
"name": "key",
......
......@@ -36,6 +36,11 @@
}
}
],
"reply_schema": {
"description": "the number of keys that were removed",
"type": "integer",
"minimum": 0
},
"arguments": [
{
"name": "key",
......
......@@ -15,6 +15,9 @@
],
"acl_categories": [
"TRANSACTION"
]
],
"reply_schema": {
"const": "OK"
}
}
}
......@@ -35,6 +35,18 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"description": "The serialized value.",
"type": "string"
},
{
"description": "Key does not exist.",
"type": "null"
}
]
},
"arguments": [
{
"name": "key",
......
......@@ -14,6 +14,10 @@
"acl_categories": [
"CONNECTION"
],
"reply_schema": {
"description": "The given string",
"type": "string"
},
"arguments": [
{
"name": "message",
......
......@@ -61,6 +61,9 @@
"optional": true,
"multiple": true
}
]
],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
}
}
......@@ -60,6 +60,9 @@
"optional":true,
"multiple": true
}
]
],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
}
}
......@@ -60,6 +60,9 @@
"optional": true,
"multiple": true
}
]
],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
}
}
......@@ -59,6 +59,9 @@
"optional":true,
"multiple": true
}
]
],
"reply_schema": {
"description": "Return value depends on the script that is executed"
}
}
}
......@@ -14,6 +14,18 @@
],
"acl_categories": [
"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 @@
}
}
],
"reply_schema": {
"description": "Number of keys that exist from those specified as arguments.",
"type": "integer"
},
"arguments": [
{
"name": "key",
......
......@@ -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": [
{
"name": "key",
......
......@@ -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": [
{
"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