|
3 | 3 | {
|
4 | 4 | "request": {
|
5 | 5 | "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\"}}", |
7 | 7 | "encoding": null
|
8 | 8 | },
|
9 | 9 | "headers": {
|
|
19 | 19 | },
|
20 | 20 | "response": {
|
21 | 21 | "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\"}]}}}}", |
23 | 23 | "encoding": null
|
24 | 24 | },
|
25 | 25 | "headers": {
|
|
32 | 32 | "message": "Created"
|
33 | 33 | }
|
34 | 34 | },
|
35 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 35 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
36 | 36 | },
|
37 | 37 | {
|
38 | 38 | "request": {
|
39 | 39 | "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\"}}", |
41 | 41 | "encoding": null
|
42 | 42 | },
|
43 | 43 | "headers": {
|
|
53 | 53 | },
|
54 | 54 | "response": {
|
55 | 55 | "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", |
57 | 57 | "encoding": null
|
58 | 58 | },
|
59 | 59 | "headers": {
|
|
66 | 66 | "message": "Created"
|
67 | 67 | }
|
68 | 68 | },
|
69 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 69 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
70 | 70 | },
|
71 | 71 | {
|
72 | 72 | "request": {
|
73 | 73 | "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\"}}", |
75 | 75 | "encoding": null
|
76 | 76 | },
|
77 | 77 | "headers": {
|
|
87 | 87 | },
|
88 | 88 | "response": {
|
89 | 89 | "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", |
91 | 91 | "encoding": null
|
92 | 92 | },
|
93 | 93 | "headers": {
|
|
100 | 100 | "message": "Created"
|
101 | 101 | }
|
102 | 102 | },
|
103 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 103 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
104 | 104 | },
|
105 | 105 | {
|
106 | 106 | "request": {
|
107 | 107 | "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\"}}", |
109 | 109 | "encoding": null
|
110 | 110 | },
|
111 | 111 | "headers": {
|
|
121 | 121 | },
|
122 | 122 | "response": {
|
123 | 123 | "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\"}]}}}}", |
125 | 125 | "encoding": null
|
126 | 126 | },
|
127 | 127 | "headers": {
|
|
134 | 134 | "message": "Created"
|
135 | 135 | }
|
136 | 136 | },
|
137 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 137 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
138 | 138 | },
|
139 | 139 | {
|
140 | 140 | "request": {
|
|
145 | 145 | ]
|
146 | 146 | },
|
147 | 147 | "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" |
149 | 149 | },
|
150 | 150 | "response": {
|
151 | 151 | "body": {
|
|
158 | 158 | "message": "No Content"
|
159 | 159 | }
|
160 | 160 | },
|
161 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 161 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
162 | 162 | },
|
163 | 163 | {
|
164 | 164 | "request": {
|
|
169 | 169 | ]
|
170 | 170 | },
|
171 | 171 | "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" |
173 | 173 | },
|
174 | 174 | "response": {
|
175 | 175 | "body": {
|
|
182 | 182 | "message": "No Content"
|
183 | 183 | }
|
184 | 184 | },
|
185 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 185 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
186 | 186 | },
|
187 | 187 | {
|
188 | 188 | "request": {
|
|
193 | 193 | ]
|
194 | 194 | },
|
195 | 195 | "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" |
197 | 197 | },
|
198 | 198 | "response": {
|
199 | 199 | "body": {
|
|
206 | 206 | "message": "No Content"
|
207 | 207 | }
|
208 | 208 | },
|
209 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 209 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
210 | 210 | },
|
211 | 211 | {
|
212 | 212 | "request": {
|
|
217 | 217 | ]
|
218 | 218 | },
|
219 | 219 | "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" |
221 | 221 | },
|
222 | 222 | "response": {
|
223 | 223 | "body": {
|
|
230 | 230 | "message": "No Content"
|
231 | 231 | }
|
232 | 232 | },
|
233 |
| - "recorded_at": "Wed, 16 Apr 2025 06:00:30 GMT" |
| 233 | + "recorded_at": "Thu, 24 Apr 2025 02:49:21 GMT" |
234 | 234 | }
|
235 | 235 | ],
|
236 | 236 | "recorded_with": "VCR 6.0.0"
|
|
0 commit comments