64 lines
3.9 KiB
Plaintext
64 lines
3.9 KiB
Plaintext
[[reference-indices-get_template]]
|
|
|
|
////////
|
|
===========================================================================================================================
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|
|
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|
|
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|
|
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|
|
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|
|
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|
|
|| ||
|
|
|| ||
|
|
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|
|
|| You should update the script that does the generation, which can be found in: ||
|
|
|| https://github.com/elastic/elastic-client-generator-js ||
|
|
|| ||
|
|
|| You can run the script with the following command: ||
|
|
|| npm run elasticsearch -- --version <version> ||
|
|
|| ||
|
|
|| ||
|
|
|| ||
|
|
===========================================================================================================================
|
|
////////
|
|
|
|
[discrete]
|
|
=== client.indices.getTemplate
|
|
|
|
Get index templates. Retrieves information about one or more index templates.
|
|
|
|
{ref}/indices-get-template-v1.html[{es} documentation]
|
|
|
|
[discrete]
|
|
==== Function signature
|
|
|
|
[source,ts]
|
|
----
|
|
(IndicesGetTemplateRequest, options?): Promise<IndicesGetTemplateResponse>
|
|
----
|
|
|
|
[discrete]
|
|
===== `IndicesGetTemplateRequest`
|
|
|
|
[source,ts]
|
|
----
|
|
interface IndicesGetTemplateRequest extends <<RequestBase>> {
|
|
name?: <<Names>>
|
|
flat_settings?: boolean
|
|
local?: boolean
|
|
master_timeout?: <<Duration>>
|
|
}
|
|
----
|
|
|
|
[discrete]
|
|
===== `IndicesGetTemplateResponse`
|
|
|
|
[source,ts]
|
|
----
|
|
type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>
|
|
----
|
|
|