Skip to content

Commit eacdb7a

Browse files
authored
Add since and method_request to data stream settings (#4492)
1 parent e02c777 commit eacdb7a

File tree

8 files changed

+44
-10
lines changed

8 files changed

+44
-10
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 14 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 14 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 11 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/cluster/get_settings/ClusterGetSettingsRequest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Duration } from '@_types/Time'
2222

2323
/**
2424
* Get cluster-wide settings.
25+
*
2526
* By default, it returns only settings that have been explicitly defined.
2627
* @rest_spec_name cluster.get_settings
2728
* @availability stack stability=stable

specification/indices/get_data_stream_settings/IndicesGetDataStreamSettingsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { Duration } from '@_types/Time'
2626
*
2727
* Get setting information for one or more data streams.
2828
* @rest_spec_name indices.get_data_stream_settings
29-
* @availability stack stability=stable visibility=public
29+
* @availability stack since=9.1.0 stability=stable visibility=public
3030
* @availability serverless stability=stable visibility=public
3131
* @index_privileges view_index_metadata
3232
* @doc_id indices-get-data-stream-settings
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
method_request: GET /_data_stream/my-data-stream/_settings

specification/indices/put_data_stream_settings/IndicesPutDataStreamSettingsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import { IndexSettings } from '@indices/_types/IndexSettings'
3030
* only certain settings are allowed. If possible, the setting change is applied to all
3131
* backing indices. Otherwise, it will be applied when the data stream is next rolled over.
3232
* @rest_spec_name indices.put_data_stream_settings
33-
* @availability stack stability=stable visibility=public
33+
* @availability stack since=9.1.0 stability=stable visibility=public
3434
* @availability serverless stability=stable visibility=public
3535
* @index_privileges manage
3636
* @doc_id indices-put-data-stream-settings

specification/indices/put_data_stream_settings/examples/request/IndicesPutDataStreamSettingsRequestExample1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
summary: Change a data stream setting
2-
# method_request: PUT /_data_stream/my-data-stream/_settings
2+
method_request: PUT /_data_stream/my-data-stream/_settings
33
description: >
44
This is a request to change two settings on a data stream.
55
# type: request

0 commit comments

Comments
 (0)