From 1ed5f4795fc7c4d9875601f883b8d5fb9023c526 Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Thu, 12 Dec 2024 06:24:48 +0000 Subject: [PATCH] Update specification output --- output/openapi/elasticsearch-openapi.json | 44 +++++++++++++++++++ .../elasticsearch-serverless-openapi.json | 44 +++++++++++++++++++ output/schema/schema-serverless.json | 28 +++++++++++- 3 files changed, 115 insertions(+), 1 deletion(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 991a4a8057..6025c9fd5e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -689,6 +689,9 @@ "description": "Performs multiple indexing or delete operations in a single API call.\nThis reduces overhead and can greatly increase indexing speed.", "operationId": "bulk-1", "parameters": [ + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -715,6 +718,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -734,6 +740,9 @@ "description": "Performs multiple indexing or delete operations in a single API call.\nThis reduces overhead and can greatly increase indexing speed.", "operationId": "bulk", "parameters": [ + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -760,6 +769,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -784,6 +796,9 @@ { "$ref": "#/components/parameters/bulk#index" }, + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -810,6 +825,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -832,6 +850,9 @@ { "$ref": "#/components/parameters/bulk#index" }, + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -858,6 +879,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -93140,6 +93164,16 @@ }, "style": "simple" }, + "bulk#list_executed_pipelines": { + "in": "query", + "name": "list_executed_pipelines", + "description": "If `true`, the response will include the ingest pipelines that were executed for each index or create.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "bulk#pipeline": { "in": "query", "name": "pipeline", @@ -93230,6 +93264,16 @@ }, "style": "form" }, + "bulk#require_data_stream": { + "in": "query", + "name": "require_data_stream", + "description": "If `true`, the request's actions must target a data stream (existing or to-be-created).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "cat.aliases#name": { "in": "path", "name": "name", diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index a31ff6004e..d95e728971 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -467,6 +467,9 @@ "description": "Performs multiple indexing or delete operations in a single API call.\nThis reduces overhead and can greatly increase indexing speed.", "operationId": "bulk-1", "parameters": [ + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -493,6 +496,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -512,6 +518,9 @@ "description": "Performs multiple indexing or delete operations in a single API call.\nThis reduces overhead and can greatly increase indexing speed.", "operationId": "bulk", "parameters": [ + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -538,6 +547,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -562,6 +574,9 @@ { "$ref": "#/components/parameters/bulk#index" }, + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -588,6 +603,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -610,6 +628,9 @@ { "$ref": "#/components/parameters/bulk#index" }, + { + "$ref": "#/components/parameters/bulk#list_executed_pipelines" + }, { "$ref": "#/components/parameters/bulk#pipeline" }, @@ -636,6 +657,9 @@ }, { "$ref": "#/components/parameters/bulk#require_alias" + }, + { + "$ref": "#/components/parameters/bulk#require_data_stream" } ], "requestBody": { @@ -57420,6 +57444,16 @@ }, "style": "simple" }, + "bulk#list_executed_pipelines": { + "in": "query", + "name": "list_executed_pipelines", + "description": "If `true`, the response will include the ingest pipelines that were executed for each index or create.", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "bulk#pipeline": { "in": "query", "name": "pipeline", @@ -57510,6 +57544,16 @@ }, "style": "form" }, + "bulk#require_data_stream": { + "in": "query", + "name": "require_data_stream", + "description": "If `true`, the request's actions must target a data stream (existing or to-be-created).", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "cat.aliases#name": { "in": "path", "name": "name", diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index d2965f0936..e88c0c0258 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -11343,6 +11343,19 @@ } ], "query": [ + { + "description": "If `true`, the response will include the ingest pipelines that were executed for each index or create.", + "name": "list_executed_pipelines", + "required": false, + "serverDefault": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "description": "ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request.\nIf a final pipeline is configured it will always run, regardless of the value of this parameter.", "name": "pipeline", @@ -11454,9 +11467,22 @@ "namespace": "_builtins" } } + }, + { + "description": "If `true`, the request's actions must target a data stream (existing or to-be-created).", + "name": "require_data_stream", + "required": false, + "serverDefault": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } } ], - "specLocation": "_global/bulk/BulkRequest.ts#L32-L105" + "specLocation": "_global/bulk/BulkRequest.ts#L32-L115" }, { "body": {