Added the API definition for `{index}/_status`

This commit is contained in:
Karel Minarik 2013-05-27 21:46:23 +02:00
parent 333b147c2c
commit 988a38297e
1 changed files with 11 additions and 2 deletions

View File

@ -7,18 +7,27 @@
"paths": ["/_status", "/{index}/_status"], "paths": ["/_status", "/{index}/_status"],
"parts": { "parts": {
"index": { "index": {
"type" : "list",
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
} }
}, },
"params": { "params": {
"ignore_indices": { "ignore_indices": {
}, "type" : "enum",
"index": { "options" : ["none","missing"],
"default" : "none",
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
}, },
"operation_threading": { "operation_threading": {
"description" : "TODO: ?"
}, },
"recovery": { "recovery": {
"type" : "boolean",
"description" : "Return information about shard recovery"
}, },
"snapshot": { "snapshot": {
"type" : "boolean",
"description" : "TODO: ?"
} }
} }
}, },