diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 2458b8e96d..449f3e5b6e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -19635,6 +19635,26 @@ "type": "boolean" }, "style": "form" + }, + { + "in": "query", + "name": "mode", + "description": "Filter indices by index mode - standard, lookup, time_series, etc. Comma-separated list of IndexMode. Empty means no filter.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types.IndexMode" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types.IndexMode" + } + } + ] + }, + "style": "form" } ], "responses": { @@ -74497,7 +74517,6 @@ "id", "nodeId", "pid", - "p", "host", "h", "ip", diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 501ae3f2ff..bd40ab5370 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -10768,6 +10768,26 @@ "type": "boolean" }, "style": "form" + }, + { + "in": "query", + "name": "mode", + "description": "Filter indices by index mode - standard, lookup, time_series, etc. Comma-separated list of IndexMode. Empty means no filter.", + "deprecated": false, + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/indices._types.IndexMode" + }, + { + "type": "array", + "items": { + "$ref": "#/components/schemas/indices._types.IndexMode" + } + } + ] + }, + "style": "form" } ], "responses": { diff --git a/output/schema/schema.json b/output/schema/schema.json index d7186d1d63..469953bc06 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -103081,10 +103081,7 @@ "name": "id" }, { - "aliases": [ - "p" - ], - "description": "The process ID.", + "description": "The process ID.\n* @aliases p", "name": "pid" }, { @@ -165125,9 +165122,36 @@ "namespace": "_builtins" } } + }, + { + "description": "Filter indices by index mode - standard, lookup, time_series, etc. Comma-separated list of IndexMode. Empty means no filter.", + "name": "mode", + "required": false, + "type": { + "kind": "union_of", + "items": [ + { + "kind": "instance_of", + "type": { + "name": "IndexMode", + "namespace": "indices._types" + } + }, + { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "IndexMode", + "namespace": "indices._types" + } + } + } + ] + } } ], - "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L23-L68" + "specLocation": "indices/resolve_index/ResolveIndexRequest.ts#L24-L73" }, { "kind": "interface", diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 75c2ed228e..d5635233db 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -7227,7 +7227,7 @@ export type CatCatNodeColumn = 'build' | 'b' | 'completion.size' | 'cs' | 'compl export type CatCatNodeColumns = CatCatNodeColumn | CatCatNodeColumn[] -export type CatCatNodeattrsColumn = 'node' | 'id' | 'id' | 'nodeId' | 'pid' | 'p' | 'host' | 'h' | 'ip' | 'i' | 'port' | 'po' | 'attr' | 'attr.name' | 'value' | 'attr.value'| string +export type CatCatNodeattrsColumn = 'node' | 'id' | 'id' | 'nodeId' | 'pid' | 'host' | 'h' | 'ip' | 'i' | 'port' | 'po' | 'attr' | 'attr.name' | 'value' | 'attr.value'| string export type CatCatNodeattrsColumns = CatCatNodeattrsColumn | CatCatNodeattrsColumn[] @@ -13319,6 +13319,7 @@ export interface IndicesResolveIndexRequest extends RequestBase { expand_wildcards?: ExpandWildcards ignore_unavailable?: boolean allow_no_indices?: boolean + mode?: IndicesIndexMode | IndicesIndexMode[] } export interface IndicesResolveIndexResolveIndexAliasItem { diff --git a/specification/_json_spec/indices.resolve_index.json b/specification/_json_spec/indices.resolve_index.json index a991093d0b..d3e23cc24b 100644 --- a/specification/_json_spec/indices.resolve_index.json +++ b/specification/_json_spec/indices.resolve_index.json @@ -39,6 +39,12 @@ "type": "boolean", "description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)", "default": true + }, + "mode": { + "type": "enum", + "options": ["standard", "time_series", "logsdb", "lookup"], + "default": "", + "description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter." } } } diff --git a/specification/indices/resolve_index/ResolveIndexRequest.ts b/specification/indices/resolve_index/ResolveIndexRequest.ts index cda77632f7..f8d7f79755 100644 --- a/specification/indices/resolve_index/ResolveIndexRequest.ts +++ b/specification/indices/resolve_index/ResolveIndexRequest.ts @@ -19,6 +19,7 @@ import { RequestBase } from '@_types/Base' import { ExpandWildcards, Names } from '@_types/common' +import { IndexMode } from '@indices/_types/DataStream' /** * Resolve indices. @@ -64,5 +65,9 @@ export interface Request extends RequestBase { * @server_default true */ allow_no_indices?: boolean + /** + * Filter indices by index mode - standard, lookup, time_series, etc. Comma-separated list of IndexMode. Empty means no filter. + */ + mode?: IndexMode | IndexMode[] } }