Skip to content

Commit 586489e

Browse files
timgreingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 379de4f commit 586489e

12 files changed

+402
-20
lines changed

output/schema/schema.json

Lines changed: 166 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@
127127
],
128128
"response": []
129129
},
130+
"snapshot.get": {
131+
"request": [
132+
"Request: missing json spec query parameter 'state'"
133+
],
134+
"response": []
135+
},
130136
"snapshot.repository_analyze": {
131137
"request": [
132138
"Request: query parameter 'register_operation_count' does not exist in the json spec"

specification/_json_spec/esql.list_queries.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
10-
"accept": [],
10+
"accept": ["application/json"],
1111
"content_type": ["application/json"]
1212
},
1313
"url": {

specification/_json_spec/indices.get_data_stream_settings.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Gets a data stream's settings"
66
},
77
"stability": "stable",
8-
"visibility": "feature_flag",
9-
"feature_flag": "logs_stream",
8+
"visibility": "public",
109
"headers": {
1110
"accept": ["application/json"]
1211
},
@@ -18,20 +17,16 @@
1817
"parts": {
1918
"name": {
2019
"type": "string",
21-
"description": "The name of the data stream or data stream pattern"
20+
"description": "Comma-separated list of data streams or data stream patterns"
2221
}
2322
}
2423
}
2524
]
2625
},
2726
"params": {
28-
"timeout": {
29-
"type": "time",
30-
"description": "Specify timeout for acknowledging the cluster state update"
31-
},
3227
"master_timeout": {
3328
"type": "time",
34-
"description": "Specify timeout for connection to master"
29+
"description": "Period to wait for a connection to the master node"
3530
}
3631
}
3732
}

specification/_json_spec/indices.put_data_stream_settings.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Updates a data stream's settings"
66
},
77
"stability": "stable",
8-
"visibility": "feature_flag",
9-
"feature_flag": "logs_stream",
8+
"visibility": "public",
109
"headers": {
1110
"accept": ["application/json"]
1211
},
@@ -18,7 +17,7 @@
1817
"parts": {
1918
"name": {
2019
"type": "string",
21-
"description": "The name of the data stream or data stream pattern"
20+
"description": "Comma-separated list of data streams or data stream patterns"
2221
}
2322
}
2423
}
@@ -27,16 +26,16 @@
2726
"params": {
2827
"dry_run": {
2928
"type": "boolean",
30-
"description": "Perform a dry run but do not actually change any settings",
29+
"description": "Whether this request should only be a dry run rather than actually applying settings",
3130
"default": false
3231
},
3332
"timeout": {
3433
"type": "time",
35-
"description": "Specify timeout for acknowledging the cluster state update"
34+
"description": "Period to wait for a response"
3635
},
3736
"master_timeout": {
3837
"type": "time",
39-
"description": "Specify timeout for connection to master"
38+
"description": "Period to wait for a connection to the master node"
4039
}
4140
},
4241
"body": {
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+
}

0 commit comments

Comments
 (0)