Skip to content

Commit 3e56c0f

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 5699cec commit 3e56c0f

File tree

4 files changed

+18
-17
lines changed

4 files changed

+18
-17
lines changed

output/schema/validation-errors.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,7 @@
166166
},
167167
"cluster.get_component_template": {
168168
"request": [
169-
"Request: query parameter 'flat_settings' does not exist in the json spec"
170-
],
171-
"response": []
172-
},
173-
"cluster.put_component_template": {
174-
"request": [
175-
"Request: query parameter 'cause' does not exist in the json spec",
176-
"Request: missing json spec query parameter 'timeout'"
169+
"Request: missing json spec query parameter 'settings_filter'"
177170
],
178171
"response": []
179172
},
@@ -287,12 +280,6 @@
287280
],
288281
"response": []
289282
},
290-
"open_point_in_time": {
291-
"request": [
292-
"Request: query parameter 'max_concurrent_shard_requests' does not exist in the json spec"
293-
],
294-
"response": []
295-
},
296283
"reindex": {
297284
"request": [
298285
"Request: query parameter 'require_alias' does not exist in the json spec",

specification/_json_spec/cluster.get_component_template.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@
3939
"include_defaults": {
4040
"type": "boolean",
4141
"description": "Return all default configurations for the component template (default: false)"
42+
},
43+
"flat_settings": {
44+
"type": "boolean",
45+
"description": "Return settings in flat format (default: false)"
46+
},
47+
"settings_filter": {
48+
"type": "string",
49+
"description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys"
4250
}
4351
}
4452
}

specification/_json_spec/cluster.put_component_template.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
"description": "Whether the index template should only be added if new or can also replace an existing one",
3131
"default": false
3232
},
33-
"timeout": {
34-
"type": "time",
35-
"description": "Explicit operation timeout"
33+
"cause": {
34+
"type": "string",
35+
"description": "User defined reason for create the component template",
36+
"default": "api"
3637
},
3738
"master_timeout": {
3839
"type": "time",

specification/_json_spec/open_point_in_time.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@
5151
"allow_partial_search_results": {
5252
"type": "boolean",
5353
"description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)"
54+
},
55+
"max_concurrent_shard_requests": {
56+
"type": "number",
57+
"description": "The number of concurrent shard requests per node executed concurrently when opening this point-in-time. This value should be used to limit the impact of opening the point-in-time on the cluster",
58+
"default": 5
5459
}
5560
},
5661
"body": {

0 commit comments

Comments
 (0)