From 8d44d42681f40a1323212d7fc571e5dbde4a1a9d Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 15:32:10 +0200 Subject: [PATCH] Added the API definition for deleting an index --- rest-api-spec/api/indices.delete.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/api/indices.delete.json b/rest-api-spec/api/indices.delete.json index 229fe127845..442da0aaddf 100644 --- a/rest-api-spec/api/indices.delete.json +++ b/rest-api-spec/api/indices.delete.json @@ -1,18 +1,24 @@ { "indices.delete": { - "documentation": "", + "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-index/", "methods": ["DELETE"], "url": { "path": "/", "paths": ["/", "/{index}"], "parts": { "index": { + "type" : "list", + "description" : "A comma-separated list of indices to delete; use `_all` or empty string to delete all indices" } }, "params": { "index": { + "type" : "string", + "description" : "The name of the index" }, "timeout": { + "type" : "time", + "description" : "Explicit operation timeout" } } },