diff --git a/output/schema/schema.json b/output/schema/schema.json index 21a8542528..da8973f6d7 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -21643,6 +21643,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/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..1d5b92a154 --- /dev/null +++ b/specification/_json_spec/streams.status.json @@ -0,0 +1,23 @@ +{ + "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": {} + } +}