{
  "indices.get_template": {
    "documentation": {
      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/8.19/indices-get-template-v1.html",
      "description": "Get legacy index templates"
    },
    "stability": "stable",
    "visibility": "public",
    "deprecated": {
      "version": "7.8.0",
      "description": "Legacy index templates are deprecated in favor of composable templates"
    },
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_template",
          "methods": [
            "GET"
          ]
        },
        {
          "path": "/_template/{name}",
          "methods": [
            "GET"
          ],
          "parts": {
            "name": {
              "type": "list",
              "description": "The comma separated names of the index templates"
            }
          }
        }
      ]
    },
    "params": {
      "flat_settings": {
        "type": "boolean",
        "default": false,
        "description": "Return settings in flat format (default: false)"
      },
      "master_timeout": {
        "type": "time",
        "default": "30s",
        "description": "Explicit operation timeout for connection to master node"
      },
      "local": {
        "type": "boolean",
        "default": false,
        "description": "Return local information, do not retrieve the state from master node (default: false)"
      }
    }
  }
}
