From b7d4b30ad781413b81e24ac8a49306775f01cb49 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Thu, 16 Jan 2014 15:29:38 +0100 Subject: [PATCH] [SPEC] Added indices.exists_template.json --- rest-api-spec/api/indices.exists_template.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 rest-api-spec/api/indices.exists_template.json diff --git a/rest-api-spec/api/indices.exists_template.json b/rest-api-spec/api/indices.exists_template.json new file mode 100644 index 00000000000..a0cf65f69ff --- /dev/null +++ b/rest-api-spec/api/indices.exists_template.json @@ -0,0 +1,18 @@ +{ + "indices.exists_template": { + "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-templates.html", + "methods": ["HEAD"], + "url": { + "path": "/_template/{name}", + "paths": ["/_template/{name}"], + "parts": { + "name": { + "type" : "string", + "required" : true, + "description" : "The name of the template" + } + } + }, + "body": null + } +}