diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 4174e713bd..f47d7e5f5f 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -4221,6 +4221,9 @@ { "$ref": "#/components/parameters/cluster.get_component_template-flat_settings" }, + { + "$ref": "#/components/parameters/cluster.get_component_template-settings_filter" + }, { "$ref": "#/components/parameters/cluster.get_component_template-include_defaults" }, @@ -4523,6 +4526,9 @@ { "$ref": "#/components/parameters/cluster.get_component_template-flat_settings" }, + { + "$ref": "#/components/parameters/cluster.get_component_template-settings_filter" + }, { "$ref": "#/components/parameters/cluster.get_component_template-include_defaults" }, @@ -109701,6 +109707,26 @@ }, "style": "form" }, + "cluster.get_component_template-settings_filter": { + "in": "query", + "name": "settings_filter", + "description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, "cluster.get_component_template-include_defaults": { "in": "query", "name": "include_defaults", diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index f49d7e8401..7a4fe5d18a 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -1633,6 +1633,9 @@ { "$ref": "#/components/parameters/cluster.get_component_template-flat_settings" }, + { + "$ref": "#/components/parameters/cluster.get_component_template-settings_filter" + }, { "$ref": "#/components/parameters/cluster.get_component_template-include_defaults" }, @@ -1829,6 +1832,9 @@ { "$ref": "#/components/parameters/cluster.get_component_template-flat_settings" }, + { + "$ref": "#/components/parameters/cluster.get_component_template-settings_filter" + }, { "$ref": "#/components/parameters/cluster.get_component_template-include_defaults" }, @@ -66302,6 +66308,26 @@ }, "style": "form" }, + "cluster.get_component_template-settings_filter": { + "in": "query", + "name": "settings_filter", + "description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys", + "deprecated": false, + "schema": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ] + }, + "style": "form" + }, "cluster.get_component_template-include_defaults": { "in": "query", "name": "include_defaults", diff --git a/output/schema/schema.json b/output/schema/schema.json index ec4396ca22..aa7db624a4 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -120839,6 +120839,33 @@ } } }, + { + "description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys", + "name": "settings_filter", + "required": false, + "type": { + "kind": "union_of", + "items": [ + { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + }, + { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + } + ] + } + }, { "availability": { "serverless": { @@ -120888,7 +120915,7 @@ } } ], - "specLocation": "cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L77" + "specLocation": "cluster/get_component_template/ClusterGetComponentTemplateRequest.ts#L24-L81" }, { "kind": "response", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 7b46a0a28a..f208407b82 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -164,19 +164,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", @@ -287,12 +274,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", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 0193a4134e..7ebcbc39a5 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -9491,6 +9491,7 @@ export type ClusterExistsComponentTemplateResponse = boolean export interface ClusterGetComponentTemplateRequest extends RequestBase { name?: Name flat_settings?: boolean + settings_filter?: string | string[] include_defaults?: boolean local?: boolean master_timeout?: Duration diff --git a/specification/_json_spec/cluster.get_component_template.json b/specification/_json_spec/cluster.get_component_template.json index b9603ece4d..8dad97b711 100644 --- a/specification/_json_spec/cluster.get_component_template.json +++ b/specification/_json_spec/cluster.get_component_template.json @@ -39,6 +39,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" } } } 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/open_point_in_time.json b/specification/_json_spec/open_point_in_time.json index 3870c1f95f..b16d67286b 100644 --- a/specification/_json_spec/open_point_in_time.json +++ b/specification/_json_spec/open_point_in_time.json @@ -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": { diff --git a/specification/cluster/get_component_template/ClusterGetComponentTemplateRequest.ts b/specification/cluster/get_component_template/ClusterGetComponentTemplateRequest.ts index cef948d618..4cb810c3d7 100644 --- a/specification/cluster/get_component_template/ClusterGetComponentTemplateRequest.ts +++ b/specification/cluster/get_component_template/ClusterGetComponentTemplateRequest.ts @@ -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