Get legacy index templates
deprecated
- GET /_template/{name}
- GET /_template
Get information about one or more index templates.
Important
This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.
Required authorization
- Cluster privileges manage_index_templates
Response
application/json
-
<string>object -
aliasesmap string to objectrequired -
<string>object -
filterQuery -
Query used to limit documents the alias can access.
-
index_routingstring -
Value used to route indexing operations to a specific shard. If specified, this overwrites the
routingvalue for indexing operations. -
If
true, the alias is hidden. All indices for the alias must have the sameis_hiddenvalue.