Skip to content

Commit 5d0574d

Browse files
Update rest-api-spec 8.19 (#4793)
* Update rest-api-spec * Add settings_filter to cluster.get_copmonent_template --------- Co-authored-by: pquentin <[email protected]> Co-authored-by: Quentin Pradet <[email protected]>
1 parent 226c523 commit 5d0574d

File tree

9 files changed

+102
-23
lines changed

9 files changed

+102
-23
lines changed

output/openapi/elasticsearch-openapi.json

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

output/openapi/elasticsearch-serverless-openapi.json

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

output/schema/schema.json

Lines changed: 28 additions & 1 deletion
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: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -164,19 +164,6 @@
164164
],
165165
"response": []
166166
},
167-
"cluster.get_component_template": {
168-
"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'"
177-
],
178-
"response": []
179-
},
180167
"create": {
181168
"request": [
182169
"Request: query parameter 'if_primary_term' does not exist in the json spec",
@@ -287,12 +274,6 @@
287274
],
288275
"response": []
289276
},
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-
},
296277
"reindex": {
297278
"request": [
298279
"Request: query parameter 'require_alias' does not exist in the json spec",

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": {

specification/cluster/get_component_template/ClusterGetComponentTemplateRequest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export interface Request extends RequestBase {
5555
* @server_default false
5656
*/
5757
flat_settings?: boolean
58+
/**
59+
* Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys
60+
*/
61+
settings_filter?: string | string[]
5862
/**
5963
* @server_default false
6064
* @availability stack since=8.11.0 stability=stable

0 commit comments

Comments
 (0)