Added the API definition for closing the index
This commit is contained in:
parent
c2f4bbe1a4
commit
7455aaf0fd
|
@ -1,18 +1,25 @@
|
|||
{
|
||||
"indices.close": {
|
||||
"documentation": "",
|
||||
"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": {
|
||||
"index": {
|
||||
"type" : "string",
|
||||
"description" : "The name of the index"
|
||||
},
|
||||
"timeout": {
|
||||
"type" : "time",
|
||||
"description" : "Explicit operation timeout"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue