Skip to content

Commit 0c9b366

Browse files
committed
Add since and method_request to data stream settings
1 parent 9e631d8 commit 0c9b366

File tree

7 files changed

+8
-3
lines changed

7 files changed

+8
-3
lines changed

specification/cluster/get_settings/ClusterGetSettingsRequest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ 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
27-
* @availability stack stability=stable
28+
* @availability stack since=9.1.0 stability=stable
2829
* @availability serverless stability=stable visibility=private
2930
* @cluster_privileges monitor
3031
* @doc_id cluster-get-settings

specification/indices/get_data_stream_settings/examples/200_response/IndicesGetDataStreamSettingsResponseExample1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: >
44
`effective_settings` field shows additional settings that are pulled from its template.
55
# type: response
66
# response_code: 200
7+
method_request: GET /_data_stream/my-data-stream/_settings
78
value: |-
89
{
910
"data_streams": [

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/200_response/IndicesPutDataStreamSettingsResponseExample1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: >
55
the write index on rollover. The setting `index.lifecycle.name` is applied to the data stream and all backing indices.
66
# type: response
77
# response_code: 200
8+
method_request: PUT /_data_stream/my-data-stream/_settings
89
value: |-
910
{
1011
"data_streams": [

specification/indices/put_data_stream_settings/examples/200_response/IndicesPutDataStreamSettingsResponseExample2.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: >
55
reports that the setting was not successfully applied to that index.
66
# type: response
77
# response_code: 200
8+
method_request: PUT /_data_stream/my-data-stream/_settings
89
value: |-
910
{
1011
"data_streams": [

specification/indices/put_data_stream_settings/examples/200_response/IndicesPutDataStreamSettingsResponseExample3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: >
44
not allowed on a data stream. As a result, no change was applied to the data stream.
55
# type: response
66
# response_code: 200
7+
method_request: PUT /_data_stream/my-data-stream/_settings
78
value: |-
89
{
910
"data_streams": [

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)