OpenSearch/rest-api-spec/api/indices.segments.json

30 lines
851 B
JSON

{
"indices.segments": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-segments/",
"methods": ["GET"],
"url": {
"path": "/_segments",
"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": {
"type" : "enum",
"options" : ["none","missing"],
"default" : "none",
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
},
"operation_threading": {
"description" : "TODO: ?"
}
}
},
"body": null
}
}