From c322791ccb6f050eafc0508bb84082190100e523 Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 21:46:47 +0200 Subject: [PATCH] Added the API definition for deleting an index template --- rest-api-spec/api/indices.template.delete.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rest-api-spec/api/indices.template.delete.json b/rest-api-spec/api/indices.template.delete.json index 0c3d78325a6..00c2e756e79 100644 --- a/rest-api-spec/api/indices.template.delete.json +++ b/rest-api-spec/api/indices.template.delete.json @@ -1,18 +1,21 @@ { "indices.template.delete": { - "documentation": "", + "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-templates/", "methods": ["DELETE"], "url": { "path": "/_template/{name}", "paths": ["/_template/{name}"], "parts": { "name": { + "type" : "string", + "required" : true, + "description" : "The name of the template" } }, "params": { - "name": { - }, "timeout": { + "type" : "time", + "description" : "Explicit operation timeout" } } },