Added the API definition for closing the index

This commit is contained in:
Karel Minarik 2013-05-27 15:13:24 +02:00
parent c2f4bbe1a4
commit 7455aaf0fd
1 changed files with 8 additions and 1 deletions

View File

@ -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"
}
}
},