Skip to content

Update rest-api-spec main #4763

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 1 commit into from
Jul 5, 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
4 changes: 3 additions & 1 deletion output/schema/schema.json

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

8 changes: 1 addition & 7 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"cluster.put_component_template": {
"request": [
"Request: missing json spec query parameter 'timeout'"
"Request: missing json spec query parameter 'cause'"
],
"response": []
},
Expand All @@ -37,12 +37,6 @@
],
"response": []
},
"esql.async_query_get": {
"request": [
"Request: query parameter 'format' does not exist in the json spec"
],
"response": []
},
"get_source": {
"request": [
"Request: query parameter 'stored_fields' does not exist in the json spec"
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
4 changes: 4 additions & 0 deletions specification/_json_spec/esql.async_query_get.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
]
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
},
"wait_for_completion_timeout": {
"type": "time",
"description": "Specify the time that the request should block waiting for the final response"
Expand Down
2 changes: 1 addition & 1 deletion specification/_json_spec/esql.get_query.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": [],
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
Expand Down