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

29 lines
696 B
JSON

{
"indices.close": {
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close/",
"methods": ["POST"],
"url": {
"path": "/{index}/_close",
"paths": ["/{index}/_close"],
"parts": {
"index": {
"type" : "string",
"required" : true,
"description" : "The name of the index"
}
},
"params": {
"timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
},
"master_timeout": {
"type" : "time",
"description" : "Specify timeout for connection to master"
}
}
},
"body": null
}
}