Skip to content

Commit 885fd73

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove cases_* scopes that are not public (#1533)
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 49f321d commit 885fd73

File tree

3 files changed

+4
-84
lines changed

3 files changed

+4
-84
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-04-26 19:29:36.858147",
8-
"spec_repo_commit": "0e208c14"
7+
"regenerated": "2024-05-01 14:56:33.246734",
8+
"spec_repo_commit": "769244ad"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-04-26 19:29:36.876210",
13-
"spec_repo_commit": "0e208c14"
12+
"regenerated": "2024-05-01 14:56:33.265039",
13+
"spec_repo_commit": "769244ad"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -22725,8 +22725,6 @@ components:
2272522725
apm_service_catalog_read: View service catalog and service definitions.
2272622726
apm_service_catalog_write: Add, modify, and delete service catalog definitions
2272722727
when those definitions are maintained by Datadog.
22728-
cases_read: Read all cases data.
22729-
cases_write: Create, update and delete cases data.
2273022728
ci_visibility_pipelines_write: Create CI Visibility pipeline spans using
2273122729
the API.
2273222730
ci_visibility_read: View CI Visibility.
@@ -23966,11 +23964,6 @@ paths:
2396623964
$ref: '#/components/responses/NotFoundResponse'
2396723965
'429':
2396823966
$ref: '#/components/responses/TooManyRequestsResponse'
23969-
security:
23970-
- apiKeyAuth: []
23971-
appKeyAuth: []
23972-
- AuthZ:
23973-
- cases_read
2397423967
summary: Search cases
2397523968
tags:
2397623969
- Case Management
@@ -24005,11 +23998,6 @@ paths:
2400523998
$ref: '#/components/responses/NotFoundResponse'
2400623999
'429':
2400724000
$ref: '#/components/responses/TooManyRequestsResponse'
24008-
security:
24009-
- apiKeyAuth: []
24010-
appKeyAuth: []
24011-
- AuthZ:
24012-
- cases_write
2401324001
summary: Create a case
2401424002
tags:
2401524003
- Case Management
@@ -24034,11 +24022,6 @@ paths:
2403424022
$ref: '#/components/responses/NotFoundResponse'
2403524023
'429':
2403624024
$ref: '#/components/responses/TooManyRequestsResponse'
24037-
security:
24038-
- apiKeyAuth: []
24039-
appKeyAuth: []
24040-
- AuthZ:
24041-
- cases_read
2404224025
summary: Get all projects
2404324026
tags:
2404424027
- Case Management
@@ -24069,11 +24052,6 @@ paths:
2406924052
$ref: '#/components/responses/NotFoundResponse'
2407024053
'429':
2407124054
$ref: '#/components/responses/TooManyRequestsResponse'
24072-
security:
24073-
- apiKeyAuth: []
24074-
appKeyAuth: []
24075-
- AuthZ:
24076-
- cases_write
2407724055
summary: Create a project
2407824056
tags:
2407924057
- Case Management
@@ -24096,11 +24074,6 @@ paths:
2409624074
description: API error response
2409724075
'429':
2409824076
$ref: '#/components/responses/TooManyRequestsResponse'
24099-
security:
24100-
- apiKeyAuth: []
24101-
appKeyAuth: []
24102-
- AuthZ:
24103-
- cases_write
2410424077
summary: Remove a project
2410524078
tags:
2410624079
- Case Management
@@ -24126,11 +24099,6 @@ paths:
2412624099
$ref: '#/components/responses/NotFoundResponse'
2412724100
'429':
2412824101
$ref: '#/components/responses/TooManyRequestsResponse'
24129-
security:
24130-
- apiKeyAuth: []
24131-
appKeyAuth: []
24132-
- AuthZ:
24133-
- cases_read
2413424102
summary: Get the details of a project
2413524103
tags:
2413624104
- Case Management
@@ -24157,11 +24125,6 @@ paths:
2415724125
$ref: '#/components/responses/NotFoundResponse'
2415824126
'429':
2415924127
$ref: '#/components/responses/TooManyRequestsResponse'
24160-
security:
24161-
- apiKeyAuth: []
24162-
appKeyAuth: []
24163-
- AuthZ:
24164-
- cases_read
2416524128
summary: Get the details of a case
2416624129
tags:
2416724130
- Case Management
@@ -24195,11 +24158,6 @@ paths:
2419524158
$ref: '#/components/responses/NotFoundResponse'
2419624159
'429':
2419724160
$ref: '#/components/responses/TooManyRequestsResponse'
24198-
security:
24199-
- apiKeyAuth: []
24200-
appKeyAuth: []
24201-
- AuthZ:
24202-
- cases_write
2420324161
summary: Archive case
2420424162
tags:
2420524163
- Case Management
@@ -24233,11 +24191,6 @@ paths:
2423324191
$ref: '#/components/responses/NotFoundResponse'
2423424192
'429':
2423524193
$ref: '#/components/responses/TooManyRequestsResponse'
24236-
security:
24237-
- apiKeyAuth: []
24238-
appKeyAuth: []
24239-
- AuthZ:
24240-
- cases_write
2424124194
summary: Assign case
2424224195
tags:
2424324196
- Case Management
@@ -24271,11 +24224,6 @@ paths:
2427124224
$ref: '#/components/responses/NotFoundResponse'
2427224225
'429':
2427324226
$ref: '#/components/responses/TooManyRequestsResponse'
24274-
security:
24275-
- apiKeyAuth: []
24276-
appKeyAuth: []
24277-
- AuthZ:
24278-
- cases_write
2427924227
summary: Update case priority
2428024228
tags:
2428124229
- Case Management
@@ -24309,11 +24257,6 @@ paths:
2430924257
$ref: '#/components/responses/NotFoundResponse'
2431024258
'429':
2431124259
$ref: '#/components/responses/TooManyRequestsResponse'
24312-
security:
24313-
- apiKeyAuth: []
24314-
appKeyAuth: []
24315-
- AuthZ:
24316-
- cases_write
2431724260
summary: Update case status
2431824261
tags:
2431924262
- Case Management
@@ -24347,11 +24290,6 @@ paths:
2434724290
$ref: '#/components/responses/NotFoundResponse'
2434824291
'429':
2434924292
$ref: '#/components/responses/TooManyRequestsResponse'
24350-
security:
24351-
- apiKeyAuth: []
24352-
appKeyAuth: []
24353-
- AuthZ:
24354-
- cases_write
2435524293
summary: Unarchive case
2435624294
tags:
2435724295
- Case Management
@@ -24385,11 +24323,6 @@ paths:
2438524323
$ref: '#/components/responses/NotFoundResponse'
2438624324
'429':
2438724325
$ref: '#/components/responses/TooManyRequestsResponse'
24388-
security:
24389-
- apiKeyAuth: []
24390-
appKeyAuth: []
24391-
- AuthZ:
24392-
- cases_write
2439324326
summary: Unassign case
2439424327
tags:
2439524328
- Case Management

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

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

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

126125
// Apply auth methods
127126
applySecurityAuthentication(_config, requestContext, [
128-
"AuthZ",
129127
"apiKeyAuth",
130128
"appKeyAuth",
131129
]);
@@ -167,7 +165,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
167165

168166
// Apply auth methods
169167
applySecurityAuthentication(_config, requestContext, [
170-
"AuthZ",
171168
"apiKeyAuth",
172169
"appKeyAuth",
173170
]);
@@ -209,7 +206,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
209206

210207
// Apply auth methods
211208
applySecurityAuthentication(_config, requestContext, [
212-
"AuthZ",
213209
"apiKeyAuth",
214210
"appKeyAuth",
215211
]);
@@ -243,7 +239,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
243239

244240
// Apply auth methods
245241
applySecurityAuthentication(_config, requestContext, [
246-
"AuthZ",
247242
"apiKeyAuth",
248243
"appKeyAuth",
249244
]);
@@ -277,7 +272,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
277272

278273
// Apply auth methods
279274
applySecurityAuthentication(_config, requestContext, [
280-
"AuthZ",
281275
"apiKeyAuth",
282276
"appKeyAuth",
283277
]);
@@ -311,7 +305,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
311305

312306
// Apply auth methods
313307
applySecurityAuthentication(_config, requestContext, [
314-
"AuthZ",
315308
"apiKeyAuth",
316309
"appKeyAuth",
317310
]);
@@ -334,7 +327,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
334327

335328
// Apply auth methods
336329
applySecurityAuthentication(_config, requestContext, [
337-
"AuthZ",
338330
"apiKeyAuth",
339331
"appKeyAuth",
340332
]);
@@ -396,7 +388,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
396388

397389
// Apply auth methods
398390
applySecurityAuthentication(_config, requestContext, [
399-
"AuthZ",
400391
"apiKeyAuth",
401392
"appKeyAuth",
402393
]);
@@ -447,7 +438,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
447438

448439
// Apply auth methods
449440
applySecurityAuthentication(_config, requestContext, [
450-
"AuthZ",
451441
"apiKeyAuth",
452442
"appKeyAuth",
453443
]);
@@ -498,7 +488,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
498488

499489
// Apply auth methods
500490
applySecurityAuthentication(_config, requestContext, [
501-
"AuthZ",
502491
"apiKeyAuth",
503492
"appKeyAuth",
504493
]);
@@ -549,7 +538,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
549538

550539
// Apply auth methods
551540
applySecurityAuthentication(_config, requestContext, [
552-
"AuthZ",
553541
"apiKeyAuth",
554542
"appKeyAuth",
555543
]);
@@ -600,7 +588,6 @@ export class CaseManagementApiRequestFactory extends BaseAPIRequestFactory {
600588

601589
// Apply auth methods
602590
applySecurityAuthentication(_config, requestContext, [
603-
"AuthZ",
604591
"apiKeyAuth",
605592
"appKeyAuth",
606593
]);

0 commit comments

Comments
 (0)