Skip to content

Commit aefd239

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1f0561b of spec repo
1 parent 2480d7f commit aefd239

File tree

7 files changed

+1046
-0
lines changed

7 files changed

+1046
-0
lines changed

config/_default/menus/api.en.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9424,6 +9424,66 @@ menu:
94249424
url: /api/latest/on-call/
94259425
identifier: on-call
94269426
generated: true
9427+
- name: Update an On-Call notification rule for a user
9428+
url: '#update-an-on-call-notification-rule-for-a-user'
9429+
identifier: on-call-update-an-on-call-notification-rule-for-a-user
9430+
parent: on-call
9431+
generated: true
9432+
params:
9433+
versions:
9434+
- v2
9435+
operationids:
9436+
- UpdateUserNotificationRule
9437+
unstable: []
9438+
order: 21
9439+
- name: Get an On-Call notification rule for a user
9440+
url: '#get-an-on-call-notification-rule-for-a-user'
9441+
identifier: on-call-get-an-on-call-notification-rule-for-a-user
9442+
parent: on-call
9443+
generated: true
9444+
params:
9445+
versions:
9446+
- v2
9447+
operationids:
9448+
- GetUserNotificationRule
9449+
unstable: []
9450+
order: 20
9451+
- name: Delete an On-Call notification rule for a user
9452+
url: '#delete-an-on-call-notification-rule-for-a-user'
9453+
identifier: on-call-delete-an-on-call-notification-rule-for-a-user
9454+
parent: on-call
9455+
generated: true
9456+
params:
9457+
versions:
9458+
- v2
9459+
operationids:
9460+
- DeleteUserNotificationRule
9461+
unstable: []
9462+
order: 19
9463+
- name: Create an On-Call notification rule for a user
9464+
url: '#create-an-on-call-notification-rule-for-a-user'
9465+
identifier: on-call-create-an-on-call-notification-rule-for-a-user
9466+
parent: on-call
9467+
generated: true
9468+
params:
9469+
versions:
9470+
- v2
9471+
operationids:
9472+
- CreateUserNotificationRule
9473+
unstable: []
9474+
order: 17
9475+
- name: List On-Call notification rules for a user
9476+
url: '#list-on-call-notification-rules-for-a-user'
9477+
identifier: on-call-list-on-call-notification-rules-for-a-user
9478+
parent: on-call
9479+
generated: true
9480+
params:
9481+
versions:
9482+
- v2
9483+
operationids:
9484+
- ListUserNotificationRules
9485+
unstable: []
9486+
order: 18
94279487
- name: Get an On-Call notification channel for a user
94289488
url: '#get-an-on-call-notification-channel-for-a-user'
94299489
identifier: on-call-get-an-on-call-notification-channel-for-a-user

content/en/api/v2/on-call/examples.json

Lines changed: 428 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"category": "high_urgency",
5+
"delay_minutes": 0
6+
},
7+
"relationships": {
8+
"channel": {
9+
"data": {
10+
"id": "7c1ce93f-30a5-596a-0f7b-06bfe153704c",
11+
"type": "notification_channels"
12+
}
13+
}
14+
},
15+
"type": "notification_rules"
16+
}
17+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"category": "high_urgency",
5+
"delay_minutes": 1
6+
},
7+
"id": "4d00de6b-e1c1-e5fa-b238-57acec728d0d",
8+
"relationships": {
9+
"channel": {
10+
"data": {
11+
"id": "7c1ce93f-30a5-596a-0f7b-06bfe153704c",
12+
"type": "notification_channels"
13+
}
14+
}
15+
},
16+
"type": "notification_rules"
17+
}
18+
}

data/api/v2/CodeExamples.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,6 +1244,13 @@
12441244
"description": "Create an On-Call notification channel for a user returns \"Created\" response"
12451245
}
12461246
],
1247+
"CreateUserNotificationRule": [
1248+
{
1249+
"group": "on-call",
1250+
"suffix": "",
1251+
"description": "Create an On-Call notification rule for a user returns \"Created\" response"
1252+
}
1253+
],
12471254
"SetOnCallTeamRoutingRules": [
12481255
{
12491256
"group": "on-call",
@@ -1265,6 +1272,13 @@
12651272
"description": "Update On-Call schedule returns \"OK\" response"
12661273
}
12671274
],
1275+
"UpdateUserNotificationRule": [
1276+
{
1277+
"group": "on-call",
1278+
"suffix": "",
1279+
"description": "Update an On-Call notification rule for a user returns \"OK\" response"
1280+
}
1281+
],
12681282
"CreateOpsgenieService": [
12691283
{
12701284
"group": "opsgenie_integration",

0 commit comments

Comments
 (0)