From cee18356cad02815ba5851abe9a196f7a822bc77 Mon Sep 17 00:00:00 2001 From: delvedor Date: Fri, 10 Sep 2021 15:18:52 +0200 Subject: [PATCH 1/3] Remove indices.freeze and indices.unfreeze --- output/schema/schema.json | 294 +----------------- output/schema/validation-errors.json | 4 +- output/typescript/types.ts | 28 -- .../indices/freeze/IndicesFreezeRequest.ts | 41 --- .../indices/freeze/IndicesFreezeResponse.ts | 26 -- .../unfreeze/IndicesUnfreezeRequest.ts | 41 --- .../unfreeze/IndicesUnfreezeResponse.ts | 26 -- 7 files changed, 6 insertions(+), 454 deletions(-) delete mode 100644 specification/indices/freeze/IndicesFreezeRequest.ts delete mode 100644 specification/indices/freeze/IndicesFreezeResponse.ts delete mode 100644 specification/indices/unfreeze/IndicesUnfreezeRequest.ts delete mode 100644 specification/indices/unfreeze/IndicesUnfreezeResponse.ts diff --git a/output/schema/schema.json b/output/schema/schema.json index 703413f2c2..5f2e64624f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -4214,16 +4214,9 @@ "description": "Freezes an index. A frozen index has almost no overhead on the cluster (except for maintaining its metadata in memory) and is read-only.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html", "name": "indices.freeze", - "request": { - "name": "Request", - "namespace": "indices.freeze" - }, + "request": null, "requestBodyRequired": false, - "response": { - "name": "Response", - "namespace": "indices.freeze" - }, - "since": "6.6.0", + "response": null, "stability": "stable", "urls": [ { @@ -5202,16 +5195,9 @@ "description": "Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html", "name": "indices.unfreeze", - "request": { - "name": "Request", - "namespace": "indices.unfreeze" - }, + "request": null, "requestBodyRequired": false, - "response": { - "name": "Response", - "namespace": "indices.unfreeze" - }, - "since": "6.6.0", + "response": null, "stability": "stable", "urls": [ { @@ -88464,142 +88450,6 @@ "namespace": "indices.forcemerge" } }, - { - "attachedBehaviors": [ - "CommonQueryParameters" - ], - "body": { - "kind": "no_body" - }, - "inherits": { - "type": { - "name": "RequestBase", - "namespace": "_types" - } - }, - "kind": "request", - "name": { - "name": "Request", - "namespace": "indices.freeze" - }, - "path": [ - { - "description": "The name of the index to freeze", - "name": "index", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "IndexName", - "namespace": "_types" - } - } - } - ], - "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, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - }, - { - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "name": "expand_wildcards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "ExpandWildcards", - "namespace": "_types" - } - } - }, - { - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "name": "ignore_unavailable", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - }, - { - "description": "Specify timeout for connection to master", - "name": "master_timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Time", - "namespace": "_types" - } - } - }, - { - "description": "Explicit operation timeout", - "name": "timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Time", - "namespace": "_types" - } - } - }, - { - "description": "Sets the number of active shards to wait for before the operation returns.", - "name": "wait_for_active_shards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "WaitForActiveShards", - "namespace": "_types" - } - } - } - ] - }, - { - "body": { - "kind": "properties", - "properties": [ - { - "name": "shards_acknowledged", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - } - ] - }, - "inherits": { - "type": { - "name": "AcknowledgedResponseBase", - "namespace": "_types" - } - }, - "kind": "response", - "name": { - "name": "Response", - "namespace": "indices.freeze" - } - }, { "attachedBehaviors": [ "CommonQueryParameters" @@ -95803,142 +95653,6 @@ } ] }, - { - "attachedBehaviors": [ - "CommonQueryParameters" - ], - "body": { - "kind": "no_body" - }, - "inherits": { - "type": { - "name": "RequestBase", - "namespace": "_types" - } - }, - "kind": "request", - "name": { - "name": "Request", - "namespace": "indices.unfreeze" - }, - "path": [ - { - "description": "The name of the index to unfreeze", - "name": "index", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "IndexName", - "namespace": "_types" - } - } - } - ], - "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, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - }, - { - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "name": "expand_wildcards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "ExpandWildcards", - "namespace": "_types" - } - } - }, - { - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "name": "ignore_unavailable", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - }, - { - "description": "Specify timeout for connection to master", - "name": "master_timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Time", - "namespace": "_types" - } - } - }, - { - "description": "Explicit operation timeout", - "name": "timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Time", - "namespace": "_types" - } - } - }, - { - "description": "Sets the number of active shards to wait for before the operation returns.", - "name": "wait_for_active_shards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "internal" - } - } - } - ] - }, - { - "body": { - "kind": "properties", - "properties": [ - { - "name": "shards_acknowledged", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - } - ] - }, - "inherits": { - "type": { - "name": "AcknowledgedResponseBase", - "namespace": "_types" - } - }, - "kind": "response", - "name": { - "name": "Response", - "namespace": "indices.unfreeze" - } - }, { "kind": "interface", "name": { diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index d2c19256b5..681eab2c9a 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -981,7 +981,7 @@ }, "indices.freeze": { "request": [ - "Request: should not have a body" + "Missing request & response" ], "response": [] }, @@ -1154,7 +1154,7 @@ }, "indices.unfreeze": { "request": [ - "Request: should not have a body" + "Missing request & response" ], "response": [] }, diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 1252a3fe67..58f4afd539 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -8771,20 +8771,6 @@ export interface IndicesForcemergeRequest extends RequestBase { export interface IndicesForcemergeResponse extends ShardsOperationResponseBase { } -export interface IndicesFreezeRequest extends RequestBase { - index: IndexName - allow_no_indices?: boolean - expand_wildcards?: ExpandWildcards - ignore_unavailable?: boolean - master_timeout?: Time - timeout?: Time - wait_for_active_shards?: WaitForActiveShards -} - -export interface IndicesFreezeResponse extends AcknowledgedResponseBase { - shards_acknowledged: boolean -} - export interface IndicesGetRequest extends RequestBase { index: Indices allow_no_indices?: boolean @@ -9557,20 +9543,6 @@ export interface IndicesStatsShardStats { bulk?: BulkStats } -export interface IndicesUnfreezeRequest extends RequestBase { - index: IndexName - allow_no_indices?: boolean - expand_wildcards?: ExpandWildcards - ignore_unavailable?: boolean - master_timeout?: Time - timeout?: Time - wait_for_active_shards?: string -} - -export interface IndicesUnfreezeResponse extends AcknowledgedResponseBase { - shards_acknowledged: boolean -} - export interface IndicesUpdateAliasesIndicesUpdateAliasBulk { [key: string]: never } diff --git a/specification/indices/freeze/IndicesFreezeRequest.ts b/specification/indices/freeze/IndicesFreezeRequest.ts deleted file mode 100644 index be93357884..0000000000 --- a/specification/indices/freeze/IndicesFreezeRequest.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { RequestBase } from '@_types/Base' -import { ExpandWildcards, IndexName, WaitForActiveShards } from '@_types/common' -import { Time } from '@_types/Time' - -/** - * @rest_spec_name indices.freeze - * @since 6.6.0 - * @stability stable - */ -export interface Request extends RequestBase { - path_parts: { - index: IndexName - } - query_parameters: { - allow_no_indices?: boolean - expand_wildcards?: ExpandWildcards - ignore_unavailable?: boolean - master_timeout?: Time - timeout?: Time - wait_for_active_shards?: WaitForActiveShards - } -} diff --git a/specification/indices/freeze/IndicesFreezeResponse.ts b/specification/indices/freeze/IndicesFreezeResponse.ts deleted file mode 100644 index e2e09f6530..0000000000 --- a/specification/indices/freeze/IndicesFreezeResponse.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { AcknowledgedResponseBase } from '@_types/Base' - -export class Response extends AcknowledgedResponseBase { - body: { - shards_acknowledged: boolean - } -} diff --git a/specification/indices/unfreeze/IndicesUnfreezeRequest.ts b/specification/indices/unfreeze/IndicesUnfreezeRequest.ts deleted file mode 100644 index c76c1efd0c..0000000000 --- a/specification/indices/unfreeze/IndicesUnfreezeRequest.ts +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { RequestBase } from '@_types/Base' -import { ExpandWildcards, IndexName } from '@_types/common' -import { Time } from '@_types/Time' - -/** - * @rest_spec_name indices.unfreeze - * @since 6.6.0 - * @stability stable - */ -export interface Request extends RequestBase { - path_parts: { - index: IndexName - } - query_parameters: { - allow_no_indices?: boolean - expand_wildcards?: ExpandWildcards - ignore_unavailable?: boolean - master_timeout?: Time - timeout?: Time - wait_for_active_shards?: string - } -} diff --git a/specification/indices/unfreeze/IndicesUnfreezeResponse.ts b/specification/indices/unfreeze/IndicesUnfreezeResponse.ts deleted file mode 100644 index e2e09f6530..0000000000 --- a/specification/indices/unfreeze/IndicesUnfreezeResponse.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Licensed to Elasticsearch B.V. under one or more contributor - * license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright - * ownership. Elasticsearch B.V. licenses this file to you under - * the Apache License, Version 2.0 (the "License"); you may - * not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import { AcknowledgedResponseBase } from '@_types/Base' - -export class Response extends AcknowledgedResponseBase { - body: { - shards_acknowledged: boolean - } -} From abb62997d5a01fa30aafe44fa8b60627c47c79d7 Mon Sep 17 00:00:00 2001 From: delvedor Date: Fri, 10 Sep 2021 15:49:36 +0200 Subject: [PATCH 2/3] Add back unfreeze --- output/schema/schema.json | 147 +++++++++++++++++- output/schema/validation-errors.json | 2 +- output/typescript/types.ts | 14 ++ .../unfreeze/IndicesUnfreezeRequest.ts | 41 +++++ .../unfreeze/IndicesUnfreezeResponse.ts | 26 ++++ 5 files changed, 227 insertions(+), 3 deletions(-) create mode 100644 specification/indices/unfreeze/IndicesUnfreezeRequest.ts create mode 100644 specification/indices/unfreeze/IndicesUnfreezeResponse.ts diff --git a/output/schema/schema.json b/output/schema/schema.json index 5f2e64624f..fd14d05029 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -5195,9 +5195,16 @@ "description": "Unfreezes an index. When a frozen index is unfrozen, the index goes through the normal recovery process and becomes writeable again.", "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html", "name": "indices.unfreeze", - "request": null, + "request": { + "name": "Request", + "namespace": "indices.unfreeze" + }, "requestBodyRequired": false, - "response": null, + "response": { + "name": "Response", + "namespace": "indices.unfreeze" + }, + "since": "6.6.0", "stability": "stable", "urls": [ { @@ -95653,6 +95660,142 @@ } ] }, + { + "attachedBehaviors": [ + "CommonQueryParameters" + ], + "body": { + "kind": "no_body" + }, + "inherits": { + "type": { + "name": "RequestBase", + "namespace": "_types" + } + }, + "kind": "request", + "name": { + "name": "Request", + "namespace": "indices.unfreeze" + }, + "path": [ + { + "description": "The name of the index to unfreeze", + "name": "index", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "IndexName", + "namespace": "_types" + } + } + } + ], + "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, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "internal" + } + } + }, + { + "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", + "name": "expand_wildcards", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "ExpandWildcards", + "namespace": "_types" + } + } + }, + { + "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", + "name": "ignore_unavailable", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "internal" + } + } + }, + { + "description": "Specify timeout for connection to master", + "name": "master_timeout", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Time", + "namespace": "_types" + } + } + }, + { + "description": "Explicit operation timeout", + "name": "timeout", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "Time", + "namespace": "_types" + } + } + }, + { + "description": "Sets the number of active shards to wait for before the operation returns.", + "name": "wait_for_active_shards", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "internal" + } + } + } + ] + }, + { + "body": { + "kind": "properties", + "properties": [ + { + "name": "shards_acknowledged", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "boolean", + "namespace": "internal" + } + } + } + ] + }, + "inherits": { + "type": { + "name": "AcknowledgedResponseBase", + "namespace": "_types" + } + }, + "kind": "response", + "name": { + "name": "Response", + "namespace": "indices.unfreeze" + } + }, { "kind": "interface", "name": { diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 681eab2c9a..99e96108b2 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1154,7 +1154,7 @@ }, "indices.unfreeze": { "request": [ - "Missing request & response" + "Request: should not have a body" ], "response": [] }, diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 58f4afd539..666ad586dc 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -9543,6 +9543,20 @@ export interface IndicesStatsShardStats { bulk?: BulkStats } +export interface IndicesUnfreezeRequest extends RequestBase { + index: IndexName + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string +} + +export interface IndicesUnfreezeResponse extends AcknowledgedResponseBase { + shards_acknowledged: boolean +} + export interface IndicesUpdateAliasesIndicesUpdateAliasBulk { [key: string]: never } diff --git a/specification/indices/unfreeze/IndicesUnfreezeRequest.ts b/specification/indices/unfreeze/IndicesUnfreezeRequest.ts new file mode 100644 index 0000000000..c76c1efd0c --- /dev/null +++ b/specification/indices/unfreeze/IndicesUnfreezeRequest.ts @@ -0,0 +1,41 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import { RequestBase } from '@_types/Base' +import { ExpandWildcards, IndexName } from '@_types/common' +import { Time } from '@_types/Time' + +/** + * @rest_spec_name indices.unfreeze + * @since 6.6.0 + * @stability stable + */ +export interface Request extends RequestBase { + path_parts: { + index: IndexName + } + query_parameters: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string + } +} diff --git a/specification/indices/unfreeze/IndicesUnfreezeResponse.ts b/specification/indices/unfreeze/IndicesUnfreezeResponse.ts new file mode 100644 index 0000000000..e2e09f6530 --- /dev/null +++ b/specification/indices/unfreeze/IndicesUnfreezeResponse.ts @@ -0,0 +1,26 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +import { AcknowledgedResponseBase } from '@_types/Base' + +export class Response extends AcknowledgedResponseBase { + body: { + shards_acknowledged: boolean + } +} From 555c06d0a0dd642c79adf81151a7b07950161331 Mon Sep 17 00:00:00 2001 From: delvedor Date: Tue, 14 Sep 2021 08:56:44 +0200 Subject: [PATCH 3/3] make contrib --- output/schema/schema.json | 140 -------------------------------------- 1 file changed, 140 deletions(-) diff --git a/output/schema/schema.json b/output/schema/schema.json index 014424cb12..2bcdff424b 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -90247,145 +90247,6 @@ "namespace": "indices.forcemerge" } }, - { - "attachedBehaviors": [ - "CommonQueryParameters" - ], - "body": { - "kind": "no_body" - }, - "description": "Freezes an index. A frozen index has almost no overhead on the cluster (except for maintaining its metadata in memory) and is read-only.", - "inherits": { - "type": { - "name": "RequestBase", - "namespace": "_types" - } - }, - "kind": "request", - "name": { - "name": "Request", -<<<<<<< HEAD -======= - "namespace": "indices.freeze" - }, - "path": [ - { - "description": "The name of the index to freeze", - "name": "index", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "IndexName", - "namespace": "_types" - } - } - } - ], - "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, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - }, - { - "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both.", - "name": "expand_wildcards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "ExpandWildcards", - "namespace": "_types" - } - } - }, - { - "description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)", - "name": "ignore_unavailable", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - }, - { - "description": "Specify timeout for connection to master", - "name": "master_timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Time", - "namespace": "_types" - } - } - }, - { - "description": "Explicit operation timeout", - "name": "timeout", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "Time", - "namespace": "_types" - } - } - }, - { - "description": "Sets the number of active shards to wait for before the operation returns.", - "name": "wait_for_active_shards", - "required": false, - "type": { - "kind": "instance_of", - "type": { - "name": "WaitForActiveShards", - "namespace": "_types" - } - } - } - ] - }, - { - "body": { - "kind": "properties", - "properties": [ - { - "name": "shards_acknowledged", - "required": true, - "type": { - "kind": "instance_of", - "type": { - "name": "boolean", - "namespace": "internal" - } - } - } - ] - }, - "inherits": { - "type": { - "name": "AcknowledgedResponseBase", - "namespace": "_types" - } - }, - "kind": "response", - "name": { - "name": "Response", - "namespace": "indices.freeze" - } - }, { "attachedBehaviors": [ "CommonQueryParameters" @@ -90403,7 +90264,6 @@ "kind": "request", "name": { "name": "Request", ->>>>>>> main "namespace": "indices.get" }, "path": [