Skip to content

Commit f026806

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Remove skip-python for oncall (#621)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 8151410 commit f026806

18 files changed

+154
-154
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-04-22 18:27:59.783493",
8-
"spec_repo_commit": "2b6fa951"
7+
"regenerated": "2025-04-24 04:43:28.634789",
8+
"spec_repo_commit": "ab6a0f8c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-22 18:27:59.799536",
13-
"spec_repo_commit": "2b6fa951"
12+
"regenerated": "2025-04-24 04:43:28.650597",
13+
"spec_repo_commit": "ab6a0f8c"
1414
}
1515
}
1616
}
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-16T06:00:30.540Z
1+
2025-04-24T02:49:21.008Z

tests/scenarios/cassettes/v2/on-call/Create-on-call-escalation-policy-returns-Created-response.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"request": {
55
"body": {
6-
"string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-04-06T06:00:30.540Z\",\"end_date\":\"2025-04-26T06:00:30.540Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"890f29d4-0b7a-11f0-aeb2-760fcae4f596\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-04-11T06:00:30.540Z\"}],\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230\",\"tags\":[\"tag1\",\"tag2\"],\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}",
6+
"string": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-04-14T02:49:21.008Z\",\"end_date\":\"2025-05-04T02:49:21.008Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"890f29d4-0b7a-11f0-aeb2-760fcae4f596\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-04-19T02:49:21.008Z\"}],\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961\",\"tags\":[\"tag1\",\"tag2\"],\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}",
77
"encoding": null
88
},
99
"headers": {
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"body": {
22-
"string": "{\"data\":{\"id\":\"6feb25af-6f07-499e-8639-a520c93139d9\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230\",\"tags\":[\"tag1\",\"tag2\"],\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"59d24cea-649d-4a4b-aa9e-7c8aa144f77f\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}",
22+
"string": "{\"data\":{\"id\":\"982c5000-f586-47ba-8a24-68cbfcb69dd8\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961\",\"tags\":[\"tag1\",\"tag2\"],\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"e0120c74-ba79-45ce-a6ee-23805f0b427a\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}",
2323
"encoding": null
2424
},
2525
"headers": {
@@ -32,12 +32,12 @@
3232
"message": "Created"
3333
}
3434
},
35-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
35+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
3636
},
3737
{
3838
"request": {
3939
"body": {
40-
"string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-40c59bb7ee43cf3b\",\"name\":\"test-name-40c59bb7ee43cf3b\"},\"type\":\"team\"}}",
40+
"string": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-31c96645156f4753\",\"name\":\"test-name-31c96645156f4753\"},\"type\":\"team\"}}",
4141
"encoding": null
4242
},
4343
"headers": {
@@ -53,7 +53,7 @@
5353
},
5454
"response": {
5555
"body": {
56-
"string": "{\"data\":{\"type\":\"team\",\"id\":\"a46e2920-7cd2-4338-af2e-b6104f60d4ff\",\"attributes\":{\"name\":\"test-name-40c59bb7ee43cf3b\",\"handle\":\"test-handle-40c59bb7ee43cf3b\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":8,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-04-16T06:00:31.920105+00:00\",\"modified_at\":\"2025-04-16T06:00:31.920111+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/a46e2920-7cd2-4338-af2e-b6104f60d4ff/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/a46e2920-7cd2-4338-af2e-b6104f60d4ff/permission-settings\"}}}}}\n",
56+
"string": "{\"data\":{\"type\":\"team\",\"id\":\"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a\",\"attributes\":{\"name\":\"test-name-31c96645156f4753\",\"handle\":\"test-handle-31c96645156f4753\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":9,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-04-24T02:49:22.446146+00:00\",\"modified_at\":\"2025-04-24T02:49:22.446154+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/1a2f4aba-af9a-4b7c-bfc1-27147b24f69a/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/1a2f4aba-af9a-4b7c-bfc1-27147b24f69a/permission-settings\"}}}}}\n",
5757
"encoding": null
5858
},
5959
"headers": {
@@ -66,12 +66,12 @@
6666
"message": "Created"
6767
}
6868
},
69-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
69+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
7070
},
7171
{
7272
"request": {
7373
"body": {
74-
"string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}",
74+
"string": "{\"data\":{\"attributes\":{\"email\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}",
7575
"encoding": null
7676
},
7777
"headers": {
@@ -87,7 +87,7 @@
8787
},
8888
"response": {
8989
"body": {
90-
"string": "{\"data\":{\"type\":\"users\",\"id\":\"1b3eecd3-1a88-11f0-81f0-8e6d360bddb8\",\"attributes\":{\"name\":null,\"handle\":\"test-create_on_call_escalation_policy_returns_created_response-1744783230@datadoghq.com\",\"created_at\":\"2025-04-16T06:00:32.346882+00:00\",\"modified_at\":\"2025-04-16T06:00:32.346882+00:00\",\"email\":\"test-create_on_call_escalation_policy_returns_created_response-1744783230@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/cdc011c1fd3e799cca4a175bdbc7b466?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n",
90+
"string": "{\"data\":{\"type\":\"users\",\"id\":\"ba36416f-20b6-11f0-80c3-2afe3706f727\",\"attributes\":{\"name\":null,\"handle\":\"test-create_on_call_escalation_policy_returns_created_response-1745462961@datadoghq.com\",\"created_at\":\"2025-04-24T02:49:22.874028+00:00\",\"modified_at\":\"2025-04-24T02:49:22.874028+00:00\",\"email\":\"test-create_on_call_escalation_policy_returns_created_response-1745462961@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/6a35b18888753aa49b46b0e245a5ce25?s=48&d=retro\",\"title\":\"user title\",\"verified\":false,\"service_account\":false,\"disabled\":false,\"allowed_login_methods\":[],\"status\":\"Pending\"},\"relationships\":{\"roles\":{\"data\":[]},\"org\":{\"data\":{\"type\":\"orgs\",\"id\":\"4dee724d-00cc-11ea-a77b-570c9d03c6c5\"}}}}}\n",
9191
"encoding": null
9292
},
9393
"headers": {
@@ -100,12 +100,12 @@
100100
"message": "Created"
101101
}
102102
},
103-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
103+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
104104
},
105105
{
106106
"request": {
107107
"body": {
108-
"string": "{\"data\":{\"attributes\":{\"description\":\"Escalation Policy 1 description\",\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"1b3eecd3-1a88-11f0-81f0-8e6d360bddb8\",\"type\":\"users\"},{\"id\":\"6feb25af-6f07-499e-8639-a520c93139d9\",\"type\":\"schedules\"},{\"id\":\"a46e2920-7cd2-4338-af2e-b6104f60d4ff\",\"type\":\"teams\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"a46e2920-7cd2-4338-af2e-b6104f60d4ff\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"a46e2920-7cd2-4338-af2e-b6104f60d4ff\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}",
108+
"string": "{\"data\":{\"attributes\":{\"description\":\"Escalation Policy 1 description\",\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961\",\"resolve_page_on_policy_end\":true,\"retries\":2,\"steps\":[{\"assignment\":\"default\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"ba36416f-20b6-11f0-80c3-2afe3706f727\",\"type\":\"users\"},{\"id\":\"982c5000-f586-47ba-8a24-68cbfcb69dd8\",\"type\":\"schedules\"},{\"id\":\"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a\",\"type\":\"teams\"}]},{\"assignment\":\"round-robin\",\"escalate_after_seconds\":3600,\"targets\":[{\"id\":\"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a\",\"type\":\"teams\"}]}]},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a\",\"type\":\"teams\"}]}},\"type\":\"policies\"}}",
109109
"encoding": null
110110
},
111111
"headers": {
@@ -121,7 +121,7 @@
121121
},
122122
"response": {
123123
"body": {
124-
"string": "{\"data\":{\"id\":\"95d3ffa0-2fba-475f-84ca-d3a39290f85d\",\"type\":\"policies\",\"attributes\":{\"description\":\"Escalation Policy 1 description\",\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1744783230\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"d6f2329f-a797-4eb8-a21a-d5285e853e43\",\"type\":\"steps\"},{\"id\":\"88120ee6-e12b-497f-aab6-37b929002d59\",\"type\":\"steps\"}]},\"teams\":{\"data\":[]}}}}",
124+
"string": "{\"data\":{\"id\":\"027666b2-8fa2-47a5-a9c6-9a7bed58f140\",\"type\":\"policies\",\"attributes\":{\"description\":\"Escalation Policy 1 description\",\"name\":\"Test-Create_on_call_escalation_policy_returns_Created_response-1745462961\",\"resolve_page_on_policy_end\":true,\"retries\":2},\"relationships\":{\"steps\":{\"data\":[{\"id\":\"9d860392-4d2e-48d1-a5b4-09539bf5df12\",\"type\":\"steps\"},{\"id\":\"75e94267-7fa6-4790-a81f-a6633f2e9c6e\",\"type\":\"steps\"}]},\"teams\":{\"data\":[{\"id\":\"1a2f4aba-af9a-4b7c-bfc1-27147b24f69a\",\"type\":\"teams\"}]}}}}",
125125
"encoding": null
126126
},
127127
"headers": {
@@ -134,7 +134,7 @@
134134
"message": "Created"
135135
}
136136
},
137-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
137+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
138138
},
139139
{
140140
"request": {
@@ -145,7 +145,7 @@
145145
]
146146
},
147147
"method": "delete",
148-
"uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/95d3ffa0-2fba-475f-84ca-d3a39290f85d"
148+
"uri": "https://api.datadoghq.com/api/v2/on-call/escalation-policies/027666b2-8fa2-47a5-a9c6-9a7bed58f140"
149149
},
150150
"response": {
151151
"body": {
@@ -158,7 +158,7 @@
158158
"message": "No Content"
159159
}
160160
},
161-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
161+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
162162
},
163163
{
164164
"request": {
@@ -169,7 +169,7 @@
169169
]
170170
},
171171
"method": "delete",
172-
"uri": "https://api.datadoghq.com/api/v2/users/1b3eecd3-1a88-11f0-81f0-8e6d360bddb8"
172+
"uri": "https://api.datadoghq.com/api/v2/users/ba36416f-20b6-11f0-80c3-2afe3706f727"
173173
},
174174
"response": {
175175
"body": {
@@ -182,7 +182,7 @@
182182
"message": "No Content"
183183
}
184184
},
185-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
185+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
186186
},
187187
{
188188
"request": {
@@ -193,7 +193,7 @@
193193
]
194194
},
195195
"method": "delete",
196-
"uri": "https://api.datadoghq.com/api/v2/team/a46e2920-7cd2-4338-af2e-b6104f60d4ff"
196+
"uri": "https://api.datadoghq.com/api/v2/team/1a2f4aba-af9a-4b7c-bfc1-27147b24f69a"
197197
},
198198
"response": {
199199
"body": {
@@ -206,7 +206,7 @@
206206
"message": "No Content"
207207
}
208208
},
209-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
209+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
210210
},
211211
{
212212
"request": {
@@ -217,7 +217,7 @@
217217
]
218218
},
219219
"method": "delete",
220-
"uri": "https://api.datadoghq.com/api/v2/on-call/schedules/6feb25af-6f07-499e-8639-a520c93139d9"
220+
"uri": "https://api.datadoghq.com/api/v2/on-call/schedules/982c5000-f586-47ba-8a24-68cbfcb69dd8"
221221
},
222222
"response": {
223223
"body": {
@@ -230,7 +230,7 @@
230230
"message": "No Content"
231231
}
232232
},
233-
"recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT"
233+
"recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT"
234234
}
235235
],
236236
"recorded_with": "VCR 6.0.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-04-16T06:00:36.600Z
1+
2025-04-24T02:49:27.251Z

0 commit comments

Comments
 (0)