Skip to content

Update rest-api-spec 9.0 #4764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 28 additions & 1 deletion output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 0 additions & 19 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,6 @@
],
"response": []
},
"cluster.get_component_template": {
"request": [
"Request: query parameter 'flat_settings' does not exist in the json spec"
],
"response": []
},
"cluster.put_component_template": {
"request": [
"Request: query parameter 'cause' does not exist in the json spec",
"Request: missing json spec query parameter 'timeout'"
],
"response": []
},
"create": {
"request": [
"Request: query parameter 'if_primary_term' does not exist in the json spec",
Expand Down Expand Up @@ -55,12 +42,6 @@
],
"response": []
},
"open_point_in_time": {
"request": [
"Request: query parameter 'max_concurrent_shard_requests' does not exist in the json spec"
],
"response": []
},
"reindex": {
"request": [
"Request: query parameter 'require_alias' does not exist in the json spec",
Expand Down
1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
"include_defaults": {
"type": "boolean",
"description": "Return all default configurations for the component template (default: false)"
},
"flat_settings": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
},
"settings_filter": {
"type": "string",
"description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@
"description": "Whether the index template should only be added if new or can also replace an existing one",
"default": false
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
"cause": {
"type": "string",
"description": "User defined reason for create the component template",
"default": "api"
},
"master_timeout": {
"type": "time",
Expand Down
5 changes: 5 additions & 0 deletions specification/_json_spec/open_point_in_time.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
"allow_partial_search_results": {
"type": "boolean",
"description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)"
},
"max_concurrent_shard_requests": {
"type": "number",
"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",
"default": 5
}
},
"body": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export interface Request extends RequestBase {
* @server_default false
*/
flat_settings?: boolean
/**
* Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys
*/
settings_filter?: string | string[]
/**
* @server_default false
* @availability stack since=8.11.0 stability=stable
Expand Down