From 3e7e96fe72c776cdd896fdf3f370130c60024fcb Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 21:47:34 +0200 Subject: [PATCH] Added the API definition for getting an index template --- rest-api-spec/api/indices.template.get.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rest-api-spec/api/indices.template.get.json b/rest-api-spec/api/indices.template.get.json index dd9c042ee04..f4d5c540dae 100644 --- a/rest-api-spec/api/indices.template.get.json +++ b/rest-api-spec/api/indices.template.get.json @@ -1,17 +1,18 @@ { "indices.template.get": { - "documentation": "", + "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-templates/", "methods": ["GET"], "url": { "path": "/_template/{name}", "paths": ["/_template/{name}"], "parts": { "name": { + "type" : "string", + "required" : true, + "description" : "The name of the template" } }, "params": { - "name": { - } } }, "body": null