diff --git a/specification/indices/delete_template/IndicesDeleteTemplateRequest.ts b/specification/indices/delete_template/IndicesDeleteTemplateRequest.ts index dd85cb6291..baa1a10e63 100644 --- a/specification/indices/delete_template/IndicesDeleteTemplateRequest.ts +++ b/specification/indices/delete_template/IndicesDeleteTemplateRequest.ts @@ -23,10 +23,12 @@ import { Duration } from '@_types/Time' /** * Delete a legacy index template. + * IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8. * @rest_spec_name indices.delete_template * @availability stack stability=stable * @cluster_privileges manage_index_templates * @doc_id indices-delete-template-v1 + * @deprecated 7.8.0 */ export interface Request extends RequestBase { urls: [ diff --git a/specification/indices/get_template/IndicesGetTemplateRequest.ts b/specification/indices/get_template/IndicesGetTemplateRequest.ts index bf6bc610ca..ce65f8ac0c 100644 --- a/specification/indices/get_template/IndicesGetTemplateRequest.ts +++ b/specification/indices/get_template/IndicesGetTemplateRequest.ts @@ -22,7 +22,7 @@ import { Names } from '@_types/common' import { Duration } from '@_types/Time' /** - * Get index templates. + * Get legacy index templates. * 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. @@ -31,6 +31,7 @@ import { Duration } from '@_types/Time' * @doc_id indices-get-template-v1 * @ext_doc_id index-templates * @cluster_privileges manage_index_templates + * @deprecated 7.8.0 */ export interface Request extends RequestBase { urls: [ diff --git a/specification/indices/put_template/IndicesPutTemplateRequest.ts b/specification/indices/put_template/IndicesPutTemplateRequest.ts index 433d01bbf6..3ef86994ca 100644 --- a/specification/indices/put_template/IndicesPutTemplateRequest.ts +++ b/specification/indices/put_template/IndicesPutTemplateRequest.ts @@ -27,7 +27,7 @@ import { integer } from '@_types/Numeric' import { Duration } from '@_types/Time' /** - * Create or update an index template. + * Create or update a legacy index template. * Index templates define settings, mappings, and aliases that can be applied automatically to new indices. * Elasticsearch applies templates to new indices based on an index pattern that matches the index name. * @@ -53,6 +53,7 @@ import { Duration } from '@_types/Time' * @cluster_privileges manage_index_templates, manage * @doc_id index-templates-v1 * @ext_doc_id index-templates + * @deprecated 7.8.0 */ export interface Request extends RequestBase { urls: [