From 7455aaf0fda2c3ce4dba4bea20fb1c80e09bae97 Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 15:13:24 +0200 Subject: [PATCH] Added the API definition for closing the index --- rest-api-spec/api/indices.close.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/api/indices.close.json b/rest-api-spec/api/indices.close.json index ee857515d42..b065ed2ebaa 100644 --- a/rest-api-spec/api/indices.close.json +++ b/rest-api-spec/api/indices.close.json @@ -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" } } },