diff options
Diffstat (limited to 'rest-api-spec/api/indices.get_template.json')
-rw-r--r-- | rest-api-spec/api/indices.get_template.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/rest-api-spec/api/indices.get_template.json b/rest-api-spec/api/indices.get_template.json new file mode 100644 index 0000000..0a4a008 --- /dev/null +++ b/rest-api-spec/api/indices.get_template.json @@ -0,0 +1,28 @@ +{ + "indices.get_template": { + "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-templates.html", + "methods": ["GET"], + "url": { + "path": "/_template/{name}", + "paths": ["/_template", "/_template/{name}"], + "parts": { + "name": { + "type" : "string", + "required" : false, + "description" : "The name of the template" + } + }, + "params": { + "flat_settings": { + "type": "boolean", + "description": "Return settings in flat format (default: false)" + }, + "local": { + "type": "boolean", + "description": "Return local information, do not retrieve the state from master node (default: false)" + } + } + }, + "body": null + } +} |