Skip to content

Commit bc68ec0

Browse files
Update rest-api-spec (#4654)
Co-authored-by: pquentin <[email protected]>
1 parent 78c1c6b commit bc68ec0

File tree

4 files changed

+167
-0
lines changed

4 files changed

+167
-0
lines changed

output/schema/schema.json

Lines changed: 80 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"streams.logs_disable": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-disable.html",
5+
"description": "Disable the Logs Streams feature for this cluster"
6+
},
7+
"stability": "stable",
8+
"visibility": "feature_flag",
9+
"feature_flag": "logs_stream",
10+
"headers": {
11+
"accept": ["application/json", "text/plain"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_streams/logs/_disable",
17+
"methods": ["POST"]
18+
}
19+
]
20+
},
21+
"params": {
22+
"timeout": {
23+
"type": "time",
24+
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
25+
},
26+
"master_timeout": {
27+
"type": "time",
28+
"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."
29+
}
30+
}
31+
}
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"streams.logs_enable": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-enable.html",
5+
"description": "Enable the Logs Streams feature for this cluster"
6+
},
7+
"stability": "stable",
8+
"visibility": "feature_flag",
9+
"feature_flag": "logs_stream",
10+
"headers": {
11+
"accept": ["application/json", "text/plain"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_streams/logs/_enable",
17+
"methods": ["POST"]
18+
}
19+
]
20+
},
21+
"params": {
22+
"timeout": {
23+
"type": "time",
24+
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
25+
},
26+
"master_timeout": {
27+
"type": "time",
28+
"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."
29+
}
30+
}
31+
}
32+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"streams.status": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-status.html",
5+
"description": "Return the current status of the streams feature for each streams type"
6+
},
7+
"stability": "stable",
8+
"visibility": "feature_flag",
9+
"feature_flag": "logs_stream",
10+
"headers": {
11+
"accept": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_streams/status",
17+
"methods": ["GET"]
18+
}
19+
]
20+
},
21+
"params": {}
22+
}
23+
}

0 commit comments

Comments
 (0)