Skip to content

Commit 3c88a9a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Update rotation interval (#2466)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent de739a1 commit 3c88a9a

File tree

9 files changed

+56
-50
lines changed

9 files changed

+56
-50
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ components:
770770
description: 'Identifier, formatted as `type:id`. Supported types: `connection`,
771771
`dashboard`, `integration-account`, `integration-service`, `integration-webhook`,
772772
`notebook`, `reference-table`, `security-rule`, `slo`, `workflow`, `app-builder-app`,
773-
`connection`, `connection-group`, `rum-application`.'
773+
`connection`, `connection-group`, `rum-application`, `cross-org-connection`.'
774774
example: dashboard:abc-def-ghi
775775
in: path
776776
name: resource_id
@@ -20129,7 +20129,7 @@ components:
2012920129
type: object
2013020130
LayerAttributesInterval:
2013120131
description: Defines how often the rotation repeats, using a combination of
20132-
days and optional seconds.
20132+
days and optional seconds. Should be at least 1 hour.
2013320133
properties:
2013420134
days:
2013520135
description: The number of days in each rotation cycle.
@@ -33383,7 +33383,7 @@ components:
3338333383
- effective_date: '2025-02-03T05:00:00Z'
3338433384
end_date: '2025-12-31T00:00:00Z'
3338533385
interval:
33386-
seconds: 300
33386+
seconds: 3600
3338733387
members:
3338833388
- user:
3338933389
id: 00000000-aba1-0000-0000-000000000000
@@ -58677,6 +58677,8 @@ paths:
5867758677

5867858678
- RUM Applications: `rum-application`
5867958679

58680+
- Cross Org Connections: `cross-org-connection`
58681+
5868058682

5868158683
#### Supported relations for resources
5868258684

@@ -58718,7 +58720,9 @@ paths:
5871858720

5871958721
Connection Groups | `viewer`, `editor`
5872058722

58721-
RUM Application | `viewer`, `editor`'
58723+
RUM Application | `viewer`, `editor`
58724+
58725+
Cross Org Connections | `viewer`, `editor`'
5872258726
operationId: UpdateRestrictionPolicy
5872358727
parameters:
5872458728
- $ref: '#/components/parameters/ResourceID'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"2025-05-29T04:54:24.605Z"
1+
"2025-07-03T14:30:45.232Z"

cassettes/v2/On-Call_446749911/Update-On-Call-schedule-returns-OK-response_1676073675/recording.har

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"entries": [
1010
{
11-
"_id": "3dfc52a434816e93eef6f7a0b8e7f737",
11+
"_id": "7a980b613319a1591f4ddffbf1f7ab7a",
1212
"_order": 0,
1313
"cache": {},
1414
"request": {
@@ -32,7 +32,7 @@
3232
"postData": {
3333
"mimeType": "application/json",
3434
"params": [],
35-
"text": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_schedule_returns_OK_response-1748494464@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}"
35+
"text": "{\"data\":{\"attributes\":{\"email\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045@datadoghq.com\",\"title\":\"user title\"},\"type\":\"users\"}}"
3636
},
3737
"queryString": [],
3838
"url": "https://api.datadoghq.com/api/v2/users"
@@ -42,7 +42,7 @@
4242
"content": {
4343
"mimeType": "application/json",
4444
"size": 691,
45-
"text": "{\"data\":{\"type\":\"users\",\"id\":\"fe6b1fbd-3c48-11f0-90c9-4ad2f0f8c382\",\"attributes\":{\"name\":null,\"handle\":\"test-update_on_call_schedule_returns_ok_response-1748494464@datadoghq.com\",\"created_at\":\"2025-05-29T04:54:25.223093+00:00\",\"modified_at\":\"2025-05-29T04:54:25.223093+00:00\",\"email\":\"test-update_on_call_schedule_returns_ok_response-1748494464@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/6bc23e301121dc7a0a2d1adc71bbbc54?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"
45+
"text": "{\"data\":{\"type\":\"users\",\"id\":\"4ea279a2-581a-11f0-bb4d-bed6e06a25e4\",\"attributes\":{\"name\":null,\"handle\":\"test-update_on_call_schedule_returns_ok_response-1751553045@datadoghq.com\",\"created_at\":\"2025-07-03T14:30:46.015046+00:00\",\"modified_at\":\"2025-07-03T14:30:46.015046+00:00\",\"email\":\"test-update_on_call_schedule_returns_ok_response-1751553045@datadoghq.com\",\"icon\":\"https://secure.gravatar.com/avatar/8c4a38455f71bb12d82add5157f105a0?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"
4646
},
4747
"cookies": [],
4848
"headers": [
@@ -57,11 +57,11 @@
5757
"status": 201,
5858
"statusText": "Created"
5959
},
60-
"startedDateTime": "2025-05-29T04:54:24.609Z",
61-
"time": 705
60+
"startedDateTime": "2025-07-03T14:30:45.698Z",
61+
"time": 367
6262
},
6363
{
64-
"_id": "b1a4eb5b8ba35920f3aa28a98ae8704e",
64+
"_id": "02046e92e0ca85f41b507d3f50c1e2d5",
6565
"_order": 0,
6666
"cache": {},
6767
"request": {
@@ -85,7 +85,7 @@
8585
"postData": {
8686
"mimeType": "application/json",
8787
"params": [],
88-
"text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:54:24.605Z\",\"end_date\":\"2025-06-08T04:54:24.605Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"fe6b1fbd-3c48-11f0-90c9-4ad2f0f8c382\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:54:24.605Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1748494464\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}"
88+
"text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-06-23T14:30:45.232Z\",\"end_date\":\"2025-07-13T14:30:45.232Z\",\"interval\":{\"days\":1},\"members\":[{\"user\":{\"id\":\"4ea279a2-581a-11f0-bb4d-bed6e06a25e4\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-06-28T14:30:45.232Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}"
8989
},
9090
"queryString": [],
9191
"url": "https://api.datadoghq.com/api/v2/on-call/schedules"
@@ -95,7 +95,7 @@
9595
"content": {
9696
"mimeType": "application/vnd.api+json",
9797
"size": 368,
98-
"text": "{\"data\":{\"id\":\"f12650c6-beae-40fd-a686-7e57d72216c6\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1748494464\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"b9dca7b6-b083-44d3-9971-6c2c796fb352\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}"
98+
"text": "{\"data\":{\"id\":\"3cb80fa4-f506-4b2f-9187-2af6c2253698\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"70f75d0e-19d0-46a1-9c1c-19d2de171744\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"65aea9d0-941c-4607-bf8a-14fc0dac2820\",\"type\":\"teams\"}]}}}}"
9999
},
100100
"cookies": [],
101101
"headers": [
@@ -110,11 +110,11 @@
110110
"status": 201,
111111
"statusText": "Created"
112112
},
113-
"startedDateTime": "2025-05-29T04:54:25.324Z",
114-
"time": 619
113+
"startedDateTime": "2025-07-03T14:30:46.088Z",
114+
"time": 97
115115
},
116116
{
117-
"_id": "f81af8787e5d3dca59c105a2db811a71",
117+
"_id": "209cd9cddfdc4d67deba703111217b32",
118118
"_order": 0,
119119
"cache": {},
120120
"request": {
@@ -138,7 +138,7 @@
138138
"postData": {
139139
"mimeType": "application/json",
140140
"params": [],
141-
"text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-ed2e958dacae5dbc\",\"name\":\"test-name-ed2e958dacae5dbc\"},\"type\":\"team\"}}"
141+
"text": "{\"data\":{\"attributes\":{\"handle\":\"test-handle-001d7ca9284aa632\",\"name\":\"test-name-001d7ca9284aa632\"},\"type\":\"team\"}}"
142142
},
143143
"queryString": [],
144144
"url": "https://api.datadoghq.com/api/v2/team"
@@ -148,7 +148,7 @@
148148
"content": {
149149
"mimeType": "application/json",
150150
"size": 636,
151-
"text": "{\"data\":{\"type\":\"team\",\"id\":\"522c3ff2-76b4-41db-8cfa-9bb9876145e4\",\"attributes\":{\"name\":\"test-name-ed2e958dacae5dbc\",\"handle\":\"test-handle-ed2e958dacae5dbc\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":13,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-05-29T04:54:26.535052+00:00\",\"modified_at\":\"2025-05-29T04:54:26.535061+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/522c3ff2-76b4-41db-8cfa-9bb9876145e4/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/522c3ff2-76b4-41db-8cfa-9bb9876145e4/permission-settings\"}}}}}\n"
151+
"text": "{\"data\":{\"type\":\"team\",\"id\":\"9ca20f11-ede5-4147-addb-25b7f91ce508\",\"attributes\":{\"name\":\"test-name-001d7ca9284aa632\",\"handle\":\"test-handle-001d7ca9284aa632\",\"summary\":null,\"description\":null,\"avatar\":null,\"banner\":13,\"visible_modules\":[],\"hidden_modules\":[],\"created_at\":\"2025-07-03T14:30:46.275583+00:00\",\"modified_at\":\"2025-07-03T14:30:46.275594+00:00\",\"user_count\":0,\"link_count\":0},\"relationships\":{\"team_links\":{\"links\":{\"related\":\"/api/v2/team/9ca20f11-ede5-4147-addb-25b7f91ce508/links\"}},\"user_team_permissions\":{\"links\":{\"related\":\"/api/v2/team/9ca20f11-ede5-4147-addb-25b7f91ce508/permission-settings\"}}}}}\n"
152152
},
153153
"cookies": [],
154154
"headers": [
@@ -163,15 +163,15 @@
163163
"status": 201,
164164
"statusText": "Created"
165165
},
166-
"startedDateTime": "2025-05-29T04:54:25.960Z",
167-
"time": 747
166+
"startedDateTime": "2025-07-03T14:30:46.190Z",
167+
"time": 211
168168
},
169169
{
170-
"_id": "57417837649449bffc24806ec352e923",
170+
"_id": "88b557506990756dddad235f5be22de0",
171171
"_order": 0,
172172
"cache": {},
173173
"request": {
174-
"bodySize": 685,
174+
"bodySize": 686,
175175
"cookies": [],
176176
"headers": [
177177
{
@@ -191,17 +191,17 @@
191191
"postData": {
192192
"mimeType": "application/json",
193193
"params": [],
194-
"text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-05-19T04:54:24.605Z\",\"end_date\":\"2025-06-08T04:54:24.605Z\",\"id\":\"b9dca7b6-b083-44d3-9971-6c2c796fb352\",\"interval\":{\"seconds\":300},\"members\":[{\"user\":{\"id\":\"fe6b1fbd-3c48-11f0-90c9-4ad2f0f8c382\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-05-24T04:54:24.605Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1748494464\",\"time_zone\":\"America/New_York\"},\"id\":\"f12650c6-beae-40fd-a686-7e57d72216c6\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"522c3ff2-76b4-41db-8cfa-9bb9876145e4\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}"
194+
"text": "{\"data\":{\"attributes\":{\"layers\":[{\"effective_date\":\"2025-06-23T14:30:45.232Z\",\"end_date\":\"2025-07-13T14:30:45.232Z\",\"id\":\"70f75d0e-19d0-46a1-9c1c-19d2de171744\",\"interval\":{\"seconds\":3600},\"members\":[{\"user\":{\"id\":\"4ea279a2-581a-11f0-bb4d-bed6e06a25e4\"}}],\"name\":\"Layer 1\",\"restrictions\":[{\"end_day\":\"friday\",\"end_time\":\"17:00:00\",\"start_day\":\"monday\",\"start_time\":\"09:00:00\"}],\"rotation_start\":\"2025-06-28T14:30:45.232Z\"}],\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"id\":\"3cb80fa4-f506-4b2f-9187-2af6c2253698\",\"relationships\":{\"teams\":{\"data\":[{\"id\":\"9ca20f11-ede5-4147-addb-25b7f91ce508\",\"type\":\"teams\"}]}},\"type\":\"schedules\"}}"
195195
},
196196
"queryString": [],
197-
"url": "https://api.datadoghq.com/api/v2/on-call/schedules/f12650c6-beae-40fd-a686-7e57d72216c6"
197+
"url": "https://api.datadoghq.com/api/v2/on-call/schedules/3cb80fa4-f506-4b2f-9187-2af6c2253698"
198198
},
199199
"response": {
200200
"bodySize": 368,
201201
"content": {
202202
"mimeType": "application/vnd.api+json",
203203
"size": 368,
204-
"text": "{\"data\":{\"id\":\"f12650c6-beae-40fd-a686-7e57d72216c6\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1748494464\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"b9dca7b6-b083-44d3-9971-6c2c796fb352\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"522c3ff2-76b4-41db-8cfa-9bb9876145e4\",\"type\":\"teams\"}]}}}}"
204+
"text": "{\"data\":{\"id\":\"3cb80fa4-f506-4b2f-9187-2af6c2253698\",\"type\":\"schedules\",\"attributes\":{\"name\":\"Test-Update_On_Call_schedule_returns_OK_response-1751553045\",\"time_zone\":\"America/New_York\"},\"relationships\":{\"layers\":{\"data\":[{\"id\":\"70f75d0e-19d0-46a1-9c1c-19d2de171744\",\"type\":\"layers\"}]},\"teams\":{\"data\":[{\"id\":\"9ca20f11-ede5-4147-addb-25b7f91ce508\",\"type\":\"teams\"}]}}}}"
205205
},
206206
"cookies": [],
207207
"headers": [
@@ -216,11 +216,11 @@
216216
"status": 200,
217217
"statusText": "OK"
218218
},
219-
"startedDateTime": "2025-05-29T04:54:26.724Z",
220-
"time": 635
219+
"startedDateTime": "2025-07-03T14:30:46.408Z",
220+
"time": 97
221221
},
222222
{
223-
"_id": "524bfd86c3a255f6aac55c75b9594611",
223+
"_id": "e2caa3bd1d9ba23a54e4a3973ceca236",
224224
"_order": 0,
225225
"cache": {},
226226
"request": {
@@ -233,11 +233,11 @@
233233
"value": "*/*"
234234
}
235235
],
236-
"headersSize": 522,
236+
"headersSize": 521,
237237
"httpVersion": "HTTP/1.1",
238238
"method": "DELETE",
239239
"queryString": [],
240-
"url": "https://api.datadoghq.com/api/v2/team/522c3ff2-76b4-41db-8cfa-9bb9876145e4"
240+
"url": "https://api.datadoghq.com/api/v2/team/9ca20f11-ede5-4147-addb-25b7f91ce508"
241241
},
242242
"response": {
243243
"bodySize": 0,
@@ -253,11 +253,11 @@
253253
"status": 204,
254254
"statusText": "No Content"
255255
},
256-
"startedDateTime": "2025-05-29T04:54:27.371Z",
257-
"time": 737
256+
"startedDateTime": "2025-07-03T14:30:46.511Z",
257+
"time": 164
258258
},
259259
{
260-
"_id": "f82cfa04ac523400073adc3acc5b676f",
260+
"_id": "8b2043af33621f9a0413fb0f61b0d9c9",
261261
"_order": 0,
262262
"cache": {},
263263
"request": {
@@ -274,7 +274,7 @@
274274
"httpVersion": "HTTP/1.1",
275275
"method": "DELETE",
276276
"queryString": [],
277-
"url": "https://api.datadoghq.com/api/v2/on-call/schedules/f12650c6-beae-40fd-a686-7e57d72216c6"
277+
"url": "https://api.datadoghq.com/api/v2/on-call/schedules/3cb80fa4-f506-4b2f-9187-2af6c2253698"
278278
},
279279
"response": {
280280
"bodySize": 0,
@@ -290,11 +290,11 @@
290290
"status": 204,
291291
"statusText": "No Content"
292292
},
293-
"startedDateTime": "2025-05-29T04:54:28.117Z",
294-
"time": 607
293+
"startedDateTime": "2025-07-03T14:30:46.677Z",
294+
"time": 102
295295
},
296296
{
297-
"_id": "55faab6d00cb54aa8835da815c33db09",
297+
"_id": "7c96887e173281462525a52999e1af53",
298298
"_order": 0,
299299
"cache": {},
300300
"request": {
@@ -311,7 +311,7 @@
311311
"httpVersion": "HTTP/1.1",
312312
"method": "DELETE",
313313
"queryString": [],
314-
"url": "https://api.datadoghq.com/api/v2/users/fe6b1fbd-3c48-11f0-90c9-4ad2f0f8c382"
314+
"url": "https://api.datadoghq.com/api/v2/users/4ea279a2-581a-11f0-bb4d-bed6e06a25e4"
315315
},
316316
"response": {
317317
"bodySize": 0,
@@ -327,8 +327,8 @@
327327
"status": 204,
328328
"statusText": "No Content"
329329
},
330-
"startedDateTime": "2025-05-29T04:54:28.729Z",
331-
"time": 761
330+
"startedDateTime": "2025-07-03T14:30:46.783Z",
331+
"time": 298
332332
}
333333
],
334334
"pages": [],

0 commit comments

Comments
 (0)