Skip to content

Commit bd16818

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit dde0d2ca of spec repo
1 parent bd488d8 commit bd16818

File tree

9 files changed

+7943
-4
lines changed

9 files changed

+7943
-4
lines changed

.apigentools-info

+4-4
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-04-22 18:30:05.951046",
8-
"spec_repo_commit": "2b6fa951"
7+
"regenerated": "2025-04-24 10:52:30.572662",
8+
"spec_repo_commit": "dde0d2ca"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-22 18:30:14.967308",
13-
"spec_repo_commit": "2b6fa951"
12+
"regenerated": "2025-04-24 10:52:40.194623",
13+
"spec_repo_commit": "dde0d2ca"
1414
}
1515
}
1616
}

config/_default/menus/api.en.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -7430,6 +7430,30 @@ menu:
74307430
url: /api/latest/on-call/
74317431
identifier: on-call
74327432
generated: true
7433+
- name: Set on-call team routing rules
7434+
url: '#set-on-call-team-routing-rules'
7435+
identifier: on-call-set-on-call-team-routing-rules
7436+
parent: on-call
7437+
generated: true
7438+
params:
7439+
versions:
7440+
- v2
7441+
operationids:
7442+
- SetOnCallTeamRoutingRules
7443+
unstable: []
7444+
order: 10
7445+
- name: Get on-call team routing rules
7446+
url: '#get-on-call-team-routing-rules'
7447+
identifier: on-call-get-on-call-team-routing-rules
7448+
parent: on-call
7449+
generated: true
7450+
params:
7451+
versions:
7452+
- v2
7453+
operationids:
7454+
- GetOnCallTeamRoutingRules
7455+
unstable: []
7456+
order: 9
74337457
- name: Update on-call schedule
74347458
url: '#update-on-call-schedule'
74357459
identifier: on-call-update-on-call-schedule

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

+104
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"data": {
3+
"attributes": {
4+
"rules": [
5+
{
6+
"policy_id": "string",
7+
"query": "tags.service:test",
8+
"time_restriction": {
9+
"restrictions": [
10+
{
11+
"end_day": "monday",
12+
"end_time": "17:00:00",
13+
"start_day": "monday",
14+
"start_time": "09:00:00"
15+
},
16+
{
17+
"end_day": "tuesday",
18+
"end_time": "17:00:00",
19+
"start_day": "tuesday",
20+
"start_time": "09:00:00"
21+
}
22+
],
23+
"time_zone": ""
24+
},
25+
"urgency": "high"
26+
},
27+
{
28+
"actions": [
29+
{
30+
"channel": "channel",
31+
"type": "send_slack_message",
32+
"workspace": "workspace"
33+
}
34+
],
35+
"policy_id": "fad4eee1-13f5-40d8-886b-4e56d8d5d1c6",
36+
"query": "",
37+
"urgency": "low"
38+
}
39+
]
40+
},
41+
"id": "27590dae-47be-4a7d-9abf-8f4e45124020",
42+
"type": "team_routing_rules"
43+
}
44+
}

data/api/v2/CodeExamples.json

+7
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,13 @@
889889
"description": "Create on-call schedule returns \"Created\" response"
890890
}
891891
],
892+
"SetOnCallTeamRoutingRules": [
893+
{
894+
"group": "on-call",
895+
"suffix": "",
896+
"description": "Set on-call team routing rules returns \"OK\" response"
897+
}
898+
],
892899
"UpdateOnCallEscalationPolicy": [
893900
{
894901
"group": "on-call",

0 commit comments

Comments
 (0)