Added the API definition for opening an index

This commit is contained in:
Karel Minarik 2013-05-27 16:51:38 +02:00
parent 83928d7fee
commit 4e4cdaff2a
1 changed files with 5 additions and 3 deletions

View File

@ -1,18 +1,20 @@
{ {
"indices.open": { "indices.open": {
"documentation": "", "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-open-close/",
"methods": ["POST"], "methods": ["POST"],
"url": { "url": {
"path": "/{index}/_open", "path": "/{index}/_open",
"paths": ["/{index}/_open"], "paths": ["/{index}/_open"],
"parts": { "parts": {
"index": { "index": {
"type" : "string",
"description" : "The name of the index to close"
} }
}, },
"params": { "params": {
"index": {
},
"timeout": { "timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
} }
} }
}, },