Skip to content

Commit f6bb2d6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 4ac086a of spec repo (#4306)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 727330d commit f6bb2d6

3 files changed

Lines changed: 52 additions & 7 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27600,7 +27600,10 @@ paths:
2760027600
- IP Ranges
2760127601
/api/v1/api_key:
2760227602
get:
27603-
description: Get all API keys available for your account.
27603+
description: |-
27604+
Get all API keys available for your account.
27605+
27606+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2760427607
operationId: ListAPIKeys
2760527608
responses:
2760627609
"200":
@@ -27633,7 +27636,10 @@ paths:
2763327636
permissions:
2763427637
- api_keys_read
2763527638
post:
27636-
description: Creates an API key with a given name.
27639+
description: |-
27640+
Creates an API key with a given name.
27641+
27642+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2763727643
operationId: CreateAPIKey
2763827644
requestBody:
2763927645
content:
@@ -27684,7 +27690,10 @@ paths:
2768427690
- api_keys_write
2768527691
/api/v1/api_key/{key}:
2768627692
delete:
27687-
description: Delete a given API key.
27693+
description: |-
27694+
Delete a given API key.
27695+
27696+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2768827697
operationId: DeleteAPIKey
2768927698
parameters:
2769027699
- description: The specific API key you are working with.
@@ -27736,7 +27745,10 @@ paths:
2773627745
permissions:
2773727746
- api_keys_delete
2773827747
get:
27739-
description: Get a given API key.
27748+
description: |-
27749+
Get a given API key.
27750+
27751+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2774027752
operationId: GetAPIKey
2774127753
parameters:
2774227754
- description: The specific API key you are working with.
@@ -27782,7 +27794,10 @@ paths:
2778227794
permissions:
2778327795
- api_keys_read
2778427796
put:
27785-
description: Edit an API key name.
27797+
description: |-
27798+
Edit an API key name.
27799+
27800+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2778627801
operationId: UpdateAPIKey
2778727802
parameters:
2778827803
- description: The specific API key you are working with.
@@ -27849,6 +27864,8 @@ paths:
2784927864
description: |-
2785027865
Get all application keys available for your Datadog account.
2785127866
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27867+
27868+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2785227869
operationId: ListApplicationKeys
2785327870
responses:
2785427871
"200":
@@ -27884,6 +27901,8 @@ paths:
2788427901
description: |-
2788527902
Create an application key with a given name.
2788627903
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27904+
27905+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2788727906
operationId: CreateApplicationKey
2788827907
requestBody:
2788927908
content:
@@ -27942,6 +27961,8 @@ paths:
2794227961
description: |-
2794327962
Delete a given application key.
2794427963
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
27964+
27965+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2794527966
operationId: DeleteApplicationKey
2794627967
parameters:
2794727968
- description: The specific APP key you are working with.
@@ -27990,6 +28011,8 @@ paths:
2799028011
description: |-
2799128012
Get a given application key.
2799228013
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
28014+
28015+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2799328016
operationId: GetApplicationKey
2799428017
parameters:
2799528018
- description: The specific APP key you are working with.
@@ -28038,6 +28061,8 @@ paths:
2803828061
description: |-
2803928062
Edit an application key name.
2804028063
This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
28064+
28065+
**Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
2804128066
operationId: UpdateApplicationKey
2804228067
parameters:
2804328068
- description: The specific APP key you are working with.

packages/datadog-api-client-common/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export const isBrowser: boolean =
1919

2020
export const isNode: boolean =
2121
typeof process !== "undefined" &&
22-
process.versions != null &&
23-
process.versions.node != null;
22+
process.release &&
23+
process.release.name === "node";
2424

2525
export class DDate extends Date {
2626
originalDate: string | undefined;

packages/datadog-api-client-v1/apis/KeyManagementApi.ts

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,8 @@ export class KeyManagementApi {
10921092

10931093
/**
10941094
* Creates an API key with a given name.
1095+
*
1096+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
10951097
* @param param The request object
10961098
*/
10971099
public createAPIKey(
@@ -1114,6 +1116,8 @@ export class KeyManagementApi {
11141116
/**
11151117
* Create an application key with a given name.
11161118
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
1119+
*
1120+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
11171121
* @param param The request object
11181122
*/
11191123
public createApplicationKey(
@@ -1135,6 +1139,8 @@ export class KeyManagementApi {
11351139

11361140
/**
11371141
* Delete a given API key.
1142+
*
1143+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
11381144
* @param param The request object
11391145
*/
11401146
public deleteAPIKey(
@@ -1157,6 +1163,8 @@ export class KeyManagementApi {
11571163
/**
11581164
* Delete a given application key.
11591165
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
1166+
*
1167+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
11601168
* @param param The request object
11611169
*/
11621170
public deleteApplicationKey(
@@ -1178,6 +1186,8 @@ export class KeyManagementApi {
11781186

11791187
/**
11801188
* Get a given API key.
1189+
*
1190+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
11811191
* @param param The request object
11821192
*/
11831193
public getAPIKey(
@@ -1200,6 +1210,8 @@ export class KeyManagementApi {
12001210
/**
12011211
* Get a given application key.
12021212
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
1213+
*
1214+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
12031215
* @param param The request object
12041216
*/
12051217
public getApplicationKey(
@@ -1221,6 +1233,8 @@ export class KeyManagementApi {
12211233

12221234
/**
12231235
* Get all API keys available for your account.
1236+
*
1237+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
12241238
* @param param The request object
12251239
*/
12261240
public listAPIKeys(options?: Configuration): Promise<ApiKeyListResponse> {
@@ -1237,6 +1251,8 @@ export class KeyManagementApi {
12371251
/**
12381252
* Get all application keys available for your Datadog account.
12391253
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
1254+
*
1255+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
12401256
* @param param The request object
12411257
*/
12421258
public listApplicationKeys(
@@ -1255,6 +1271,8 @@ export class KeyManagementApi {
12551271

12561272
/**
12571273
* Edit an API key name.
1274+
*
1275+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
12581276
* @param param The request object
12591277
*/
12601278
public updateAPIKey(
@@ -1278,6 +1296,8 @@ export class KeyManagementApi {
12781296
/**
12791297
* Edit an application key name.
12801298
* This endpoint is disabled for organizations in [One-Time Read mode](https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode).
1299+
*
1300+
* **Note**: This endpoint is disabled for the Government sites (US1-FED and US2-FED). Use the [V2 Key Management](https://docs.datadoghq.com/api/latest/key-management/) endpoints instead.
12811301
* @param param The request object
12821302
*/
12831303
public updateApplicationKey(

0 commit comments

Comments
 (0)