Skip to content

Commit 312f968

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 505640d of spec repo
1 parent 2dd9810 commit 312f968

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
@@ -25843,7 +25843,9 @@ paths:
2584325843
- api_keys_write
2584425844
/api/v1/application_key:
2584525845
get:
25846-
description: Get all application keys available for your Datadog account.
25846+
description: 'Get all application keys available for your Datadog account.
25847+
25848+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2584725849
operationId: ListApplicationKeys
2584825850
responses:
2584925851
'200':
@@ -25869,7 +25871,9 @@ paths:
2586925871
- org_app_keys_read
2587025872
- user_app_keys
2587125873
post:
25872-
description: Create an application key with a given name.
25874+
description: 'Create an application key with a given name.
25875+
25876+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2587325877
operationId: CreateApplicationKey
2587425878
requestBody:
2587525879
content:
@@ -25914,7 +25918,9 @@ paths:
2591425918
- user_app_keys
2591525919
/api/v1/application_key/{key}:
2591625920
delete:
25917-
description: Delete a given application key.
25921+
description: 'Delete a given application key.
25922+
25923+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2591825924
operationId: DeleteApplicationKey
2591925925
parameters:
2592025926
- description: The specific APP key you are working with.
@@ -25953,7 +25959,9 @@ paths:
2595325959
- org_app_keys_write
2595425960
- user_app_keys
2595525961
get:
25956-
description: Get a given application key.
25962+
description: 'Get a given application key.
25963+
25964+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2595725965
operationId: GetApplicationKey
2595825966
parameters:
2595925967
- description: The specific APP key you are working with.
@@ -25992,7 +26000,9 @@ paths:
2599226000
- org_app_keys_read
2599326001
- user_app_keys
2599426002
put:
25995-
description: Edit an application key name.
26003+
description: 'Edit an application key name.
26004+
26005+
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).'
2599626006
operationId: UpdateApplicationKey
2599726007
parameters:
2599826008
- 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
@@ -62965,7 +62965,9 @@ paths:
6296562965
permissions:
6296662966
- user_app_keys
6296762967
get:
62968-
description: Get an application key owned by current user
62968+
description: 'Get an application key owned by current user.
62969+
62970+
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).'
6296962971
operationId: GetCurrentUserApplicationKey
6297062972
parameters:
6297162973
- $ref: '#/components/parameters/ApplicationKeyID'
@@ -62998,7 +63000,9 @@ paths:
6299863000
permissions:
6299963001
- user_app_keys
6300063002
patch:
63001-
description: Edit an application key owned by current user
63003+
description: 'Edit an application key owned by current user.
63004+
63005+
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).'
6300263006
operationId: UpdateCurrentUserApplicationKey
6300363007
parameters:
6300463008
- $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)