Skip to content

Commit 683a386

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent a07023b commit 683a386

File tree

5 files changed

+252
-0
lines changed

5 files changed

+252
-0
lines changed

output/schema/schema.json

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"indices.remove_block": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html",
5+
"description": "Removes a block from an index."
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/{index}/_block/{block}",
16+
"methods": ["DELETE"],
17+
"parts": {
18+
"index": {
19+
"type": "list",
20+
"description": "A comma separated list of indices to remove a block from"
21+
},
22+
"block": {
23+
"type": "string",
24+
"description": "The block to remove (one of read, write, read_only or metadata)"
25+
}
26+
}
27+
}
28+
]
29+
},
30+
"params": {
31+
"timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout"
34+
},
35+
"master_timeout": {
36+
"type": "time",
37+
"description": "Specify timeout for connection to master"
38+
},
39+
"ignore_unavailable": {
40+
"type": "boolean",
41+
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
42+
},
43+
"allow_no_indices": {
44+
"type": "boolean",
45+
"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)"
46+
},
47+
"expand_wildcards": {
48+
"type": "enum",
49+
"options": ["open", "closed", "hidden", "none", "all"],
50+
"default": "open",
51+
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
52+
}
53+
}
54+
}
55+
}
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: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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+
"mater_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+
}
27+
}
28+
}

0 commit comments

Comments
 (0)