Skip to content

Fixes names of legacy index template endpoints #4372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand All @@ -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: [
Expand Down