From 312f968a62de5199198b762fb32f33be35c6b9f2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 11 Nov 2025 21:20:20 +0000 Subject: [PATCH] Regenerate client from commit 505640d of spec repo --- .generator/schemas/v1/openapi.yaml | 20 +++++++++++++----- .generator/schemas/v2/openapi.yaml | 8 +++++-- .../api/client/v1/api/KeyManagementApi.java | 21 ++++++++++++++----- .../api/client/v2/api/KeyManagementApi.java | 10 +++++++-- 4 files changed, 45 insertions(+), 14 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 81bb22eb0b9..233d5549307 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -25843,7 +25843,9 @@ paths: - api_keys_write /api/v1/application_key: get: - description: Get all application keys available for your Datadog account. + description: 'Get all application keys available for your Datadog account. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: ListApplicationKeys responses: '200': @@ -25869,7 +25871,9 @@ paths: - org_app_keys_read - user_app_keys post: - description: Create an application key with a given name. + description: 'Create an application key with a given name. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: CreateApplicationKey requestBody: content: @@ -25914,7 +25918,9 @@ paths: - user_app_keys /api/v1/application_key/{key}: delete: - description: Delete a given application key. + description: 'Delete a given application key. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: DeleteApplicationKey parameters: - description: The specific APP key you are working with. @@ -25953,7 +25959,9 @@ paths: - org_app_keys_write - user_app_keys get: - description: Get a given application key. + description: 'Get a given application key. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: GetApplicationKey parameters: - description: The specific APP key you are working with. @@ -25992,7 +26000,9 @@ paths: - org_app_keys_read - user_app_keys put: - description: Edit an application key name. + description: 'Edit an application key name. + + This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: UpdateApplicationKey parameters: - description: The specific APP key you are working with. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 6401afac969..922424a28dc 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -62965,7 +62965,9 @@ paths: permissions: - user_app_keys get: - description: Get an application key owned by current user + description: 'Get an application key owned by current user. + + The `key` field is not returned for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: GetCurrentUserApplicationKey parameters: - $ref: '#/components/parameters/ApplicationKeyID' @@ -62998,7 +63000,9 @@ paths: permissions: - user_app_keys patch: - description: Edit an application key owned by current user + description: 'Edit an application key owned by current user. + + The `key` field is not returned for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).' operationId: UpdateCurrentUserApplicationKey parameters: - $ref: '#/components/parameters/ApplicationKeyID' diff --git a/src/main/java/com/datadog/api/client/v1/api/KeyManagementApi.java b/src/main/java/com/datadog/api/client/v1/api/KeyManagementApi.java index a2eff1a6816..8ea04266858 100644 --- a/src/main/java/com/datadog/api/client/v1/api/KeyManagementApi.java +++ b/src/main/java/com/datadog/api/client/v1/api/KeyManagementApi.java @@ -206,7 +206,9 @@ public CompletableFuture createApplicationKeyAsync(Appli } /** - * Create an application key with a given name. + * Create an application key with a given name. This endpoint is disabled for organizations in One-Time + * Read mode. * * @param body (required) * @return ApiResponse<ApplicationKeyResponse> @@ -470,7 +472,9 @@ public CompletableFuture deleteApplicationKeyAsync(Strin } /** - * Delete a given application key. + * Delete a given application key. This endpoint is disabled for organizations in One-Time + * Read mode. * * @param key The specific APP key you are working with. (required) * @return ApiResponse<ApplicationKeyResponse> @@ -736,7 +740,9 @@ public CompletableFuture getApplicationKeyAsync(String k } /** - * Get a given application key. + * Get a given application key. This endpoint is disabled for organizations in One-Time + * Read mode. * * @param key The specific APP key you are working with. (required) * @return ApiResponse<ApplicationKeyResponse> @@ -978,7 +984,10 @@ public CompletableFuture listApplicationKeysAsync() } /** - * Get all application keys available for your Datadog account. + * Get all application keys available for your Datadog account. This endpoint is disabled for + * organizations in One-Time + * Read mode. * * @return ApiResponse<ApplicationKeyListResponse> * @throws ApiException if fails to make API call @@ -1247,7 +1256,9 @@ public CompletableFuture updateApplicationKeyAsync( } /** - * Edit an application key name. + * Edit an application key name. This endpoint is disabled for organizations in One-Time + * Read mode. * * @param key The specific APP key you are working with. (required) * @param body (required) diff --git a/src/main/java/com/datadog/api/client/v2/api/KeyManagementApi.java b/src/main/java/com/datadog/api/client/v2/api/KeyManagementApi.java index 617e5464a9d..4f894589930 100644 --- a/src/main/java/com/datadog/api/client/v2/api/KeyManagementApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/KeyManagementApi.java @@ -1145,7 +1145,10 @@ public CompletableFuture getCurrentUserApplicationKeyAsy } /** - * Get an application key owned by current user + * Get an application key owned by current user. The key field is not returned for + * organizations in One-Time + * Read mode. * * @param appKeyId The ID of the application key. (required) * @return ApiResponse<ApplicationKeyResponse> @@ -2511,7 +2514,10 @@ public CompletableFuture updateCurrentUserApplicationKey } /** - * Edit an application key owned by current user + * Edit an application key owned by current user. The key field is not returned for + * organizations in One-Time + * Read mode. * * @param appKeyId The ID of the application key. (required) * @param body (required)