Skip to content

Commit b1d47cc

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 0d5c6c5 commit b1d47cc

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
@@ -9,14 +9,7 @@
99
},
1010
"cluster.get_component_template": {
1111
"request": [
12-
"Request: query parameter 'flat_settings' does not exist in the json spec"
13-
],
14-
"response": []
15-
},
16-
"cluster.put_component_template": {
17-
"request": [
18-
"Request: query parameter 'cause' does not exist in the json spec",
19-
"Request: missing json spec query parameter 'timeout'"
12+
"Request: missing json spec query parameter 'settings_filter'"
2013
],
2114
"response": []
2215
},
@@ -55,12 +48,6 @@
5548
],
5649
"response": []
5750
},
58-
"open_point_in_time": {
59-
"request": [
60-
"Request: query parameter 'max_concurrent_shard_requests' does not exist in the json spec"
61-
],
62-
"response": []
63-
},
6451
"reindex": {
6552
"request": [
6653
"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
@@ -40,6 +40,14 @@
4040
"include_defaults": {
4141
"type": "boolean",
4242
"description": "Return all default configurations for the component template (default: false)"
43+
},
44+
"flat_settings": {
45+
"type": "boolean",
46+
"description": "Return settings in flat format (default: false)"
47+
},
48+
"settings_filter": {
49+
"type": "string",
50+
"description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys"
4351
}
4452
}
4553
}

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)