Skip to content

Commit 14d4577

Browse files
Fixes names of legacy index template endpoints (#4372) (#4394)
* Fixes names of legacy index template endpoints. * Adds deprecation tag. (cherry picked from commit 14f4ec9) Co-authored-by: István Zoltán Szabó <[email protected]>
1 parent 5fe526b commit 14d4577

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

specification/indices/delete_template/IndicesDeleteTemplateRequest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ import { Duration } from '@_types/Time'
2323

2424
/**
2525
* Delete a legacy index template.
26+
* IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.
2627
* @rest_spec_name indices.delete_template
2728
* @availability stack stability=stable
2829
* @cluster_privileges manage_index_templates
2930
* @doc_id indices-delete-template-v1
31+
* @deprecated 7.8.0
3032
*/
3133
export interface Request extends RequestBase {
3234
path_parts: {

specification/indices/get_template/IndicesGetTemplateRequest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { Names } from '@_types/common'
2222
import { Duration } from '@_types/Time'
2323

2424
/**
25-
* Get index templates.
25+
* Get legacy index templates.
2626
* Get information about one or more index templates.
2727
*
2828
* 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'
3131
* @doc_id indices-get-template-v1
3232
* @ext_doc_id index-templates
3333
* @cluster_privileges manage_index_templates
34+
* @deprecated 7.8.0
3435
*/
3536
export interface Request extends RequestBase {
3637
path_parts: {

specification/indices/put_template/IndicesPutTemplateRequest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { integer } from '@_types/Numeric'
2727
import { Duration } from '@_types/Time'
2828

2929
/**
30-
* Create or update an index template.
30+
* Create or update a legacy index template.
3131
* Index templates define settings, mappings, and aliases that can be applied automatically to new indices.
3232
* Elasticsearch applies templates to new indices based on an index pattern that matches the index name.
3333
*
@@ -54,6 +54,7 @@ import { Duration } from '@_types/Time'
5454
* @cluster_privileges manage_index_templates, manage
5555
* @doc_id index-templates-v1
5656
* @ext_doc_id index-templates
57+
* @deprecated 7.8.0
5758
*/
5859
export interface Request extends RequestBase {
5960
path_parts: {

0 commit comments

Comments
 (0)