Added the API definition for `_segments`
This commit is contained in:
parent
42334966c3
commit
8f40b2235d
|
@ -7,14 +7,20 @@
|
||||||
"paths": ["/_segments", "/{index}/_segments"],
|
"paths": ["/_segments", "/{index}/_segments"],
|
||||||
"parts": {
|
"parts": {
|
||||||
"index": {
|
"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": {
|
"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: ?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue