diff --git a/output/schema/schema.json b/output/schema/schema.json index b9554b7a22..503a739c7e 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -5222,7 +5222,9 @@ "name": "Response", "namespace": "esql.get_query" }, - "responseMediaType": [], + "responseMediaType": [ + "application/json" + ], "urls": [ { "methods": [ diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 829c2c8dc3..e58840c661 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -15,7 +15,7 @@ }, "cluster.put_component_template": { "request": [ - "Request: missing json spec query parameter 'timeout'" + "Request: missing json spec query parameter 'cause'" ], "response": [] }, @@ -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" diff --git a/specification/_json_spec/cluster.put_component_template.json b/specification/_json_spec/cluster.put_component_template.json index eed8da7344..a6ed996756 100644 --- a/specification/_json_spec/cluster.put_component_template.json +++ b/specification/_json_spec/cluster.put_component_template.json @@ -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", diff --git a/specification/_json_spec/esql.async_query_get.json b/specification/_json_spec/esql.async_query_get.json index b2b4b17ccc..f92bce11c9 100644 --- a/specification/_json_spec/esql.async_query_get.json +++ b/specification/_json_spec/esql.async_query_get.json @@ -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" diff --git a/specification/_json_spec/esql.get_query.json b/specification/_json_spec/esql.get_query.json index f0a2085495..3d5542e7ff 100644 --- a/specification/_json_spec/esql.get_query.json +++ b/specification/_json_spec/esql.get_query.json @@ -7,7 +7,7 @@ "stability": "experimental", "visibility": "public", "headers": { - "accept": [], + "accept": ["application/json"], "content_type": ["application/json"] }, "url": {