Added the API definition for `_segments`

This commit is contained in:
Karel Minarik 2013-05-27 17:02:08 +02:00
parent 42334966c3
commit 8f40b2235d
1 changed files with 8 additions and 2 deletions

View File

@ -7,14 +7,20 @@
"paths": ["/_segments", "/{index}/_segments"],
"parts": {
"index": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
}
},
"params": {
"ignore_indices": {
},
"index": {
"type" : "enum",
"options" : ["none","missing"],
"default" : "none",
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
},
"operation_threading": {
"description" : "TODO: ?"
}
}
},