1+ [
2+ {
3+ "httpRequest" : {
4+ "body" : {
5+ "type" : " JSON" ,
6+ "json" : " {\" data\" :{\" attributes\" :{\" email\" :\" Test-Get_scheduled_on_call_user_returns_OK_response-1764838218@datadoghq.com\" ,\" title\" :\" user title\" },\" type\" :\" users\" }}"
7+ },
8+ "headers" : {},
9+ "method" : " POST" ,
10+ "path" : " /api/v2/users" ,
11+ "keepAlive" : false ,
12+ "secure" : true
13+ },
14+ "httpResponse" : {
15+ "body" : " {\" data\" :{\" type\" :\" users\" ,\" id\" :\" 42e2447f-d0ee-11f0-b246-f6a778e5e220\" ,\" attributes\" :{\" name\" :null,\" handle\" :\" test-get_scheduled_on_call_user_returns_ok_response-1764838218@datadoghq.com\" ,\" created_at\" :\" 2025-12-04T08:50:19.140471+00:00\" ,\" modified_at\" :\" 2025-12-04T08:50:19.140471+00:00\" ,\" email\" :\" test-get_scheduled_on_call_user_returns_ok_response-1764838218@datadoghq.com\" ,\" icon\" :\" https://secure.gravatar.com/avatar/6a6c3614a2758d626d4fcde0e9727205?s=48&d=retro\" ,\" title\" :\" user title\" ,\" verified\" :false,\" service_account\" :false,\" disabled\" :false,\" allowed_login_methods\" :[],\" status\" :\" Pending\" ,\" last_login_time\" :null},\" relationships\" :{\" roles\" :{\" data\" :[]},\" org\" :{\" data\" :{\" type\" :\" orgs\" ,\" id\" :\" 4dee724d-00cc-11ea-a77b-570c9d03c6c5\" }}}}}\n " ,
16+ "headers" : {
17+ "Content-Type" : [
18+ " application/json"
19+ ]
20+ },
21+ "statusCode" : 201 ,
22+ "reasonPhrase" : " Created"
23+ },
24+ "times" : {
25+ "remainingTimes" : 1
26+ },
27+ "timeToLive" : {
28+ "unlimited" : true
29+ },
30+ "id" : " 94c12122-86d9-d81a-8df3-65a101f4f930"
31+ },
32+ {
33+ "httpRequest" : {
34+ "body" : {
35+ "type" : " JSON" ,
36+ "json" : " {\" data\" :{\" attributes\" :{\" layers\" :[{\" effective_date\" :\" 2025-11-24T08:50:18.341Z\" ,\" end_date\" :\" 2025-12-14T08:50:18.341Z\" ,\" interval\" :{\" days\" :1},\" members\" :[{\" user\" :{\" id\" :\" 42e2447f-d0ee-11f0-b246-f6a778e5e220\" }}],\" name\" :\" Layer 1\" ,\" restrictions\" :[{\" end_day\" :\" friday\" ,\" end_time\" :\" 17:00:00\" ,\" start_day\" :\" monday\" ,\" start_time\" :\" 09:00:00\" }],\" rotation_start\" :\" 2025-11-29T08:50:18.341Z\" }],\" name\" :\" Test-Get_scheduled_on_call_user_returns_OK_response-1764838218\" ,\" time_zone\" :\" America/New_York\" },\" relationships\" :{\" teams\" :{\" data\" :[{\" id\" :\" 65aea9d0-941c-4607-bf8a-14fc0dac2820\" ,\" type\" :\" teams\" }]}},\" type\" :\" schedules\" }}"
37+ },
38+ "headers" : {},
39+ "method" : " POST" ,
40+ "path" : " /api/v2/on-call/schedules" ,
41+ "keepAlive" : false ,
42+ "secure" : true
43+ },
44+ "httpResponse" : {
45+ "body" : " {\" data\" :{\" id\" :\" 7f4eb086-4141-4f2a-ae4a-c0a06816672b\" ,\" type\" :\" schedules\" ,\" attributes\" :{\" name\" :\" Test-Get_scheduled_on_call_user_returns_OK_response-1764838218\" ,\" time_zone\" :\" America/New_York\" },\" relationships\" :{\" layers\" :{\" data\" :[{\" id\" :\" ad5985ec-b9e0-4dc7-aff9-a7bb75fc334f\" ,\" type\" :\" layers\" }]},\" teams\" :{\" data\" :[{\" id\" :\" 65aea9d0-941c-4607-bf8a-14fc0dac2820\" ,\" type\" :\" teams\" }]}}}}" ,
46+ "headers" : {
47+ "Content-Type" : [
48+ " application/vnd.api+json"
49+ ]
50+ },
51+ "statusCode" : 201 ,
52+ "reasonPhrase" : " Created"
53+ },
54+ "times" : {
55+ "remainingTimes" : 1
56+ },
57+ "timeToLive" : {
58+ "unlimited" : true
59+ },
60+ "id" : " 94e1f56a-c98f-c630-6b9f-3b7477ed2f85"
61+ },
62+ {
63+ "httpRequest" : {
64+ "headers" : {},
65+ "method" : " GET" ,
66+ "path" : " /api/v2/on-call/schedules/7f4eb086-4141-4f2a-ae4a-c0a06816672b/on-call" ,
67+ "keepAlive" : false ,
68+ "secure" : true
69+ },
70+ "httpResponse" : {
71+ "body" : " {\" data\" :{\" id\" :\" 42e2447f-d0ee-11f0-b246-f6a778e5e220-2025-12-04T03:50:19-05:00-2025-12-05T03:50:18-05:00\" ,\" type\" :\" shifts\" ,\" attributes\" :{\" end\" :\" 2025-12-05T03:50:18-05:00\" ,\" start\" :\" 2025-12-04T03:50:19.261184-05:00\" },\" relationships\" :{\" user\" :{\" data\" :{\" id\" :\" 42e2447f-d0ee-11f0-b246-f6a778e5e220\" ,\" type\" :\" users\" }}}}}" ,
72+ "headers" : {
73+ "Content-Type" : [
74+ " application/vnd.api+json"
75+ ]
76+ },
77+ "statusCode" : 200 ,
78+ "reasonPhrase" : " OK"
79+ },
80+ "times" : {
81+ "remainingTimes" : 1
82+ },
83+ "timeToLive" : {
84+ "unlimited" : true
85+ },
86+ "id" : " 3d755a0b-81d9-c638-d625-c047ff5eca6f"
87+ },
88+ {
89+ "httpRequest" : {
90+ "headers" : {},
91+ "method" : " DELETE" ,
92+ "path" : " /api/v2/on-call/schedules/7f4eb086-4141-4f2a-ae4a-c0a06816672b" ,
93+ "keepAlive" : false ,
94+ "secure" : true
95+ },
96+ "httpResponse" : {
97+ "headers" : {},
98+ "statusCode" : 204 ,
99+ "reasonPhrase" : " No Content"
100+ },
101+ "times" : {
102+ "remainingTimes" : 1
103+ },
104+ "timeToLive" : {
105+ "unlimited" : true
106+ },
107+ "id" : " 75c49194-b87b-768e-31c2-3a8fd7da31c3"
108+ },
109+ {
110+ "httpRequest" : {
111+ "headers" : {},
112+ "method" : " DELETE" ,
113+ "path" : " /api/v2/users/42e2447f-d0ee-11f0-b246-f6a778e5e220" ,
114+ "keepAlive" : false ,
115+ "secure" : true
116+ },
117+ "httpResponse" : {
118+ "headers" : {},
119+ "statusCode" : 204 ,
120+ "reasonPhrase" : " No Content"
121+ },
122+ "times" : {
123+ "remainingTimes" : 1
124+ },
125+ "timeToLive" : {
126+ "unlimited" : true
127+ },
128+ "id" : " 0f7fe3df-b82d-7fdd-80ed-c05c9e77238c"
129+ }
130+ ]
0 commit comments