Skip to content

Commit 9d9a67b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update descriptions for otr mode (#1018)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent e5c4c80 commit 9d9a67b

File tree

4 files changed

+39
-11
lines changed

4 files changed

+39
-11
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/datadogV1/api/api_key_management.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ impl KeyManagementAPI {
310310
}
311311

312312
/// Create an application key with a given name.
313+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
313314
pub async fn create_application_key(
314315
&self,
315316
body: crate::datadogV1::model::ApplicationKey,
@@ -332,6 +333,7 @@ impl KeyManagementAPI {
332333
}
333334

334335
/// Create an application key with a given name.
336+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
335337
pub async fn create_application_key_with_http_info(
336338
&self,
337339
body: crate::datadogV1::model::ApplicationKey,
@@ -567,6 +569,7 @@ impl KeyManagementAPI {
567569
}
568570

569571
/// Delete a given application key.
572+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
570573
pub async fn delete_application_key(
571574
&self,
572575
key: String,
@@ -589,6 +592,7 @@ impl KeyManagementAPI {
589592
}
590593

591594
/// Delete a given application key.
595+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
592596
pub async fn delete_application_key_with_http_info(
593597
&self,
594598
key: String,
@@ -779,6 +783,7 @@ impl KeyManagementAPI {
779783
}
780784

781785
/// Get a given application key.
786+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
782787
pub async fn get_application_key(
783788
&self,
784789
key: String,
@@ -801,6 +806,7 @@ impl KeyManagementAPI {
801806
}
802807

803808
/// Get a given application key.
809+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
804810
pub async fn get_application_key_with_http_info(
805811
&self,
806812
key: String,
@@ -990,6 +996,7 @@ impl KeyManagementAPI {
990996
}
991997

992998
/// Get all application keys available for your Datadog account.
999+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
9931000
pub async fn list_application_keys(
9941001
&self,
9951002
) -> Result<
@@ -1011,6 +1018,7 @@ impl KeyManagementAPI {
10111018
}
10121019

10131020
/// Get all application keys available for your Datadog account.
1021+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
10141022
pub async fn list_application_keys_with_http_info(
10151023
&self,
10161024
) -> Result<
@@ -1247,6 +1255,7 @@ impl KeyManagementAPI {
12471255
}
12481256

12491257
/// Edit an application key name.
1258+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
12501259
pub async fn update_application_key(
12511260
&self,
12521261
key: String,
@@ -1270,6 +1279,7 @@ impl KeyManagementAPI {
12701279
}
12711280

12721281
/// Edit an application key name.
1282+
/// This endpoint is disabled for organizations in [One-Time Read mode](<https://docs.datadoghq.com/account_management/api-app-keys/#one-time-read-mode>).
12731283
pub async fn update_application_key_with_http_info(
12741284
&self,
12751285
key: String,

src/datadogV2/api/api_key_management.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,8 @@ impl KeyManagementAPI {
12461246
}
12471247
}
12481248

1249-
/// Get an application key owned by current user
1249+
/// Get an application key owned by current user.
1250+
/// 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>).
12501251
pub async fn get_current_user_application_key(
12511252
&self,
12521253
app_key_id: String,
@@ -1271,7 +1272,8 @@ impl KeyManagementAPI {
12711272
}
12721273
}
12731274

1274-
/// Get an application key owned by current user
1275+
/// Get an application key owned by current user.
1276+
/// 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>).
12751277
pub async fn get_current_user_application_key_with_http_info(
12761278
&self,
12771279
app_key_id: String,
@@ -2126,7 +2128,8 @@ impl KeyManagementAPI {
21262128
}
21272129
}
21282130

2129-
/// Edit an application key owned by current user
2131+
/// Edit an application key owned by current user.
2132+
/// 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>).
21302133
pub async fn update_current_user_application_key(
21312134
&self,
21322135
app_key_id: String,
@@ -2152,7 +2155,8 @@ impl KeyManagementAPI {
21522155
}
21532156
}
21542157

2155-
/// Edit an application key owned by current user
2158+
/// Edit an application key owned by current user.
2159+
/// 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>).
21562160
pub async fn update_current_user_application_key_with_http_info(
21572161
&self,
21582162
app_key_id: String,

0 commit comments

Comments
 (0)