From 1b35479ee547ae3250524e0b14db8fe83fbee634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Mon, 23 Jun 2025 13:58:23 +0200 Subject: [PATCH 1/4] Adds a link to the update cross cluster API key API spec. --- .../UpdateCrossClusterApiKeyRequest.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts index 18512fcecc..0b56b61915 100644 --- a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts +++ b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts @@ -40,6 +40,8 @@ import { Access } from '@security/_types/Access' * The owner user's information, such as the `username` and `realm`, is also updated automatically on every call. * * NOTE: This API cannot update REST API keys, which should be updated by either the update API key or bulk update API keys API. + * + * To learn more about how to use this API, refer to the [Update cross cluter API key API examples page](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/term-vectors-examples). * @rest_spec_name security.update_cross_cluster_api_key * @availability stack stability=stable * @cluster_privileges manage_security From 34e32a81c2cefd994edd19952814db6c5e899e40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Mon, 23 Jun 2025 14:10:32 +0200 Subject: [PATCH 2/4] Fix format. --- .../UpdateCrossClusterApiKeyRequest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts index 0b56b61915..018a3437c4 100644 --- a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts +++ b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts @@ -17,10 +17,10 @@ * under the License. */ +import { Access } from '@security/_types/Access' import { RequestBase } from '@_types/Base' import { Id, Metadata } from '@_types/common' import { Duration } from '@_types/Time' -import { Access } from '@security/_types/Access' /** * Update a cross-cluster API key. @@ -40,7 +40,7 @@ import { Access } from '@security/_types/Access' * The owner user's information, such as the `username` and `realm`, is also updated automatically on every call. * * NOTE: This API cannot update REST API keys, which should be updated by either the update API key or bulk update API keys API. - * + * * To learn more about how to use this API, refer to the [Update cross cluter API key API examples page](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/term-vectors-examples). * @rest_spec_name security.update_cross_cluster_api_key * @availability stack stability=stable From 5eb2424fb5507b51b5f17e41748ce35aef6f3d72 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Mon, 23 Jun 2025 16:29:14 +0400 Subject: [PATCH 3/4] Run make spec-format-fix --- .../UpdateCrossClusterApiKeyRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts index 018a3437c4..0c9778349d 100644 --- a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts +++ b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts @@ -17,10 +17,10 @@ * under the License. */ -import { Access } from '@security/_types/Access' import { RequestBase } from '@_types/Base' import { Id, Metadata } from '@_types/common' import { Duration } from '@_types/Time' +import { Access } from '@security/_types/Access' /** * Update a cross-cluster API key. From ddf5fe0d55feac4a15c629c4776382629a40869e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Mon, 23 Jun 2025 14:40:03 +0200 Subject: [PATCH 4/4] Update specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts --- .../UpdateCrossClusterApiKeyRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts index 0c9778349d..0e3cf5143b 100644 --- a/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts +++ b/specification/security/update_cross_cluster_api_key/UpdateCrossClusterApiKeyRequest.ts @@ -41,7 +41,7 @@ import { Access } from '@security/_types/Access' * * NOTE: This API cannot update REST API keys, which should be updated by either the update API key or bulk update API keys API. * - * To learn more about how to use this API, refer to the [Update cross cluter API key API examples page](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/term-vectors-examples). + * To learn more about how to use this API, refer to the [Update cross cluter API key API examples page](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/update-cc-api-key-examples). * @rest_spec_name security.update_cross_cluster_api_key * @availability stack stability=stable * @cluster_privileges manage_security