diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 3c652e3434..ff4b660be4 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -8309,18 +8309,9 @@ { "$ref": "#/components/parameters/create-id" }, - { - "$ref": "#/components/parameters/create-if_primary_term" - }, - { - "$ref": "#/components/parameters/create-if_seq_no" - }, { "$ref": "#/components/parameters/create-include_source_on_error" }, - { - "$ref": "#/components/parameters/create-op_type" - }, { "$ref": "#/components/parameters/create-pipeline" }, @@ -8383,18 +8374,9 @@ { "$ref": "#/components/parameters/create-id" }, - { - "$ref": "#/components/parameters/create-if_primary_term" - }, - { - "$ref": "#/components/parameters/create-if_seq_no" - }, { "$ref": "#/components/parameters/create-include_source_on_error" }, - { - "$ref": "#/components/parameters/create-op_type" - }, { "$ref": "#/components/parameters/create-pipeline" }, @@ -10476,6 +10458,9 @@ { "$ref": "#/components/parameters/eql.search-expand_wildcards" }, + { + "$ref": "#/components/parameters/eql.search-ccs_minimize_roundtrips" + }, { "$ref": "#/components/parameters/eql.search-ignore_unavailable" }, @@ -10532,6 +10517,9 @@ { "$ref": "#/components/parameters/eql.search-expand_wildcards" }, + { + "$ref": "#/components/parameters/eql.search-ccs_minimize_roundtrips" + }, { "$ref": "#/components/parameters/eql.search-ignore_unavailable" }, @@ -20357,6 +20345,9 @@ "parameters": [ { "$ref": "#/components/parameters/inference.put-inference_id" + }, + { + "$ref": "#/components/parameters/inference.put-timeout" } ], "requestBody": { @@ -20478,6 +20469,9 @@ }, { "$ref": "#/components/parameters/inference.put-inference_id" + }, + { + "$ref": "#/components/parameters/inference.put-timeout" } ], "requestBody": { @@ -20615,6 +20609,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -20717,6 +20721,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -20809,6 +20823,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -20895,6 +20919,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -20987,6 +21021,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21079,6 +21123,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21171,6 +21225,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21248,6 +21312,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21366,6 +21440,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21462,6 +21546,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21546,6 +21640,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21638,6 +21742,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21730,6 +21844,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21822,6 +21946,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21905,6 +22039,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -21997,6 +22141,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -22089,6 +22243,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -22376,6 +22540,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "The amount of time to wait for the inference request to complete.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -57840,6 +58014,15 @@ "rank_window_size": { "description": "This value determines the size of the individual result sets per query.", "type": "number" + }, + "query": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ @@ -57975,6 +58158,18 @@ }, "rank_window_size": { "type": "number" + }, + "query": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "normalizer": { + "$ref": "#/components/schemas/_types.ScoreNormalizer" } } } @@ -81668,13 +81863,6 @@ "scheduled" ] }, - "_types.OpType": { - "type": "string", - "enum": [ - "index", - "create" - ] - }, "_types.WriteResponseBase": { "type": "object", "properties": { @@ -84223,6 +84411,13 @@ "phase" ] }, + "_types.OpType": { + "type": "string", + "enum": [ + "index", + "create" + ] + }, "indices._types.IndicesBlockOptions": { "type": "string", "enum": [ @@ -116392,26 +116587,6 @@ }, "style": "simple" }, - "create-if_primary_term": { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "create-if_seq_no": { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.SequenceNumber" - }, - "style": "form" - }, "create-include_source_on_error": { "in": "query", "name": "include_source_on_error", @@ -116422,16 +116597,6 @@ }, "style": "form" }, - "create-op_type": { - "in": "query", - "name": "op_type", - "description": "Set to `create` to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nThe behavior is the same as using the `/_create` endpoint.\nIf a document ID is specified, this paramater defaults to `index`.\nOtherwise, it defaults to `create`.\nIf the request targets a data stream, an `op_type` of `create` is required.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.OpType" - }, - "style": "form" - }, "create-pipeline": { "in": "query", "name": "pipeline", @@ -116557,6 +116722,7 @@ "eql.search-allow_no_indices": { "in": "query", "name": "allow_no_indices", + "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)", "deprecated": false, "schema": { "type": "boolean" @@ -116586,12 +116752,23 @@ "eql.search-expand_wildcards": { "in": "query", "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types.ExpandWildcards" }, "style": "form" }, + "eql.search-ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "eql.search-ignore_unavailable": { "in": "query", "name": "ignore_unavailable", @@ -119768,6 +119945,16 @@ }, "style": "simple" }, + "inference.put-timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" + }, "inference.update-inference_id": { "in": "path", "name": "inference_id", diff --git a/output/openapi/elasticsearch-serverless-openapi.json b/output/openapi/elasticsearch-serverless-openapi.json index 391716b30a..e4aba0b882 100644 --- a/output/openapi/elasticsearch-serverless-openapi.json +++ b/output/openapi/elasticsearch-serverless-openapi.json @@ -4178,18 +4178,9 @@ { "$ref": "#/components/parameters/create-id" }, - { - "$ref": "#/components/parameters/create-if_primary_term" - }, - { - "$ref": "#/components/parameters/create-if_seq_no" - }, { "$ref": "#/components/parameters/create-include_source_on_error" }, - { - "$ref": "#/components/parameters/create-op_type" - }, { "$ref": "#/components/parameters/create-pipeline" }, @@ -4252,18 +4243,9 @@ { "$ref": "#/components/parameters/create-id" }, - { - "$ref": "#/components/parameters/create-if_primary_term" - }, - { - "$ref": "#/components/parameters/create-if_seq_no" - }, { "$ref": "#/components/parameters/create-include_source_on_error" }, - { - "$ref": "#/components/parameters/create-op_type" - }, { "$ref": "#/components/parameters/create-pipeline" }, @@ -6029,6 +6011,9 @@ { "$ref": "#/components/parameters/eql.search-expand_wildcards" }, + { + "$ref": "#/components/parameters/eql.search-ccs_minimize_roundtrips" + }, { "$ref": "#/components/parameters/eql.search-ignore_unavailable" }, @@ -6085,6 +6070,9 @@ { "$ref": "#/components/parameters/eql.search-expand_wildcards" }, + { + "$ref": "#/components/parameters/eql.search-ccs_minimize_roundtrips" + }, { "$ref": "#/components/parameters/eql.search-ignore_unavailable" }, @@ -11194,6 +11182,9 @@ "parameters": [ { "$ref": "#/components/parameters/inference.put-inference_id" + }, + { + "$ref": "#/components/parameters/inference.put-timeout" } ], "requestBody": { @@ -11315,6 +11306,9 @@ }, { "$ref": "#/components/parameters/inference.put-inference_id" + }, + { + "$ref": "#/components/parameters/inference.put-timeout" } ], "requestBody": { @@ -11452,6 +11446,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -11554,6 +11558,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -11646,6 +11660,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -11732,6 +11756,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -11824,6 +11858,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -11916,6 +11960,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12008,6 +12062,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12085,6 +12149,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12203,6 +12277,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12299,6 +12383,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12383,6 +12477,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12475,6 +12579,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12567,6 +12681,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12659,6 +12783,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12742,6 +12876,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12834,6 +12978,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -12926,6 +13080,16 @@ "$ref": "#/components/schemas/_types.Id" }, "style": "simple" + }, + { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" } ], "requestBody": { @@ -34485,6 +34649,15 @@ "rank_window_size": { "description": "This value determines the size of the individual result sets per query.", "type": "number" + }, + "query": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "string" + } } }, "required": [ @@ -34620,6 +34793,18 @@ }, "rank_window_size": { "type": "number" + }, + "query": { + "type": "string" + }, + "fields": { + "type": "array", + "items": { + "type": "string" + } + }, + "normalizer": { + "$ref": "#/components/schemas/_types.ScoreNormalizer" } } } @@ -52835,13 +53020,6 @@ "scheduled" ] }, - "_types.OpType": { - "type": "string", - "enum": [ - "index", - "create" - ] - }, "_types.WriteResponseBase": { "type": "object", "properties": { @@ -53761,6 +53939,13 @@ "weight" ] }, + "_types.OpType": { + "type": "string", + "enum": [ + "index", + "create" + ] + }, "indices._types.IndicesBlockOptions": { "type": "string", "enum": [ @@ -70103,26 +70288,6 @@ }, "style": "simple" }, - "create-if_primary_term": { - "in": "query", - "name": "if_primary_term", - "description": "Only perform the operation if the document has this primary term.", - "deprecated": false, - "schema": { - "type": "number" - }, - "style": "form" - }, - "create-if_seq_no": { - "in": "query", - "name": "if_seq_no", - "description": "Only perform the operation if the document has this sequence number.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.SequenceNumber" - }, - "style": "form" - }, "create-include_source_on_error": { "in": "query", "name": "include_source_on_error", @@ -70133,16 +70298,6 @@ }, "style": "form" }, - "create-op_type": { - "in": "query", - "name": "op_type", - "description": "Set to `create` to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nThe behavior is the same as using the `/_create` endpoint.\nIf a document ID is specified, this paramater defaults to `index`.\nOtherwise, it defaults to `create`.\nIf the request targets a data stream, an `op_type` of `create` is required.", - "deprecated": false, - "schema": { - "$ref": "#/components/schemas/_types.OpType" - }, - "style": "form" - }, "create-pipeline": { "in": "query", "name": "pipeline", @@ -70268,6 +70423,7 @@ "eql.search-allow_no_indices": { "in": "query", "name": "allow_no_indices", + "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)", "deprecated": false, "schema": { "type": "boolean" @@ -70297,12 +70453,23 @@ "eql.search-expand_wildcards": { "in": "query", "name": "expand_wildcards", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "deprecated": false, "schema": { "$ref": "#/components/schemas/_types.ExpandWildcards" }, "style": "form" }, + "eql.search-ccs_minimize_roundtrips": { + "in": "query", + "name": "ccs_minimize_roundtrips", + "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "deprecated": false, + "schema": { + "type": "boolean" + }, + "style": "form" + }, "eql.search-ignore_unavailable": { "in": "query", "name": "ignore_unavailable", @@ -71868,6 +72035,16 @@ }, "style": "simple" }, + "inference.put-timeout": { + "in": "query", + "name": "timeout", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types.Duration" + }, + "style": "form" + }, "ingest.get_pipeline-id": { "in": "path", "name": "id", diff --git a/output/schema/schema.json b/output/schema/schema.json index d00daa8ad3..e210fa328b 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -26197,34 +26197,6 @@ } ], "query": [ - { - "description": "Only perform the operation if the document has this primary term.", - "extDocId": "optimistic-concurrency", - "extDocUrl": "https://www.elastic.co/docs/reference/elasticsearch/rest-apis/optimistic-concurrency-control", - "name": "if_primary_term", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "long", - "namespace": "_types" - } - } - }, - { - "description": "Only perform the operation if the document has this sequence number.", - "extDocId": "optimistic-concurrency", - "extDocUrl": "https://www.elastic.co/docs/reference/elasticsearch/rest-apis/optimistic-concurrency-control", - "name": "if_seq_no", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "SequenceNumber", - "namespace": "_types" - } - } - }, { "description": "True or false if to include the document source in the error message in case of parsing errors.", "name": "include_source_on_error", @@ -26238,18 +26210,6 @@ } } }, - { - "description": "Set to `create` to only index the document if it does not already exist (put if absent).\nIf a document with the specified `_id` already exists, the indexing operation will fail.\nThe behavior is the same as using the `/_create` endpoint.\nIf a document ID is specified, this paramater defaults to `index`.\nOtherwise, it defaults to `create`.\nIf the request targets a data stream, an `op_type` of `create` is required.", - "name": "op_type", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "OpType", - "namespace": "_types" - } - } - }, { "description": "The ID of the pipeline to use to preprocess incoming documents.\nIf the index has a default ingest pipeline specified, setting the value to `_none` turns off 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", @@ -26364,7 +26324,7 @@ } } ], - "specLocation": "_global/create/CreateRequest.ts#L35-L221" + "specLocation": "_global/create/CreateRequest.ts#L32-L199" }, { "kind": "response", @@ -53194,7 +53154,7 @@ } } ], - "specLocation": "_types/Retriever.ts#L82-L86" + "specLocation": "_types/Retriever.ts#L85-L89" }, { "kind": "type_alias", @@ -53450,7 +53410,7 @@ } } ], - "specLocation": "_types/Retriever.ts#L112-L130" + "specLocation": "_types/Retriever.ts#L115-L133" }, { "kind": "interface", @@ -53715,9 +53675,45 @@ "namespace": "_types" } } + }, + { + "name": "query", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, + { + "name": "fields", + "required": false, + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + } + }, + { + "name": "normalizer", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "ScoreNormalizer", + "namespace": "_types" + } + } } ], - "specLocation": "_types/Retriever.ts#L68-L72" + "specLocation": "_types/Retriever.ts#L68-L75" }, { "kind": "type_alias", @@ -54740,7 +54736,7 @@ } } ], - "specLocation": "_types/Retriever.ts#L74-L80" + "specLocation": "_types/Retriever.ts#L77-L83" }, { "kind": "type_alias", @@ -55083,9 +55079,34 @@ "namespace": "_types" } } + }, + { + "name": "query", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + }, + { + "name": "fields", + "required": false, + "type": { + "kind": "array_of", + "value": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + } + } } ], - "specLocation": "_types/Retriever.ts#L132-L139" + "specLocation": "_types/Retriever.ts#L135-L144" }, { "kind": "interface", @@ -55853,7 +55874,7 @@ } } ], - "specLocation": "_types/Retriever.ts#L154-L163" + "specLocation": "_types/Retriever.ts#L159-L168" }, { "kind": "type_alias", @@ -55928,7 +55949,7 @@ "name": "ScoreNormalizer", "namespace": "_types" }, - "specLocation": "_types/Retriever.ts#L88-L92" + "specLocation": "_types/Retriever.ts#L91-L95" }, { "kind": "interface", @@ -57462,7 +57483,7 @@ } } ], - "specLocation": "_types/Retriever.ts#L94-L97" + "specLocation": "_types/Retriever.ts#L97-L100" }, { "kind": "interface", @@ -57538,7 +57559,7 @@ } } ], - "specLocation": "_types/Retriever.ts#L99-L110" + "specLocation": "_types/Retriever.ts#L102-L113" }, { "kind": "interface", @@ -57906,7 +57927,7 @@ } } ], - "specLocation": "_types/Retriever.ts#L141-L152" + "specLocation": "_types/Retriever.ts#L146-L157" }, { "kind": "enum", @@ -135725,6 +135746,7 @@ ], "query": [ { + "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)", "name": "allow_no_indices", "required": false, "serverDefault": true, @@ -135763,6 +135785,7 @@ } }, { + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", "name": "expand_wildcards", "required": false, "serverDefault": "open", @@ -135774,6 +135797,19 @@ } } }, + { + "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "name": "ccs_minimize_roundtrips", + "required": false, + "serverDefault": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "_builtins" + } + } + }, { "description": "If true, missing or closed indices are not included in the response.", "name": "ignore_unavailable", @@ -135826,7 +135862,7 @@ } } ], - "specLocation": "eql/search/EqlSearchRequest.ts#L28-L161" + "specLocation": "eql/search/EqlSearchRequest.ts#L28-L166" }, { "kind": "response", @@ -170801,8 +170837,22 @@ } } ], - "query": [], - "specLocation": "inference/put/PutRequest.ts#L25-L79" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put/PutRequest.ts#L26-L87" }, { "kind": "response", @@ -171050,8 +171100,22 @@ } } ], - "query": [], - "specLocation": "inference/put_alibabacloud/PutAlibabaCloudRequest.ts#L30-L77" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_alibabacloud/PutAlibabaCloudRequest.ts#L31-L85" }, { "kind": "response", @@ -171235,8 +171299,22 @@ } } ], - "query": [], - "specLocation": "inference/put_amazonbedrock/PutAmazonBedrockRequest.ts#L30-L80" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_amazonbedrock/PutAmazonBedrockRequest.ts#L31-L88" }, { "kind": "response", @@ -171387,8 +171465,22 @@ } } ], - "query": [], - "specLocation": "inference/put_anthropic/PutAnthropicRequest.ts#L30-L78" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_anthropic/PutAnthropicRequest.ts#L31-L86" }, { "kind": "response", @@ -171572,8 +171664,22 @@ } } ], - "query": [], - "specLocation": "inference/put_azureaistudio/PutAzureAiStudioRequest.ts#L30-L77" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_azureaistudio/PutAzureAiStudioRequest.ts#L31-L85" }, { "kind": "response", @@ -171757,8 +171863,22 @@ } } ], - "query": [], - "specLocation": "inference/put_azureopenai/PutAzureOpenAiRequest.ts#L30-L85" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_azureopenai/PutAzureOpenAiRequest.ts#L31-L93" }, { "kind": "response", @@ -171942,8 +172062,22 @@ } } ], - "query": [], - "specLocation": "inference/put_cohere/PutCohereRequest.ts#L30-L78" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_cohere/PutCohereRequest.ts#L31-L86" }, { "kind": "response", @@ -172049,8 +172183,22 @@ } } ], - "query": [], - "specLocation": "inference/put_deepseek/PutDeepSeekRequest.ts#L29-L72" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_deepseek/PutDeepSeekRequest.ts#L30-L80" }, { "kind": "response", @@ -172362,8 +172510,22 @@ } } ], - "query": [], - "specLocation": "inference/put_elasticsearch/PutElasticsearchRequest.ts#L30-L91" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_elasticsearch/PutElasticsearchRequest.ts#L31-L99" }, { "kind": "response", @@ -172545,8 +172707,22 @@ } } ], - "query": [], - "specLocation": "inference/put_elser/PutElserRequest.ts#L29-L86" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_elser/PutElserRequest.ts#L30-L94" }, { "kind": "response", @@ -172692,8 +172868,22 @@ } } ], - "query": [], - "specLocation": "inference/put_googleaistudio/PutGoogleAiStudioRequest.ts#L29-L71" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_googleaistudio/PutGoogleAiStudioRequest.ts#L30-L79" }, { "kind": "response", @@ -172877,8 +173067,22 @@ } } ], - "query": [], - "specLocation": "inference/put_googlevertexai/PutGoogleVertexAiRequest.ts#L30-L77" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_googlevertexai/PutGoogleVertexAiRequest.ts#L31-L85" }, { "kind": "response", @@ -173062,8 +173266,22 @@ } } ], - "query": [], - "specLocation": "inference/put_hugging_face/PutHuggingFaceRequest.ts#L30-L113" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_hugging_face/PutHuggingFaceRequest.ts#L31-L121" }, { "kind": "response", @@ -173247,8 +173465,22 @@ } } ], - "query": [], - "specLocation": "inference/put_jinaai/PutJinaAiRequest.ts#L30-L80" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_jinaai/PutJinaAiRequest.ts#L31-L88" }, { "kind": "response", @@ -173387,8 +173619,22 @@ } } ], - "query": [], - "specLocation": "inference/put_mistral/PutMistralRequest.ts#L29-L71" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_mistral/PutMistralRequest.ts#L30-L79" }, { "kind": "response", @@ -173572,8 +173818,22 @@ } } ], - "query": [], - "specLocation": "inference/put_openai/PutOpenAiRequest.ts#L30-L78" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_openai/PutOpenAiRequest.ts#L31-L86" }, { "kind": "response", @@ -173757,8 +174017,22 @@ } } ], - "query": [], - "specLocation": "inference/put_voyageai/PutVoyageAIRequest.ts#L30-L79" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_voyageai/PutVoyageAIRequest.ts#L31-L87" }, { "kind": "response", @@ -173883,8 +174157,22 @@ } } ], - "query": [], - "specLocation": "inference/put_watsonx/PutWatsonxRequest.ts#L28-L67" + "query": [ + { + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/put_watsonx/PutWatsonxRequest.ts#L29-L75" }, { "kind": "response", @@ -174401,8 +174689,22 @@ } } ], - "query": [], - "specLocation": "inference/stream_completion/StreamInferenceRequest.ts#L24-L63" + "query": [ + { + "description": "The amount of time to wait for the inference request to complete.", + "name": "timeout", + "required": false, + "serverDefault": "30s", + "type": { + "kind": "instance_of", + "type": { + "name": "Duration", + "namespace": "_types" + } + } + } + ], + "specLocation": "inference/stream_completion/StreamInferenceRequest.ts#L25-L71" }, { "kind": "response", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 7ef79abf8c..b1c79962ec 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1,23 +1,5 @@ { "endpointErrors": { - "create": { - "request": [ - "Request: query parameter 'if_primary_term' does not exist in the json spec", - "Request: query parameter 'if_seq_no' does not exist in the json spec", - "Request: query parameter 'op_type' does not exist in the json spec", - "Request: query parameter 'require_alias' does not exist in the json spec", - "Request: query parameter 'require_data_stream' does not exist in the json spec" - ], - "response": [] - }, - "eql.search": { - "request": [ - "Request: query parameter 'allow_no_indices' does not exist in the json spec", - "Request: query parameter 'expand_wildcards' does not exist in the json spec", - "Request: query parameter 'ignore_unavailable' does not exist in the json spec" - ], - "response": [] - }, "esql.async_query_get": { "request": [ "Request: query parameter 'format' does not exist in the json spec" @@ -47,12 +29,6 @@ ], "response": [] }, - "snapshot.repository_analyze": { - "request": [ - "Request: query parameter 'register_operation_count' does not exist in the json spec" - ], - "response": [] - }, "xpack.info": { "request": [ "request definition xpack.info:Request / query - Property 'human' is already defined in an ancestor class" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index d8a1977c99..1692f35700 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -159,10 +159,7 @@ export interface CountResponse { export interface CreateRequest extends RequestBase { id: Id index: IndexName - if_primary_term?: long - if_seq_no?: SequenceNumber include_source_on_error?: boolean - op_type?: OpType pipeline?: string refresh?: Refresh require_alias?: boolean @@ -2545,6 +2542,9 @@ export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED' export interface LinearRetriever extends RetrieverBase { retrievers?: InnerRetriever[] rank_window_size?: integer + query?: string + fields?: string[] + normalizer?: ScoreNormalizer } export type MapboxVectorTiles = ArrayBuffer @@ -2679,6 +2679,8 @@ export interface RRFRetriever extends RetrieverBase { retrievers: RetrieverContainer[] rank_constant?: integer rank_window_size?: integer + query?: string + fields?: string[] } export interface RankBase { @@ -10822,6 +10824,7 @@ export interface EqlSearchRequest extends RequestBase { allow_partial_search_results?: boolean allow_partial_sequence_results?: boolean expand_wildcards?: ExpandWildcards + ccs_minimize_roundtrips?: boolean ignore_unavailable?: boolean keep_alive?: Duration keep_on_completion?: boolean @@ -14169,6 +14172,7 @@ export type InferencePutResponse = InferenceInferenceEndpointInfo export interface InferencePutAlibabacloudRequest extends RequestBase { task_type: InferenceAlibabaCloudTaskType alibabacloud_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceAlibabaCloudServiceType @@ -14182,6 +14186,7 @@ export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfoAli export interface InferencePutAmazonbedrockRequest extends RequestBase { task_type: InferenceAmazonBedrockTaskType amazonbedrock_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceAmazonBedrockServiceType @@ -14195,6 +14200,7 @@ export type InferencePutAmazonbedrockResponse = InferenceInferenceEndpointInfoAm export interface InferencePutAnthropicRequest extends RequestBase { task_type: InferenceAnthropicTaskType anthropic_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceAnthropicServiceType @@ -14208,6 +14214,7 @@ export type InferencePutAnthropicResponse = InferenceInferenceEndpointInfoAnthro export interface InferencePutAzureaistudioRequest extends RequestBase { task_type: InferenceAzureAiStudioTaskType azureaistudio_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceAzureAiStudioServiceType @@ -14221,6 +14228,7 @@ export type InferencePutAzureaistudioResponse = InferenceInferenceEndpointInfoAz export interface InferencePutAzureopenaiRequest extends RequestBase { task_type: InferenceAzureOpenAITaskType azureopenai_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceAzureOpenAIServiceType @@ -14234,6 +14242,7 @@ export type InferencePutAzureopenaiResponse = InferenceInferenceEndpointInfoAzur export interface InferencePutCohereRequest extends RequestBase { task_type: InferenceCohereTaskType cohere_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceCohereServiceType @@ -14247,6 +14256,7 @@ export type InferencePutCohereResponse = InferenceInferenceEndpointInfoCohere export interface InferencePutDeepseekRequest extends RequestBase { task_type: InferenceTaskTypeDeepSeek deepseek_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceDeepSeekServiceType @@ -14259,6 +14269,7 @@ export type InferencePutDeepseekResponse = InferenceInferenceEndpointInfoDeepSee export interface InferencePutElasticsearchRequest extends RequestBase { task_type: InferenceElasticsearchTaskType elasticsearch_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceElasticsearchServiceType @@ -14272,6 +14283,7 @@ export type InferencePutElasticsearchResponse = InferenceInferenceEndpointInfoEl export interface InferencePutElserRequest extends RequestBase { task_type: InferenceElserTaskType elser_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceElserServiceType @@ -14284,6 +14296,7 @@ export type InferencePutElserResponse = InferenceInferenceEndpointInfoELSER export interface InferencePutGoogleaistudioRequest extends RequestBase { task_type: InferenceGoogleAiStudioTaskType googleaistudio_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceGoogleAiServiceType @@ -14296,6 +14309,7 @@ export type InferencePutGoogleaistudioResponse = InferenceInferenceEndpointInfoG export interface InferencePutGooglevertexaiRequest extends RequestBase { task_type: InferenceGoogleVertexAITaskType googlevertexai_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceGoogleVertexAIServiceType @@ -14309,6 +14323,7 @@ export type InferencePutGooglevertexaiResponse = InferenceInferenceEndpointInfoG export interface InferencePutHuggingFaceRequest extends RequestBase { task_type: InferenceHuggingFaceTaskType huggingface_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceHuggingFaceServiceType @@ -14322,6 +14337,7 @@ export type InferencePutHuggingFaceResponse = InferenceInferenceEndpointInfoHugg export interface InferencePutJinaaiRequest extends RequestBase { task_type: InferenceJinaAITaskType jinaai_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceJinaAIServiceType @@ -14335,6 +14351,7 @@ export type InferencePutJinaaiResponse = InferenceInferenceEndpointInfoJinaAi export interface InferencePutMistralRequest extends RequestBase { task_type: InferenceMistralTaskType mistral_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceMistralServiceType @@ -14347,6 +14364,7 @@ export type InferencePutMistralResponse = InferenceInferenceEndpointInfoMistral export interface InferencePutOpenaiRequest extends RequestBase { task_type: InferenceOpenAITaskType openai_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceOpenAIServiceType @@ -14360,6 +14378,7 @@ export type InferencePutOpenaiResponse = InferenceInferenceEndpointInfoOpenAI export interface InferencePutVoyageaiRequest extends RequestBase { task_type: InferenceVoyageAITaskType voyageai_inference_id: Id + timeout?: Duration body?: { chunking_settings?: InferenceInferenceChunkingSettings service: InferenceVoyageAIServiceType @@ -14373,6 +14392,7 @@ export type InferencePutVoyageaiResponse = InferenceInferenceEndpointInfoVoyageA export interface InferencePutWatsonxRequest extends RequestBase { task_type: InferenceWatsonxTaskType watsonx_inference_id: Id + timeout?: Duration body?: { service: InferenceWatsonxServiceType service_settings: InferenceWatsonxServiceSettings @@ -14406,6 +14426,7 @@ export type InferenceSparseEmbeddingResponse = InferenceSparseEmbeddingInference export interface InferenceStreamCompletionRequest extends RequestBase { inference_id: Id + timeout?: Duration body?: { input: string | string[] task_settings?: InferenceTaskSettings diff --git a/specification/_global/create/CreateRequest.ts b/specification/_global/create/CreateRequest.ts index 35dcdcb72d..06e19ff024 100644 --- a/specification/_global/create/CreateRequest.ts +++ b/specification/_global/create/CreateRequest.ts @@ -21,15 +21,12 @@ import { RequestBase } from '@_types/Base' import { Id, IndexName, - OpType, Refresh, Routing, - SequenceNumber, VersionNumber, VersionType, WaitForActiveShards } from '@_types/common' -import { long } from '@_types/Numeric' import { Duration } from '@_types/Time' /** @@ -134,30 +131,11 @@ export interface Request extends RequestBase { index: IndexName } query_parameters: { - /** - * Only perform the operation if the document has this primary term. - * @ext_doc_id optimistic-concurrency - */ - if_primary_term?: long - /** - * Only perform the operation if the document has this sequence number. - * @ext_doc_id optimistic-concurrency - */ - if_seq_no?: SequenceNumber /** * True or false if to include the document source in the error message in case of parsing errors. * @server_default true */ include_source_on_error?: boolean - /** - * Set to `create` to only index the document if it does not already exist (put if absent). - * If a document with the specified `_id` already exists, the indexing operation will fail. - * The behavior is the same as using the `/_create` endpoint. - * If a document ID is specified, this paramater defaults to `index`. - * Otherwise, it defaults to `create`. - * If the request targets a data stream, an `op_type` of `create` is required. - */ - op_type?: OpType /** * The ID of the pipeline to use to preprocess incoming documents. * If the index has a default ingest pipeline specified, setting the value to `_none` turns off the default ingest pipeline for this request. diff --git a/specification/_json_spec/create.json b/specification/_json_spec/create.json index ffa5e0f26e..03038a9366 100644 --- a/specification/_json_spec/create.json +++ b/specification/_json_spec/create.json @@ -62,6 +62,14 @@ "include_source_on_error": { "type": "boolean", "description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true." + }, + "require_alias": { + "type": "boolean", + "description": "When true, requires destination to be an alias. Default is false" + }, + "require_data_stream": { + "type": "boolean", + "description": "When true, requires destination to be a data stream (existing or to be created). Default is false" } }, "body": { diff --git a/specification/_json_spec/eql.search.json b/specification/_json_spec/eql.search.json index 1d9831a6e8..92568e69b1 100644 --- a/specification/_json_spec/eql.search.json +++ b/specification/_json_spec/eql.search.json @@ -48,6 +48,25 @@ "type": "boolean", "description": "Control whether a sequence query should return partial results or no results at all in case of shard failures. This option has effect only if [allow_partial_search_results] is true.", "default": false + }, + "ccs_minimize_roundtrips": { + "type": "boolean", + "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", + "default": true + }, + "ignore_unavailable": { + "type": "boolean", + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)" + }, + "allow_no_indices": { + "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)" + }, + "expand_wildcards": { + "type": "enum", + "options": ["open", "closed", "hidden", "none", "all"], + "default": "open", + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." } }, "body": { diff --git a/specification/_json_spec/snapshot.repository_analyze.json b/specification/_json_spec/snapshot.repository_analyze.json index d80c4bc122..2967e427be 100644 --- a/specification/_json_spec/snapshot.repository_analyze.json +++ b/specification/_json_spec/snapshot.repository_analyze.json @@ -32,6 +32,10 @@ "type": "number", "description": "Number of operations to run concurrently during the test. Defaults to 10." }, + "register_operation_count": { + "type": "number", + "description": "The minimum number of linearizable register operations to perform in total. Defaults to 10." + }, "read_node_count": { "type": "number", "description": "Number of nodes on which to read a blob after writing. Defaults to 10." diff --git a/specification/eql/search/EqlSearchRequest.ts b/specification/eql/search/EqlSearchRequest.ts index bea2938a0b..7365746f20 100644 --- a/specification/eql/search/EqlSearchRequest.ts +++ b/specification/eql/search/EqlSearchRequest.ts @@ -65,6 +65,11 @@ export interface Request extends RequestBase { * @server_default open */ expand_wildcards?: ExpandWildcards + /** + * Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution + * @server_default true + */ + ccs_minimize_roundtrips?: boolean /** * If true, missing or closed indices are not included in the response. * @server_default true