Added the API definition for closing the index
This commit is contained in:
parent
c2f4bbe1a4
commit
7455aaf0fd
|
@ -1,18 +1,25 @@
|
||||||
{
|
{
|
||||||
"indices.close": {
|
"indices.close": {
|
||||||
"documentation": "",
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close/",
|
||||||
"methods": ["POST"],
|
"methods": ["POST"],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/{index}/_close",
|
"path": "/{index}/_close",
|
||||||
"paths": ["/{index}/_close"],
|
"paths": ["/{index}/_close"],
|
||||||
"parts": {
|
"parts": {
|
||||||
"index": {
|
"index": {
|
||||||
|
"type" : "string",
|
||||||
|
"required" : true,
|
||||||
|
"description" : "The name of the index"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"index": {
|
"index": {
|
||||||
|
"type" : "string",
|
||||||
|
"description" : "The name of the index"
|
||||||
},
|
},
|
||||||
"timeout": {
|
"timeout": {
|
||||||
|
"type" : "time",
|
||||||
|
"description" : "Explicit operation timeout"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue