summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/indices.get_template.json
blob: 0a4a008c794e388f3d3026ec96d0e3eda9cb34ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
  }
}