diff --git a/output/schema/schema.json b/output/schema/schema.json index df145cca0b..4b138afeeb 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -8993,6 +8993,31 @@ } ] }, + { + "availability": { + "stack": { + "stability": "stable", + "visibility": "public" + } + }, + "description": "Removes a block from an index.", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html", + "name": "indices.remove_block", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "DELETE" + ], + "path": "/{index}/_block/{block}" + } + ] + }, { "availability": { "stack": { @@ -22218,6 +22243,86 @@ } ] }, + { + "availability": { + "stack": { + "featureFlag": "logs_stream", + "stability": "stable", + "visibility": "feature_flag" + } + }, + "description": "Disable the Logs Streams feature for this cluster", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-disable.html", + "name": "streams.logs_disable", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json", + "text/plain" + ], + "urls": [ + { + "methods": [ + "POST" + ], + "path": "/_streams/logs/_disable" + } + ] + }, + { + "availability": { + "stack": { + "featureFlag": "logs_stream", + "stability": "stable", + "visibility": "feature_flag" + } + }, + "description": "Enable the Logs Streams feature for this cluster", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-enable.html", + "name": "streams.logs_enable", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json", + "text/plain" + ], + "urls": [ + { + "methods": [ + "POST" + ], + "path": "/_streams/logs/_enable" + } + ] + }, + { + "availability": { + "stack": { + "featureFlag": "logs_stream", + "stability": "stable", + "visibility": "feature_flag" + } + }, + "description": "Return the current status of the streams feature for each streams type", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-status.html", + "name": "streams.status", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "GET" + ], + "path": "/_streams/status" + } + ] + }, { "availability": { "serverless": { diff --git a/specification/_json_spec/indices.remove_block.json b/specification/_json_spec/indices.remove_block.json new file mode 100644 index 0000000000..93726a8a28 --- /dev/null +++ b/specification/_json_spec/indices.remove_block.json @@ -0,0 +1,55 @@ +{ + "indices.remove_block": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html", + "description": "Removes a block from an index." + }, + "stability": "stable", + "visibility": "public", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/{index}/_block/{block}", + "methods": ["DELETE"], + "parts": { + "index": { + "type": "list", + "description": "A comma separated list of indices to remove a block from" + }, + "block": { + "type": "string", + "description": "The block to remove (one of read, write, read_only or metadata)" + } + } + } + ] + }, + "params": { + "timeout": { + "type": "time", + "description": "Explicit operation timeout" + }, + "master_timeout": { + "type": "time", + "description": "Specify timeout for connection to master" + }, + "ignore_unavailable": { + "type": "boolean", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)" + }, + "allow_no_indices": { + "type": "boolean", + "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)" + }, + "expand_wildcards": { + "type": "enum", + "options": ["open", "closed", "hidden", "none", "all"], + "default": "open", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." + } + } + } +} diff --git a/specification/_json_spec/streams.logs_disable.json b/specification/_json_spec/streams.logs_disable.json new file mode 100644 index 0000000000..1b540296b1 --- /dev/null +++ b/specification/_json_spec/streams.logs_disable.json @@ -0,0 +1,32 @@ +{ + "streams.logs_disable": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-disable.html", + "description": "Disable the Logs Streams feature for this cluster" + }, + "stability": "stable", + "visibility": "feature_flag", + "feature_flag": "logs_stream", + "headers": { + "accept": ["application/json", "text/plain"] + }, + "url": { + "paths": [ + { + "path": "/_streams/logs/_disable", + "methods": ["POST"] + } + ] + }, + "params": { + "timeout": { + "type": "time", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error." + }, + "master_timeout": { + "type": "time", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error." + } + } + } +} diff --git a/specification/_json_spec/streams.logs_enable.json b/specification/_json_spec/streams.logs_enable.json new file mode 100644 index 0000000000..b6ce3af45f --- /dev/null +++ b/specification/_json_spec/streams.logs_enable.json @@ -0,0 +1,32 @@ +{ + "streams.logs_enable": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-enable.html", + "description": "Enable the Logs Streams feature for this cluster" + }, + "stability": "stable", + "visibility": "feature_flag", + "feature_flag": "logs_stream", + "headers": { + "accept": ["application/json", "text/plain"] + }, + "url": { + "paths": [ + { + "path": "/_streams/logs/_enable", + "methods": ["POST"] + } + ] + }, + "params": { + "timeout": { + "type": "time", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error." + }, + "master_timeout": { + "type": "time", + "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error." + } + } + } +} diff --git a/specification/_json_spec/streams.status.json b/specification/_json_spec/streams.status.json new file mode 100644 index 0000000000..2b8615ad1d --- /dev/null +++ b/specification/_json_spec/streams.status.json @@ -0,0 +1,28 @@ +{ + "streams.status": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-status.html", + "description": "Return the current status of the streams feature for each streams type" + }, + "stability": "stable", + "visibility": "feature_flag", + "feature_flag": "logs_stream", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_streams/status", + "methods": ["GET"] + } + ] + }, + "params": { + "mater_timeout": { + "type": "time", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error." + } + } + } +}