Skip to content

Commit 1196b81

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 053451a of spec repo
1 parent c226c9e commit 1196b81

File tree

4 files changed

+45
-14
lines changed

4 files changed

+45
-14
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25813,7 +25813,9 @@ paths:
2581325813
- api_keys_write
2581425814
/api/v1/application_key:
2581525815
get:
25816-
description: Get all application keys available for your Datadog account.
25816+
description: 'Get all application keys available for your Datadog account.
25817+
25818+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2581725819
operationId: ListApplicationKeys
2581825820
responses:
2581925821
'200':
@@ -25839,7 +25841,9 @@ paths:
2583925841
- org_app_keys_read
2584025842
- user_app_keys
2584125843
post:
25842-
description: Create an application key with a given name.
25844+
description: 'Create an application key with a given name.
25845+
25846+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2584325847
operationId: CreateApplicationKey
2584425848
requestBody:
2584525849
content:
@@ -25884,7 +25888,9 @@ paths:
2588425888
- user_app_keys
2588525889
/api/v1/application_key/{key}:
2588625890
delete:
25887-
description: Delete a given application key.
25891+
description: 'Delete a given application key.
25892+
25893+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2588825894
operationId: DeleteApplicationKey
2588925895
parameters:
2589025896
- description: The specific APP key you are working with.
@@ -25923,7 +25929,9 @@ paths:
2592325929
- org_app_keys_write
2592425930
- user_app_keys
2592525931
get:
25926-
description: Get a given application key.
25932+
description: 'Get a given application key.
25933+
25934+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2592725935
operationId: GetApplicationKey
2592825936
parameters:
2592925937
- description: The specific APP key you are working with.
@@ -25962,7 +25970,9 @@ paths:
2596225970
- org_app_keys_read
2596325971
- user_app_keys
2596425972
put:
25965-
description: Edit an application key name.
25973+
description: 'Edit an application key name.
25974+
25975+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2596625976
operationId: UpdateApplicationKey
2596725977
parameters:
2596825978
- description: The specific APP key you are working with.

.generator/schemas/v2/openapi.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62957,7 +62957,9 @@ paths:
6295762957
permissions:
6295862958
- user_app_keys
6295962959
get:
62960-
description: Get an application key owned by current user
62960+
description: 'Get an application key owned by current user.
62961+
62962+
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).'
6296162963
operationId: GetCurrentUserApplicationKey
6296262964
parameters:
6296362965
- $ref: '#/components/parameters/ApplicationKeyID'
@@ -62990,7 +62992,9 @@ paths:
6299062992
permissions:
6299162993
- user_app_keys
6299262994
patch:
62993-
description: Edit an application key owned by current user
62995+
description: 'Edit an application key owned by current user.
62996+
62997+
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).'
6299462998
operationId: UpdateCurrentUserApplicationKey
6299562999
parameters:
6299663000
- $ref: '#/components/parameters/ApplicationKeyID'

src/main/java/com/datadog/api/client/v1/api/KeyManagementApi.java

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ public CompletableFuture<ApplicationKeyResponse> createApplicationKeyAsync(Appli
206206
}
207207

208208
/**
209-
* Create an application key with a given name.
209+
* Create an application key with a given name. This endpoint is disabled for organizations in <a
210+
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
211+
* Read mode</a>.
210212
*
211213
* @param body (required)
212214
* @return ApiResponse&lt;ApplicationKeyResponse&gt;
@@ -470,7 +472,9 @@ public CompletableFuture<ApplicationKeyResponse> deleteApplicationKeyAsync(Strin
470472
}
471473

472474
/**
473-
* Delete a given application key.
475+
* Delete a given application key. This endpoint is disabled for organizations in <a
476+
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
477+
* Read mode</a>.
474478
*
475479
* @param key The specific APP key you are working with. (required)
476480
* @return ApiResponse&lt;ApplicationKeyResponse&gt;
@@ -736,7 +740,9 @@ public CompletableFuture<ApplicationKeyResponse> getApplicationKeyAsync(String k
736740
}
737741

738742
/**
739-
* Get a given application key.
743+
* Get a given application key. This endpoint is disabled for organizations in <a
744+
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
745+
* Read mode</a>.
740746
*
741747
* @param key The specific APP key you are working with. (required)
742748
* @return ApiResponse&lt;ApplicationKeyResponse&gt;
@@ -978,7 +984,10 @@ public CompletableFuture<ApplicationKeyListResponse> listApplicationKeysAsync()
978984
}
979985

980986
/**
981-
* Get all application keys available for your Datadog account.
987+
* Get all application keys available for your Datadog account. This endpoint is disabled for
988+
* organizations in <a
989+
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
990+
* Read mode</a>.
982991
*
983992
* @return ApiResponse&lt;ApplicationKeyListResponse&gt;
984993
* @throws ApiException if fails to make API call
@@ -1247,7 +1256,9 @@ public CompletableFuture<ApplicationKeyResponse> updateApplicationKeyAsync(
12471256
}
12481257

12491258
/**
1250-
* Edit an application key name.
1259+
* Edit an application key name. This endpoint is disabled for organizations in <a
1260+
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
1261+
* Read mode</a>.
12511262
*
12521263
* @param key The specific APP key you are working with. (required)
12531264
* @param body (required)

src/main/java/com/datadog/api/client/v2/api/KeyManagementApi.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,10 @@ public CompletableFuture<ApplicationKeyResponse> getCurrentUserApplicationKeyAsy
11451145
}
11461146

11471147
/**
1148-
* Get an application key owned by current user
1148+
* Get an application key owned by current user. The <code>key</code> field is not returned for
1149+
* organizations in <a
1150+
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
1151+
* Read mode</a>.
11491152
*
11501153
* @param appKeyId The ID of the application key. (required)
11511154
* @return ApiResponse&lt;ApplicationKeyResponse&gt;
@@ -2511,7 +2514,10 @@ public CompletableFuture<ApplicationKeyResponse> updateCurrentUserApplicationKey
25112514
}
25122515

25132516
/**
2514-
* Edit an application key owned by current user
2517+
* Edit an application key owned by current user. The <code>key</code> field is not returned for
2518+
* organizations in <a
2519+
* href="https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode">One-Time
2520+
* Read mode</a>.
25152521
*
25162522
* @param appKeyId The ID of the application key. (required)
25172523
* @param body (required)

0 commit comments

Comments
 (0)