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

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

parents 6baf20af 6948daca
......@@ -35,6 +35,34 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"description": "Operation timed-out",
"type": "null"
},
{
"description": "The key from which elements were popped and the popped elements",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"description": "List key from which elements were popped.",
"type": "string"
},
{
"description": "Array of popped elements.",
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
}
]
}
]
},
"arguments": [
{
"name": "timeout",
......
......@@ -14,7 +14,6 @@
],
"command_flags": [
"WRITE",
"NOSCRIPT",
"BLOCKING"
],
"acl_categories": [
......@@ -41,6 +40,30 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"type": "null",
"description": "No element could be popped and timeout expired"
},
{
"description": "The key from which the element was popped and the value of the popped element",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"description": "List key from which the element was popped.",
"type": "string"
},
{
"description": "Value of the popped element.",
"type": "string"
}
]
}
]
},
"arguments": [
{
"name": "key",
......
......@@ -14,7 +14,6 @@
],
"command_flags": [
"WRITE",
"NOSCRIPT",
"BLOCKING"
],
"acl_categories": [
......@@ -52,6 +51,29 @@
"name": "timeout",
"type": "double"
}
]
],
"reply_schema": {
"oneOf": [
{
"description": "No element could be popped and the timeout expired.",
"type": "null"
},
{
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"description": "The name of the key where an element was popped ",
"type": "string"
},
{
"description": "The value of the popped element",
"type": "string"
}
]
}
]
}
}
}
......@@ -20,7 +20,6 @@
"command_flags": [
"WRITE",
"DENYOOM",
"NOSCRIPT",
"BLOCKING"
],
"acl_categories": [
......@@ -65,6 +64,18 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"type": "string",
"description": "The element being popped from source and pushed to destination."
},
{
"type": "null",
"description": "Timeout is reached."
}
]
},
"arguments": [
{
"name": "source",
......
......@@ -35,6 +35,46 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"description": "Timeout reached and no elements were popped.",
"type": "null"
},
{
"description": "The keyname and the popped members.",
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"description": "Keyname",
"type": "string"
},
{
"description": "Popped members and their scores.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": [
{
"description": "Member",
"type": "string"
},
{
"description": "Score",
"type": "number"
}
]
}
}
]
}
]
},
"arguments": [
{
"name": "timeout",
......
......@@ -14,7 +14,6 @@
],
"command_flags": [
"WRITE",
"NOSCRIPT",
"FAST",
"BLOCKING"
],
......@@ -42,6 +41,34 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"description": "Timeout reached and no elements were popped.",
"type": "null"
},
{
"description": "The keyname, popped member, and its score.",
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"description": "Keyname",
"type": "string"
},
{
"description": "Member",
"type": "string"
},
{
"description": "Score",
"type": "number"
}
]
}
]
},
"arguments": [
{
"name": "key",
......
......@@ -14,7 +14,6 @@
],
"command_flags": [
"WRITE",
"NOSCRIPT",
"FAST",
"BLOCKING"
],
......@@ -42,6 +41,34 @@
}
}
],
"reply_schema": {
"oneOf": [
{
"description": "Timeout reached and no elements were popped.",
"type": "null"
},
{
"description": "The keyname, popped member, and its score.",
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": [
{
"description": "Keyname",
"type": "string"
},
{
"description": "Member",
"type": "string"
},
{
"description": "Score",
"type": "number"
}
]
}
]
},
"arguments": [
{
"name": "key",
......
......@@ -16,6 +16,9 @@
"acl_categories": [
"CONNECTION"
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "mode",
......
......@@ -15,6 +15,18 @@
],
"acl_categories": [
"CONNECTION"
]
],
"reply_schema": {
"oneOf": [
{
"type": "string",
"description": "The connection name of the current connection"
},
{
"type": "null",
"description": "Connection name was not set"
}
]
}
}
}
......@@ -15,6 +15,23 @@
],
"acl_categories": [
"CONNECTION"
]
],
"reply_schema": {
"oneOf": [
{
"const": 0,
"description": "Not redirecting notifications to any client."
},
{
"const": -1,
"description": "Client tracking is not enabled."
},
{
"type": "integer",
"description": "ID of the client we are redirecting the notifications to.",
"minimum": 1
}
]
}
}
}
......@@ -14,6 +14,13 @@
],
"acl_categories": [
"CONNECTION"
]
],
"reply_schema": {
"type": "array",
"description": "Helpful text about subcommands.",
"items": {
"type": "string"
}
}
}
}
......@@ -15,6 +15,10 @@
],
"acl_categories": [
"CONNECTION"
]
],
"reply_schema": {
"type": "integer",
"description": "The id of the client"
}
}
}
......@@ -18,6 +18,10 @@
],
"command_tips": [
"NONDETERMINISTIC_OUTPUT"
]
],
"reply_schema": {
"description": "a unique string, as described at the CLIENT LIST page, for the current client",
"type": "string"
}
}
}
......@@ -141,6 +141,19 @@
}
]
}
]
],
"reply_schema": {
"oneOf": [
{
"description": "when called in 3 argument format",
"const": "OK"
},
{
"description": "when called in filter/value format, the number of clients killed",
"type": "integer",
"minimum": 0
}
]
}
}
}
......@@ -46,6 +46,10 @@
"command_tips": [
"NONDETERMINISTIC_OUTPUT"
],
"reply_schema": {
"type": "string",
"description": "Information and statistics about client connections"
},
"arguments": [
{
"token": "TYPE",
......
......@@ -34,6 +34,9 @@
}
]
}
]
],
"reply_schema": {
"const": "OK"
}
}
}
......@@ -15,6 +15,9 @@
"acl_categories": [
"CONNECTION"
],
"reply_schema": {
"const": "OK"
},
"arguments": [
{
"name": "enabled",
......
......@@ -46,6 +46,9 @@
}
]
}
]
],
"reply_schema": {
"const": "OK"
}
}
}
......@@ -16,6 +16,10 @@
"acl_categories": [
"CONNECTION"
],
"reply_schema": {
"const": "OK",
"description": "When called with either OFF or SKIP subcommands, no reply is made. When called with ON, reply is OK."
},
"arguments": [
{
"name": "action",
......
......@@ -21,6 +21,9 @@
"name": "connection-name",
"type": "string"
}
]
],
"reply_schema": {
"const": "OK"
}
}
}
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