Skip to content

Commit 65ab464

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[ACCESS-2569] Update API specs with new cases_* scopes (#1655)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 0325edf commit 65ab464

File tree

3 files changed

+82
-4
lines changed

3 files changed

+82
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-07-02 14:03:43.501505",
8-
"spec_repo_commit": "dd2bff15"
7+
"regenerated": "2024-07-02 14:51:00.055693",
8+
"spec_repo_commit": "1e8d5fca"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-02 14:03:43.519370",
13-
"spec_repo_commit": "dd2bff15"
12+
"regenerated": "2024-07-02 14:51:00.073237",
13+
"spec_repo_commit": "1e8d5fca"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24571,6 +24571,11 @@ paths:
2457124571
$ref: '#/components/responses/NotFoundResponse'
2457224572
'429':
2457324573
$ref: '#/components/responses/TooManyRequestsResponse'
24574+
security:
24575+
- apiKeyAuth: []
24576+
appKeyAuth: []
24577+
- AuthZ:
24578+
- cases_read
2457424579
summary: Search cases
2457524580
tags:
2457624581
- Case Management
@@ -24605,6 +24610,11 @@ paths:
2460524610
$ref: '#/components/responses/NotFoundResponse'
2460624611
'429':
2460724612
$ref: '#/components/responses/TooManyRequestsResponse'
24613+
security:
24614+
- apiKeyAuth: []
24615+
appKeyAuth: []
24616+
- AuthZ:
24617+
- cases_write
2460824618
summary: Create a case
2460924619
tags:
2461024620
- Case Management
@@ -24629,6 +24639,11 @@ paths:
2462924639
$ref: '#/components/responses/NotFoundResponse'
2463024640
'429':
2463124641
$ref: '#/components/responses/TooManyRequestsResponse'
24642+
security:
24643+
- apiKeyAuth: []
24644+
appKeyAuth: []
24645+
- AuthZ:
24646+
- cases_read
2463224647
summary: Get all projects
2463324648
tags:
2463424649
- Case Management
@@ -24659,6 +24674,11 @@ paths:
2465924674
$ref: '#/components/responses/NotFoundResponse'
2466024675
'429':
2466124676
$ref: '#/components/responses/TooManyRequestsResponse'
24677+
security:
24678+
- apiKeyAuth: []
24679+
appKeyAuth: []
24680+
- AuthZ:
24681+
- cases_write
2466224682
summary: Create a project
2466324683
tags:
2466424684
- Case Management
@@ -24681,6 +24701,11 @@ paths:
2468124701
description: API error response
2468224702
'429':
2468324703
$ref: '#/components/responses/TooManyRequestsResponse'
24704+
security:
24705+
- apiKeyAuth: []
24706+
appKeyAuth: []
24707+
- AuthZ:
24708+
- cases_write
2468424709
summary: Remove a project
2468524710
tags:
2468624711
- Case Management
@@ -24706,6 +24731,11 @@ paths:
2470624731
$ref: '#/components/responses/NotFoundResponse'
2470724732
'429':
2470824733
$ref: '#/components/responses/TooManyRequestsResponse'
24734+
security:
24735+
- apiKeyAuth: []
24736+
appKeyAuth: []
24737+
- AuthZ:
24738+
- cases_read
2470924739
summary: Get the details of a project
2471024740
tags:
2471124741
- Case Management
@@ -24732,6 +24762,11 @@ paths:
2473224762
$ref: '#/components/responses/NotFoundResponse'
2473324763
'429':
2473424764
$ref: '#/components/responses/TooManyRequestsResponse'
24765+
security:
24766+
- apiKeyAuth: []
24767+
appKeyAuth: []
24768+
- AuthZ:
24769+
- cases_read
2473524770
summary: Get the details of a case
2473624771
tags:
2473724772
- Case Management
@@ -24765,6 +24800,11 @@ paths:
2476524800
$ref: '#/components/responses/NotFoundResponse'
2476624801
'429':
2476724802
$ref: '#/components/responses/TooManyRequestsResponse'
24803+
security:
24804+
- apiKeyAuth: []
24805+
appKeyAuth: []
24806+
- AuthZ:
24807+
- cases_write
2476824808
summary: Archive case
2476924809
tags:
2477024810
- Case Management
@@ -24798,6 +24838,11 @@ paths:
2479824838
$ref: '#/components/responses/NotFoundResponse'
2479924839
'429':
2480024840
$ref: '#/components/responses/TooManyRequestsResponse'
24841+
security:
24842+
- apiKeyAuth: []
24843+
appKeyAuth: []
24844+
- AuthZ:
24845+
- cases_write
2480124846
summary: Assign case
2480224847
tags:
2480324848
- Case Management
@@ -24831,6 +24876,11 @@ paths:
2483124876
$ref: '#/components/responses/NotFoundResponse'
2483224877
'429':
2483324878
$ref: '#/components/responses/TooManyRequestsResponse'
24879+
security:
24880+
- apiKeyAuth: []
24881+
appKeyAuth: []
24882+
- AuthZ:
24883+
- cases_write
2483424884
summary: Update case priority
2483524885
tags:
2483624886
- Case Management
@@ -24864,6 +24914,11 @@ paths:
2486424914
$ref: '#/components/responses/NotFoundResponse'
2486524915
'429':
2486624916
$ref: '#/components/responses/TooManyRequestsResponse'
24917+
security:
24918+
- apiKeyAuth: []
24919+
appKeyAuth: []
24920+
- AuthZ:
24921+
- cases_write
2486724922
summary: Update case status
2486824923
tags:
2486924924
- Case Management
@@ -24897,6 +24952,11 @@ paths:
2489724952
$ref: '#/components/responses/NotFoundResponse'
2489824953
'429':
2489924954
$ref: '#/components/responses/TooManyRequestsResponse'
24955+
security:
24956+
- apiKeyAuth: []
24957+
appKeyAuth: []
24958+
- AuthZ:
24959+
- cases_write
2490024960
summary: Unarchive case
2490124961
tags:
2490224962
- Case Management
@@ -24930,6 +24990,11 @@ paths:
2493024990
$ref: '#/components/responses/NotFoundResponse'
2493124991
'429':
2493224992
$ref: '#/components/responses/TooManyRequestsResponse'
24993+
security:
24994+
- apiKeyAuth: []
24995+
appKeyAuth: []
24996+
- AuthZ:
24997+
- cases_write
2493324998
summary: Unassign case
2493424999
tags:
2493525000
- Case Management

packages/datadog-api-client-v2/apis/CaseManagementApi.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
7474

7575
// Apply auth methods
7676
applySecurityAuthentication(_config, requestContext, [
77+
"AuthZ",
7778
"apiKeyAuth",
7879
"appKeyAuth",
7980
]);
@@ -124,6 +125,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
124125

125126
// Apply auth methods
126127
applySecurityAuthentication(_config, requestContext, [
128+
"AuthZ",
127129
"apiKeyAuth",
128130
"appKeyAuth",
129131
]);
@@ -165,6 +167,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
165167

166168
// Apply auth methods
167169
applySecurityAuthentication(_config, requestContext, [
170+
"AuthZ",
168171
"apiKeyAuth",
169172
"appKeyAuth",
170173
]);
@@ -206,6 +209,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
206209

207210
// Apply auth methods
208211
applySecurityAuthentication(_config, requestContext, [
212+
"AuthZ",
209213
"apiKeyAuth",
210214
"appKeyAuth",
211215
]);
@@ -239,6 +243,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
239243

240244
// Apply auth methods
241245
applySecurityAuthentication(_config, requestContext, [
246+
"AuthZ",
242247
"apiKeyAuth",
243248
"appKeyAuth",
244249
]);
@@ -272,6 +277,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
272277

273278
// Apply auth methods
274279
applySecurityAuthentication(_config, requestContext, [
280+
"AuthZ",
275281
"apiKeyAuth",
276282
"appKeyAuth",
277283
]);
@@ -305,6 +311,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
305311

306312
// Apply auth methods
307313
applySecurityAuthentication(_config, requestContext, [
314+
"AuthZ",
308315
"apiKeyAuth",
309316
"appKeyAuth",
310317
]);
@@ -327,6 +334,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
327334

328335
// Apply auth methods
329336
applySecurityAuthentication(_config, requestContext, [
337+
"AuthZ",
330338
"apiKeyAuth",
331339
"appKeyAuth",
332340
]);
@@ -388,6 +396,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
388396

389397
// Apply auth methods
390398
applySecurityAuthentication(_config, requestContext, [
399+
"AuthZ",
391400
"apiKeyAuth",
392401
"appKeyAuth",
393402
]);
@@ -438,6 +447,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
438447

439448
// Apply auth methods
440449
applySecurityAuthentication(_config, requestContext, [
450+
"AuthZ",
441451
"apiKeyAuth",
442452
"appKeyAuth",
443453
]);
@@ -488,6 +498,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
488498

489499
// Apply auth methods
490500
applySecurityAuthentication(_config, requestContext, [
501+
"AuthZ",
491502
"apiKeyAuth",
492503
"appKeyAuth",
493504
]);
@@ -538,6 +549,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
538549

539550
// Apply auth methods
540551
applySecurityAuthentication(_config, requestContext, [
552+
"AuthZ",
541553
"apiKeyAuth",
542554
"appKeyAuth",
543555
]);
@@ -588,6 +600,7 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
588600

589601
// Apply auth methods
590602
applySecurityAuthentication(_config, requestContext, [
603+
"AuthZ",
591604
"apiKeyAuth",
592605
"appKeyAuth",
593606
]);

0 commit comments

Comments
 (0)