Skip to content

Commit f698fcd

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Add permissions to on-call endpoints (#2848)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent fce9c79 commit f698fcd

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-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": "2025-05-09 16:46:51.334779",
8-
"spec_repo_commit": "38260775"
7+
"regenerated": "2025-05-09 19:42:40.863227",
8+
"spec_repo_commit": "c7bad6f6"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-05-09 16:46:51.350510",
13-
"spec_repo_commit": "38260775"
12+
"regenerated": "2025-05-09 19:42:40.879656",
13+
"spec_repo_commit": "c7bad6f6"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51282,6 +51282,10 @@ paths:
5128251282
summary: Create on-call escalation policy
5128351283
tags:
5128451284
- On-Call
51285+
x-permission:
51286+
operator: AND
51287+
permissions:
51288+
- on_call_write
5128551289
/api/v2/on-call/escalation-policies/{policy_id}:
5128651290
delete:
5128751291
description: Delete an on-call escalation policy
@@ -51312,6 +51316,10 @@ paths:
5131251316
summary: Delete on-call escalation policy
5131351317
tags:
5131451318
- On-Call
51319+
x-permission:
51320+
operator: AND
51321+
permissions:
51322+
- on_call_write
5131551323
get:
5131651324
description: Get an on-call escalation policy
5131751325
operationId: GetOnCallEscalationPolicy
@@ -51353,6 +51361,10 @@ paths:
5135351361
summary: Get on-call escalation policy
5135451362
tags:
5135551363
- On-Call
51364+
x-permission:
51365+
operator: AND
51366+
permissions:
51367+
- on_call_read
5135651368
put:
5135751369
description: Update an on-call escalation policy
5135851370
operationId: UpdateOnCallEscalationPolicy
@@ -51400,6 +51412,10 @@ paths:
5140051412
summary: Update on-call escalation policy
5140151413
tags:
5140251414
- On-Call
51415+
x-permission:
51416+
operator: AND
51417+
permissions:
51418+
- on_call_write
5140351419
/api/v2/on-call/schedules:
5140451420
post:
5140551421
description: Create a new on-call schedule
@@ -51439,6 +51455,10 @@ paths:
5143951455
summary: Create on-call schedule
5144051456
tags:
5144151457
- On-Call
51458+
x-permission:
51459+
operator: AND
51460+
permissions:
51461+
- on_call_write
5144251462
/api/v2/on-call/schedules/{schedule_id}:
5144351463
delete:
5144451464
description: Delete an on-call schedule
@@ -51469,6 +51489,10 @@ paths:
5146951489
summary: Delete on-call schedule
5147051490
tags:
5147151491
- On-Call
51492+
x-permission:
51493+
operator: AND
51494+
permissions:
51495+
- on_call_write
5147251496
get:
5147351497
description: Get an on-call schedule
5147451498
operationId: GetOnCallSchedule
@@ -51508,6 +51532,10 @@ paths:
5150851532
summary: Get on-call schedule
5150951533
tags:
5151051534
- On-Call
51535+
x-permission:
51536+
operator: AND
51537+
permissions:
51538+
- on_call_read
5151151539
put:
5151251540
description: Update a new on-call schedule
5151351541
operationId: UpdateOnCallSchedule
@@ -51555,6 +51583,10 @@ paths:
5155551583
summary: Update on-call schedule
5155651584
tags:
5155751585
- On-Call
51586+
x-permission:
51587+
operator: AND
51588+
permissions:
51589+
- on_call_write
5155851590
/api/v2/on-call/teams/{team_id}/routing-rules:
5155951591
get:
5156051592
description: Get a team's on-call routing rules
@@ -51589,6 +51621,10 @@ paths:
5158951621
summary: Get on-call team routing rules
5159051622
tags:
5159151623
- On-Call
51624+
x-permission:
51625+
operator: AND
51626+
permissions:
51627+
- on_call_read
5159251628
put:
5159351629
description: Set a team's on-call routing rules
5159451630
operationId: SetOnCallTeamRoutingRules
@@ -51628,6 +51664,10 @@ paths:
5162851664
summary: Set on-call team routing rules
5162951665
tags:
5163051666
- On-Call
51667+
x-permission:
51668+
operator: AND
51669+
permissions:
51670+
- on_call_write
5163151671
/api/v2/org_configs:
5163251672
get:
5163351673
description: Returns all Org Configs (name, description, and value).

0 commit comments

Comments
 (0)