pager_duty 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -3
- data/fixtures/vcr_cassettes/incidents/create_incident_notes/PDP31UM.yml +62 -0
- data/fixtures/vcr_cassettes/log_entries/index/no_query.yml +490 -0
- data/fixtures/vcr_cassettes/log_entries/index/time_zone.yml +490 -0
- data/fixtures/vcr_cassettes/log_entries/log_entry.yml +63 -0
- data/fixtures/vcr_cassettes/log_entries/log_entry_EST.yml +63 -0
- data/fixtures/vcr_cassettes/maintenance_windows/create.yml +65 -0
- data/fixtures/vcr_cassettes/maintenance_windows/delete.yml +164 -0
- data/fixtures/vcr_cassettes/maintenance_windows/delete_in_past.yml +117 -0
- data/fixtures/vcr_cassettes/maintenance_windows/get_PIVGPA6.yml +62 -0
- data/fixtures/vcr_cassettes/maintenance_windows/index/all.yml +62 -0
- data/fixtures/vcr_cassettes/maintenance_windows/index/future.yml +62 -0
- data/fixtures/vcr_cassettes/maintenance_windows/index/no_query.yml +62 -0
- data/fixtures/vcr_cassettes/maintenance_windows/index/ongoing.yml +62 -0
- data/fixtures/vcr_cassettes/maintenance_windows/index/past.yml +62 -0
- data/fixtures/vcr_cassettes/maintenance_windows/index/query.yml +62 -0
- data/fixtures/vcr_cassettes/maintenance_windows/update.yml +181 -0
- data/fixtures/vcr_cassettes/notifications/index/no_query.yml +57 -0
- data/fixtures/vcr_cassettes/notifications/index/query_since.yml +83 -0
- data/fixtures/vcr_cassettes/notifications/index/query_since_email_notification.yml +83 -0
- data/fixtures/vcr_cassettes/notifications/index/query_since_est.yml +83 -0
- data/fixtures/vcr_cassettes/notifications/index/query_since_sms_notification.yml +58 -0
- data/fixtures/vcr_cassettes/on_calls/index/query.yml +78 -0
- data/fixtures/vcr_cassettes/on_calls/index/query_.yml +48 -0
- data/fixtures/vcr_cassettes/on_calls/index/query_earliest.yml +78 -0
- data/fixtures/vcr_cassettes/on_calls/index/query_include_users.yml +102 -0
- data/fixtures/vcr_cassettes/on_calls/index/query_include_users_and_schedules.yml +154 -0
- data/fixtures/vcr_cassettes/on_calls/index/query_since_est.yml +78 -0
- data/fixtures/vcr_cassettes/on_calls/index/query_since_until.yml +78 -0
- data/fixtures/vcr_cassettes/vendors/index/no_query.yml +181 -0
- data/fixtures/vcr_cassettes/vendors/vendor.yml +63 -0
- data/lib/pager_duty/client.rb +10 -0
- data/lib/pager_duty/client/abilities.rb +4 -8
- data/lib/pager_duty/client/addons.rb +16 -18
- data/lib/pager_duty/client/escalation_policies.rb +3 -3
- data/lib/pager_duty/client/incidents.rb +19 -8
- data/lib/pager_duty/client/log_entries.rb +64 -0
- data/lib/pager_duty/client/maintenance_windows.rb +138 -0
- data/lib/pager_duty/client/notifications.rb +37 -0
- data/lib/pager_duty/client/on_calls.rb +59 -0
- data/lib/pager_duty/client/vendors.rb +38 -0
- data/lib/pager_duty/version.rb +1 -1
- data/pager_duty.gemspec +1 -0
- metadata +51 -2
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pagerduty.com/on_calls
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.pagerduty+json;version=2
|
12
|
+
User-Agent:
|
13
|
+
- PagerDuty Ruby Gem 0.1.1
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Token token="iFBafMkV8noXmHd6jmsi"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 404
|
23
|
+
message: Not Found
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Sun, 28 May 2017 23:32:50 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 404 Not Found
|
37
|
+
X-Ua-Compatible:
|
38
|
+
- IE=Edge,chrome=1
|
39
|
+
Cache-Control:
|
40
|
+
- no-cache
|
41
|
+
X-Request-Id:
|
42
|
+
- a9ecb457ac0b38b5323c82f08efc4d9b
|
43
|
+
body:
|
44
|
+
encoding: ASCII-8BIT
|
45
|
+
string: '{"error":{"message":"Not Found","code":2100}}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Sun, 28 May 2017 23:32:52 GMT
|
48
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,78 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pagerduty.com/oncalls?earliest=true
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.pagerduty+json;version=2
|
12
|
+
User-Agent:
|
13
|
+
- PagerDuty Ruby Gem 0.1.1
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Token token="iFBafMkV8noXmHd6jmsi"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Sun, 28 May 2017 23:41:25 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
Access-Control-Allow-Methods:
|
38
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
39
|
+
Access-Control-Max-Age:
|
40
|
+
- '1728000'
|
41
|
+
Access-Control-Allow-Origin:
|
42
|
+
- "*"
|
43
|
+
Access-Control-Allow-Headers:
|
44
|
+
- Authorization, Content-Type
|
45
|
+
X-Ua-Compatible:
|
46
|
+
- IE=Edge,chrome=1
|
47
|
+
Etag:
|
48
|
+
- W/"f9cb72dd4f393d2dfd75e6d939af6246"
|
49
|
+
Cache-Control:
|
50
|
+
- max-age=0, private, must-revalidate
|
51
|
+
X-Request-Id:
|
52
|
+
- e8c994a1459a3b423f8bf3424b009e01
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: '{"oncalls":[{"escalation_policy":{"id":"P1N7VS5","type":"escalation_policy_reference","summary":"Default
|
56
|
+
Changed","self":"https://api.pagerduty.com/escalation_policies/P1N7VS5","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P1N7VS5"},"escalation_level":1,"schedule":null,"user":{"id":"PDU9IB6","type":"user_reference","summary":"Fake
|
57
|
+
User","self":"https://api.pagerduty.com/users/PDU9IB6","html_url":"https://push-comedy-theater.pagerduty.com/users/PDU9IB6"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
58
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":null,"user":{"id":"PGJLPE9","type":"user_reference","summary":"John
|
59
|
+
Jones","self":"https://api.pagerduty.com/users/PGJLPE9","html_url":"https://push-comedy-theater.pagerduty.com/users/PGJLPE9"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
60
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":2,"schedule":null,"user":{"id":"PRTFS0C","type":"user_reference","summary":"Patrick
|
61
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
62
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":1,"schedule":null,"user":{"id":"PRTFS0C","type":"user_reference","summary":"Patrick
|
63
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
64
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
65
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
66
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
67
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
68
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
69
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
70
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
71
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
72
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
73
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
74
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
75
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"}],"limit":25,"offset":0,"more":false,"total":null}'
|
76
|
+
http_version:
|
77
|
+
recorded_at: Sun, 28 May 2017 23:41:26 GMT
|
78
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,102 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pagerduty.com/oncalls?include%5B%5D=users
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.pagerduty+json;version=2
|
12
|
+
User-Agent:
|
13
|
+
- PagerDuty Ruby Gem 0.1.1
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Token token="iFBafMkV8noXmHd6jmsi"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Sun, 28 May 2017 23:37:45 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
Access-Control-Allow-Methods:
|
38
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
39
|
+
Access-Control-Max-Age:
|
40
|
+
- '1728000'
|
41
|
+
Access-Control-Allow-Origin:
|
42
|
+
- "*"
|
43
|
+
Access-Control-Allow-Headers:
|
44
|
+
- Authorization, Content-Type
|
45
|
+
X-Ua-Compatible:
|
46
|
+
- IE=Edge,chrome=1
|
47
|
+
Etag:
|
48
|
+
- W/"6732a19abb9d1602a3b31f70f898519f"
|
49
|
+
Cache-Control:
|
50
|
+
- max-age=0, private, must-revalidate
|
51
|
+
X-Request-Id:
|
52
|
+
- aeda04dcaaf9bba076148f81c8016535
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: '{"oncalls":[{"escalation_policy":{"id":"P1N7VS5","type":"escalation_policy_reference","summary":"Default
|
56
|
+
Changed","self":"https://api.pagerduty.com/escalation_policies/P1N7VS5","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P1N7VS5"},"escalation_level":1,"schedule":null,"user":{"name":"Fake
|
57
|
+
User","email":"fake@veverka.net","time_zone":"America/New_York","color":"blue","avatar_url":"https://secure.gravatar.com/avatar/d68657a4dc653ad61e35fd31886bf903.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PRU8TQD","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PDU9IB6/contact_methods/PRU8TQD","html_url":null}],"notification_rules":[{"id":"PM204QD","type":"assignment_notification_rule_reference","summary":"0
|
58
|
+
minutes: channel PRU8TQD","self":"https://api.pagerduty.com/users/PDU9IB6/notification_rules/PM204QD","html_url":null},{"id":"PNRQ5V9","type":"assignment_notification_rule_reference","summary":"0
|
59
|
+
minutes: channel PRU8TQD","self":"https://api.pagerduty.com/users/PDU9IB6/notification_rules/PNRQ5V9","html_url":null}],"job_title":null,"teams":[{"id":"P1HE60B","type":"team_reference","summary":"Ops","self":"https://api.pagerduty.com/teams/P1HE60B","html_url":"https://push-comedy-theater.pagerduty.com/teams/P1HE60B"}],"coordinated_incidents":[],"id":"PDU9IB6","type":"user","summary":"Fake
|
60
|
+
User","self":"https://api.pagerduty.com/users/PDU9IB6","html_url":"https://push-comedy-theater.pagerduty.com/users/PDU9IB6"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
61
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":null,"user":{"name":"John
|
62
|
+
Jones","email":"pagerduty@veverka.net","time_zone":"America/New_York","color":"red","avatar_url":"https://secure.gravatar.com/avatar/2f470cc6d39607a796ab734e4da8de50.png?d=mm&r=PG","billed":true,"role":"limited_user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PBZFLGV","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PGJLPE9/contact_methods/PBZFLGV","html_url":null}],"notification_rules":[{"id":"PKNJORG","type":"assignment_notification_rule_reference","summary":"0
|
63
|
+
minutes: channel PBZFLGV","self":"https://api.pagerduty.com/users/PGJLPE9/notification_rules/PKNJORG","html_url":null},{"id":"P8A9PWP","type":"assignment_notification_rule_reference","summary":"0
|
64
|
+
minutes: channel PBZFLGV","self":"https://api.pagerduty.com/users/PGJLPE9/notification_rules/P8A9PWP","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PGJLPE9","type":"user","summary":"John
|
65
|
+
Jones","self":"https://api.pagerduty.com/users/PGJLPE9","html_url":"https://push-comedy-theater.pagerduty.com/users/PGJLPE9"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
66
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":2,"schedule":null,"user":{"name":"Patrick
|
67
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
68
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
69
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
70
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
71
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":1,"schedule":null,"user":{"name":"Patrick
|
72
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
73
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
74
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
75
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
76
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
77
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"name":"Sofia
|
78
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
79
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
80
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
81
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
82
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
83
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"name":"Sofia
|
84
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
85
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
86
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
87
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
88
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
89
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"name":"Sofia
|
90
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
91
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
92
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
93
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
94
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
95
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"name":"Sofia
|
96
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
97
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
98
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
99
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"}],"limit":25,"offset":0,"more":false,"total":null}'
|
100
|
+
http_version:
|
101
|
+
recorded_at: Sun, 28 May 2017 23:37:46 GMT
|
102
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,154 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pagerduty.com/oncalls?include%5B%5D=schedules&include%5B%5D=users
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.pagerduty+json;version=2
|
12
|
+
User-Agent:
|
13
|
+
- PagerDuty Ruby Gem 0.1.1
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Token token="iFBafMkV8noXmHd6jmsi"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Sun, 28 May 2017 23:38:17 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
Access-Control-Allow-Methods:
|
38
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
39
|
+
Access-Control-Max-Age:
|
40
|
+
- '1728000'
|
41
|
+
Access-Control-Allow-Origin:
|
42
|
+
- "*"
|
43
|
+
Access-Control-Allow-Headers:
|
44
|
+
- Authorization, Content-Type
|
45
|
+
X-Ua-Compatible:
|
46
|
+
- IE=Edge,chrome=1
|
47
|
+
Etag:
|
48
|
+
- W/"46d59b6c1a19962951a94433d7aa34f1"
|
49
|
+
Cache-Control:
|
50
|
+
- max-age=0, private, must-revalidate
|
51
|
+
X-Request-Id:
|
52
|
+
- 5902d7c916691e88a8f28b263534320f
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: '{"oncalls":[{"escalation_policy":{"id":"P1N7VS5","type":"escalation_policy_reference","summary":"Default
|
56
|
+
Changed","self":"https://api.pagerduty.com/escalation_policies/P1N7VS5","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P1N7VS5"},"escalation_level":1,"schedule":null,"user":{"name":"Fake
|
57
|
+
User","email":"fake@veverka.net","time_zone":"America/New_York","color":"blue","avatar_url":"https://secure.gravatar.com/avatar/d68657a4dc653ad61e35fd31886bf903.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PRU8TQD","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PDU9IB6/contact_methods/PRU8TQD","html_url":null}],"notification_rules":[{"id":"PM204QD","type":"assignment_notification_rule_reference","summary":"0
|
58
|
+
minutes: channel PRU8TQD","self":"https://api.pagerduty.com/users/PDU9IB6/notification_rules/PM204QD","html_url":null},{"id":"PNRQ5V9","type":"assignment_notification_rule_reference","summary":"0
|
59
|
+
minutes: channel PRU8TQD","self":"https://api.pagerduty.com/users/PDU9IB6/notification_rules/PNRQ5V9","html_url":null}],"job_title":null,"teams":[{"id":"P1HE60B","type":"team_reference","summary":"Ops","self":"https://api.pagerduty.com/teams/P1HE60B","html_url":"https://push-comedy-theater.pagerduty.com/teams/P1HE60B"}],"coordinated_incidents":[],"id":"PDU9IB6","type":"user","summary":"Fake
|
60
|
+
User","self":"https://api.pagerduty.com/users/PDU9IB6","html_url":"https://push-comedy-theater.pagerduty.com/users/PDU9IB6"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
61
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":null,"user":{"name":"John
|
62
|
+
Jones","email":"pagerduty@veverka.net","time_zone":"America/New_York","color":"red","avatar_url":"https://secure.gravatar.com/avatar/2f470cc6d39607a796ab734e4da8de50.png?d=mm&r=PG","billed":true,"role":"limited_user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PBZFLGV","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PGJLPE9/contact_methods/PBZFLGV","html_url":null}],"notification_rules":[{"id":"PKNJORG","type":"assignment_notification_rule_reference","summary":"0
|
63
|
+
minutes: channel PBZFLGV","self":"https://api.pagerduty.com/users/PGJLPE9/notification_rules/PKNJORG","html_url":null},{"id":"P8A9PWP","type":"assignment_notification_rule_reference","summary":"0
|
64
|
+
minutes: channel PBZFLGV","self":"https://api.pagerduty.com/users/PGJLPE9/notification_rules/P8A9PWP","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PGJLPE9","type":"user","summary":"John
|
65
|
+
Jones","self":"https://api.pagerduty.com/users/PGJLPE9","html_url":"https://push-comedy-theater.pagerduty.com/users/PGJLPE9"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
66
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":2,"schedule":null,"user":{"name":"Patrick
|
67
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
68
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
69
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
70
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
71
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":1,"schedule":null,"user":{"name":"Patrick
|
72
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
73
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
74
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
75
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
76
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule","summary":"New
|
77
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T","name":"New
|
78
|
+
Schedule #1","time_zone":"America/New_York","description":null,"escalation_policies":[{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
79
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
80
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
81
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
82
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"}],"users":[{"name":"Patrick
|
83
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
84
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
85
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
86
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},{"name":"Sofia
|
87
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
88
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
89
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
90
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"}],"privilege":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}]},"user":{"name":"Sofia
|
91
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
92
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
93
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
94
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
95
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule","summary":"New
|
96
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T","name":"New
|
97
|
+
Schedule #1","time_zone":"America/New_York","description":null,"escalation_policies":[{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
98
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
99
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
100
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
101
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"}],"users":[{"name":"Patrick
|
102
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
103
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
104
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
105
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},{"name":"Sofia
|
106
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
107
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
108
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
109
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"}],"privilege":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}]},"user":{"name":"Sofia
|
110
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
111
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
112
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
113
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
114
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule","summary":"New
|
115
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T","name":"New
|
116
|
+
Schedule #1","time_zone":"America/New_York","description":null,"escalation_policies":[{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
117
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
118
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
119
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
120
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"}],"users":[{"name":"Patrick
|
121
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
122
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
123
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
124
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},{"name":"Sofia
|
125
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
126
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
127
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
128
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"}],"privilege":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}]},"user":{"name":"Sofia
|
129
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
130
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
131
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
132
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"},{"escalation_policy":{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
133
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule","summary":"New
|
134
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T","name":"New
|
135
|
+
Schedule #1","time_zone":"America/New_York","description":null,"escalation_policies":[{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
136
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
137
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
138
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
139
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"}],"users":[{"name":"Patrick
|
140
|
+
Veverka","email":"patrick@veverka.net","time_zone":"America/New_York","color":"purple","avatar_url":"https://secure.gravatar.com/avatar/b0a79a3c5da7d63e6bdbaf7ad4dcfcf6.png?d=mm&r=PG","billed":true,"role":"owner","description":null,"invitation_sent":false,"contact_methods":[{"id":"PTPHVC5","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PRTFS0C/contact_methods/PTPHVC5","html_url":null}],"notification_rules":[{"id":"PJNEKEY","type":"assignment_notification_rule_reference","summary":"0
|
141
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/PJNEKEY","html_url":null},{"id":"P7A4LJ4","type":"assignment_notification_rule_reference","summary":"0
|
142
|
+
minutes: channel PTPHVC5","self":"https://api.pagerduty.com/users/PRTFS0C/notification_rules/P7A4LJ4","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PRTFS0C","type":"user","summary":"Patrick
|
143
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},{"name":"Sofia
|
144
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
145
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
146
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
147
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"}],"privilege":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}]},"user":{"name":"Sofia
|
148
|
+
Veverka","email":"pagerdutysofia@veverka.net","time_zone":"America/New_York","color":"green","avatar_url":"https://secure.gravatar.com/avatar/d66225f7f55c57f284e1ed852f3c20c9.png?d=mm&r=PG","billed":true,"role":"user","description":null,"invitation_sent":true,"contact_methods":[{"id":"PQEIJCS","type":"email_contact_method_reference","summary":"Default","self":"https://api.pagerduty.com/users/PW21NA6/contact_methods/PQEIJCS","html_url":null}],"notification_rules":[{"id":"POY276A","type":"assignment_notification_rule_reference","summary":"0
|
149
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/POY276A","html_url":null},{"id":"PZSM9ND","type":"assignment_notification_rule_reference","summary":"0
|
150
|
+
minutes: channel PQEIJCS","self":"https://api.pagerduty.com/users/PW21NA6/notification_rules/PZSM9ND","html_url":null}],"job_title":null,"teams":[{"id":"P7XILUG","type":"team_reference","summary":"Devs","self":"https://api.pagerduty.com/teams/P7XILUG","html_url":"https://push-comedy-theater.pagerduty.com/teams/P7XILUG"}],"coordinated_incidents":[],"id":"PW21NA6","type":"user","summary":"Sofia
|
151
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-28T01:00:00Z","end":"2017-06-04T01:00:00Z"}],"limit":25,"offset":0,"more":false,"total":null}'
|
152
|
+
http_version:
|
153
|
+
recorded_at: Sun, 28 May 2017 23:38:18 GMT
|
154
|
+
recorded_with: VCR 3.0.3
|
@@ -0,0 +1,78 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.pagerduty.com/oncalls?time_zone=EST
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/vnd.pagerduty+json;version=2
|
12
|
+
User-Agent:
|
13
|
+
- PagerDuty Ruby Gem 0.1.1
|
14
|
+
Content-Type:
|
15
|
+
- application/json
|
16
|
+
Authorization:
|
17
|
+
- Token token="iFBafMkV8noXmHd6jmsi"
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Server:
|
26
|
+
- nginx
|
27
|
+
Date:
|
28
|
+
- Sun, 28 May 2017 23:34:21 GMT
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Transfer-Encoding:
|
32
|
+
- chunked
|
33
|
+
Connection:
|
34
|
+
- keep-alive
|
35
|
+
Status:
|
36
|
+
- 200 OK
|
37
|
+
Access-Control-Allow-Methods:
|
38
|
+
- GET, POST, PUT, DELETE, OPTIONS
|
39
|
+
Access-Control-Max-Age:
|
40
|
+
- '1728000'
|
41
|
+
Access-Control-Allow-Origin:
|
42
|
+
- "*"
|
43
|
+
Access-Control-Allow-Headers:
|
44
|
+
- Authorization, Content-Type
|
45
|
+
X-Ua-Compatible:
|
46
|
+
- IE=Edge,chrome=1
|
47
|
+
Etag:
|
48
|
+
- W/"f4c3a727e737e0cda020dd2bcf70e896"
|
49
|
+
Cache-Control:
|
50
|
+
- max-age=0, private, must-revalidate
|
51
|
+
X-Request-Id:
|
52
|
+
- 3e734a1075a8a15d90f540579a12c9a0
|
53
|
+
body:
|
54
|
+
encoding: ASCII-8BIT
|
55
|
+
string: '{"oncalls":[{"escalation_policy":{"id":"P1N7VS5","type":"escalation_policy_reference","summary":"Default
|
56
|
+
Changed","self":"https://api.pagerduty.com/escalation_policies/P1N7VS5","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P1N7VS5"},"escalation_level":1,"schedule":null,"user":{"id":"PDU9IB6","type":"user_reference","summary":"Fake
|
57
|
+
User","self":"https://api.pagerduty.com/users/PDU9IB6","html_url":"https://push-comedy-theater.pagerduty.com/users/PDU9IB6"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
58
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":null,"user":{"id":"PGJLPE9","type":"user_reference","summary":"John
|
59
|
+
Jones","self":"https://api.pagerduty.com/users/PGJLPE9","html_url":"https://push-comedy-theater.pagerduty.com/users/PGJLPE9"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
60
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":2,"schedule":null,"user":{"id":"PRTFS0C","type":"user_reference","summary":"Patrick
|
61
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"PTAEK1P","type":"escalation_policy_reference","summary":"Policy
|
62
|
+
Name","self":"https://api.pagerduty.com/escalation_policies/PTAEK1P","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PTAEK1P"},"escalation_level":1,"schedule":null,"user":{"id":"PRTFS0C","type":"user_reference","summary":"Patrick
|
63
|
+
Veverka","self":"https://api.pagerduty.com/users/PRTFS0C","html_url":"https://push-comedy-theater.pagerduty.com/users/PRTFS0C"},"start":null,"end":null},{"escalation_policy":{"id":"P9ZL21C","type":"escalation_policy_reference","summary":"Devs
|
64
|
+
Only","self":"https://api.pagerduty.com/escalation_policies/P9ZL21C","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/P9ZL21C"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
65
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
66
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-27T20:00:00-05:00","end":"2017-06-03T20:00:00-05:00"},{"escalation_policy":{"id":"PT057MH","type":"escalation_policy_reference","summary":"Engineering
|
67
|
+
Escalation Policy","self":"https://api.pagerduty.com/escalation_policies/PT057MH","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PT057MH"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
68
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
69
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-27T20:00:00-05:00","end":"2017-06-03T20:00:00-05:00"},{"escalation_policy":{"id":"PP148UZ","type":"escalation_policy_reference","summary":"Generated
|
70
|
+
Policy","self":"https://api.pagerduty.com/escalation_policies/PP148UZ","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PP148UZ"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
71
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
72
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-27T20:00:00-05:00","end":"2017-06-03T20:00:00-05:00"},{"escalation_policy":{"id":"PY7I9YV","type":"escalation_policy_reference","summary":"TEST
|
73
|
+
CREATE","self":"https://api.pagerduty.com/escalation_policies/PY7I9YV","html_url":"https://push-comedy-theater.pagerduty.com/escalation_policies/PY7I9YV"},"escalation_level":1,"schedule":{"id":"PQLNQ9T","type":"schedule_reference","summary":"New
|
74
|
+
Schedule #1","self":"https://api.pagerduty.com/schedules/PQLNQ9T","html_url":"https://push-comedy-theater.pagerduty.com/schedules/PQLNQ9T"},"user":{"id":"PW21NA6","type":"user_reference","summary":"Sofia
|
75
|
+
Veverka","self":"https://api.pagerduty.com/users/PW21NA6","html_url":"https://push-comedy-theater.pagerduty.com/users/PW21NA6"},"start":"2017-05-27T20:00:00-05:00","end":"2017-06-03T20:00:00-05:00"}],"limit":25,"offset":0,"more":false,"total":null}'
|
76
|
+
http_version:
|
77
|
+
recorded_at: Sun, 28 May 2017 23:34:23 GMT
|
78
|
+
recorded_with: VCR 3.0.3
|