diff --git a/output/schema/schema.json b/output/schema/schema.json index 7095e8046e..d756e8ae0a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -7758,6 +7758,32 @@ } ] }, + { + "availability": { + "stack": { + "featureFlag": "logs_stream", + "stability": "stable", + "visibility": "feature_flag" + } + }, + "description": "Gets a data stream's settings", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", + "name": "indices.get_data_stream_settings", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "GET" + ], + "path": "/_data_stream/{name}/_settings" + } + ] + }, { "availability": { "stack": { @@ -8344,6 +8370,32 @@ } ] }, + { + "availability": { + "stack": { + "featureFlag": "logs_stream", + "stability": "stable", + "visibility": "feature_flag" + } + }, + "description": "Updates a data stream's settings", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", + "name": "indices.put_data_stream_settings", + "request": null, + "requestBodyRequired": true, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "PUT" + ], + "path": "/_data_stream/{name}/_settings" + } + ] + }, { "availability": { "serverless": { diff --git a/specification/_json_spec/indices.get_data_stream_settings.json b/specification/_json_spec/indices.get_data_stream_settings.json new file mode 100644 index 0000000000..856a2a2aca --- /dev/null +++ b/specification/_json_spec/indices.get_data_stream_settings.json @@ -0,0 +1,38 @@ +{ + "indices.get_data_stream_settings": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", + "description": "Gets a data stream's settings" + }, + "stability": "stable", + "visibility": "feature_flag", + "feature_flag": "logs_stream", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_data_stream/{name}/_settings", + "methods": ["GET"], + "parts": { + "name": { + "type": "string", + "description": "The name of the data stream or data stream pattern" + } + } + } + ] + }, + "params": { + "timeout": { + "type": "time", + "description": "Specify timeout for acknowledging the cluster state update" + }, + "master_timeout": { + "type": "time", + "description": "Specify timeout for connection to master" + } + } + } +} diff --git a/specification/_json_spec/indices.put_data_stream_settings.json b/specification/_json_spec/indices.put_data_stream_settings.json new file mode 100644 index 0000000000..567842eb5d --- /dev/null +++ b/specification/_json_spec/indices.put_data_stream_settings.json @@ -0,0 +1,42 @@ +{ + "indices.put_data_stream_settings": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html", + "description": "Updates a data stream's settings" + }, + "stability": "stable", + "visibility": "feature_flag", + "feature_flag": "logs_stream", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_data_stream/{name}/_settings", + "methods": ["PUT"], + "parts": { + "name": { + "type": "string", + "description": "The name of the data stream or data stream pattern" + } + } + } + ] + }, + "params": { + "timeout": { + "type": "time", + "description": "Specify timeout for acknowledging the cluster state update" + }, + "master_timeout": { + "type": "time", + "description": "Specify timeout for connection to master" + } + }, + "body": { + "description": "The data stream settings to be updated", + "required": true + } + } +} diff --git a/specification/_json_spec/snapshot.repository_verify_integrity.json b/specification/_json_spec/snapshot.repository_verify_integrity.json index 11af7355ac..482eaaec30 100644 --- a/specification/_json_spec/snapshot.repository_verify_integrity.json +++ b/specification/_json_spec/snapshot.repository_verify_integrity.json @@ -5,7 +5,7 @@ "description": "Verifies the integrity of the contents of a snapshot repository" }, "stability": "experimental", - "visibility": "private", + "visibility": "public", "headers": { "accept": ["application/json"] },