--- recorded_with: VCR 2.3.0 http_interactions: - request: method: get uri: https://outright.pagerduty.com/api/v1/incidents body: string: "" headers: Authorization: - Token token="API_KEY" response: status: code: 200 message: headers: server: - nginx/1.0.14 connection: - keep-alive cache-control: - must-revalidate, private, max-age=0 x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked etag: - "\"d1b5dee8546d999c78d82cd08b9e7855\"" x-runtime: - "0.537506" content-type: - application/json; charset=utf-8 x-request-id: - d0e97db26c0e27f1ae025a3776f758cc status: - 200 OK set-cookie: - _pagerduty_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWFhYTIzMjliZWIwMTQ3ZmQyZDA3OTkwMzQ1OGFmNTViBjsAVEkiHHdhcmRlbi51c2VyLmFwaV9rZXkua2V5BjsAVFsISSILQXBpS2V5BjsARlsGaQKUATA%3D--c70789a0af4bf7cf09ee7665e32c1c4dba02dd9a; path=/; HttpOnly, uid=CvgRmlDQtvzB3Si+TZMJAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ date: - Tue, 18 Dec 2012 18:33:32 GMT body: string: "{\"incidents\":[{\"id\":\"PPACGEI\",\"incident_number\":336,\"created_on\":\"2012-11-22T05:05:18Z\",\"status\":\"resolved\",\"html_url\":\"http://outright.pagerduty.com/incidents/PPACGEI\",\"incident_key\":\"__TRIGGERED_VIA_EMAIL__\",\"service\":{\"id\":\"PGV50ZJ\",\"name\":\"Pingdom\",\"html_url\":\"http://outright.pagerduty.com/services/PGV50ZJ\"},\"assigned_to_user\":null,\"trigger_summary_data\":{\"subject\":\"DOWN alert: Thrift (secure.outright.com) is DOWN\"},\"trigger_details_html_url\":\"http://outright.pagerduty.com/incidents/PPACGEI/log_entries/PTYKKQ6\",\"last_status_change_on\":\"2012-11-22T05:15:52Z\",\"last_status_change_by\":{\"id\":\"REQUESTER_ID\",\"name\":\"Trae Robrock\",\"email\":\"trae@outright.com\",\"html_url\":\"http://outright.pagerduty.com/users/REQUESTER_ID\"},\"number_of_escalations\":1},{\"id\":\"P0M3DH0\",\"incident_number\":337,\"created_on\":\"2012-11-24T12:03:45Z\",\"status\":\"resolved\",\"html_url\":\"http://outright.pagerduty.com/incidents/P0M3DH0\",\"incident_key\":\"__TRIGGERED_VIA_EMAIL__\",\"service\":{\"id\":\"PGV50ZJ\",\"name\":\"Pingdom\",\"html_url\":\"http://outright.pagerduty.com/services/PGV50ZJ\"},\"assigned_to_user\":null,\"trigger_summary_data\":{\"subject\":\"DOWN alert: Thrift (secure.outright.com) is DOWN\"},\"trigger_details_html_url\":\"http://outright.pagerduty.com/incidents/P0M3DH0/log_entries/PIHR7C3\",\"last_status_change_on\":\"2012-11-24T12:25:04Z\",\"last_status_change_by\":{\"id\":\"P3859OT\",\"name\":\"Julio Santos\",\"email\":\"julio@outright.com\",\"html_url\":\"http://outright.pagerduty.com/users/P3859OT\"},\"number_of_escalations\":0}],\"limit\":100,\"offset\":0,\"total\":2}" http_version: recorded_at: Tue, 18 Dec 2012 18:33:32 GMT - request: method: get uri: https://outright.pagerduty.com/api/v1/services body: string: "" headers: Authorization: - Token token="API_KEY" response: status: code: 200 message: headers: server: - nginx/1.0.14 connection: - keep-alive cache-control: - must-revalidate, private, max-age=0 x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked etag: - "\"421a503a66656e436169a5013973b9a3\"" x-runtime: - "0.282396" content-type: - application/json; charset=utf-8 x-request-id: - f132f07609f9f5870ea1fed3f1b73486 status: - 200 OK set-cookie: - _pagerduty_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTcxOTE3ODJlNjMxNTFhNGE0NzFhNTc1ZTE3NmY0ZDUzBjsAVEkiHHdhcmRlbi51c2VyLmFwaV9rZXkua2V5BjsAVFsISSILQXBpS2V5BjsARlsGaQKUATA%3D--f193ea42280964d4723a59595f2860a269a862b9; path=/; HttpOnly, uid=CvgRmlDQu4XB3Si+TaevAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ date: - Tue, 18 Dec 2012 18:52:53 GMT body: string: "{\"services\":[{\"id\":\"POM55DP\",\"name\":\"Pingdom Aggregation\",\"service_url\":\"/services/POM55DP\",\"service_key\":\"aggregation@outright.pagerduty.com\",\"auto_resolve_timeout\":14400,\"acknowledgement_timeout\":600,\"created_at\":\"2012-12-01T13:59:54-08:00\",\"status\":\"active\",\"last_incident_timestamp\":null,\"email_incident_creation\":\"on_new_email_subject\",\"incident_counts\":{\"triggered\":0,\"acknowledged\":0,\"resolved\":0,\"total\":0},\"email_filter_mode\":\"all-email\",\"type\":\"pingdom\"},{\"id\":\"PW7E752\",\"name\":\"Pingdom Application\",\"service_url\":\"/services/PW7E752\",\"service_key\":\"application@outright.pagerduty.com\",\"auto_resolve_timeout\":14400,\"acknowledgement_timeout\":600,\"created_at\":\"2012-12-01T13:51:47-08:00\",\"status\":\"active\",\"last_incident_timestamp\":null,\"email_incident_creation\":\"on_new_email_subject\",\"incident_counts\":{\"triggered\":0,\"acknowledged\":0,\"resolved\":0,\"total\":0},\"email_filter_mode\":\"all-email\",\"type\":\"pingdom\"}],\"limit\":25,\"offset\":0,\"total\":2}" http_version: recorded_at: Tue, 18 Dec 2012 18:52:53 GMT - request: method: get uri: https://outright.pagerduty.com/api/v1/maintenance_windows body: string: "" headers: Authorization: - Token token="API_KEY" response: status: code: 200 message: headers: server: - nginx/1.0.14 connection: - keep-alive cache-control: - must-revalidate, private, max-age=0 x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked etag: - "\"6919d6c47a3676a76a87c183ec2b1c12\"" x-runtime: - "0.061321" content-type: - application/json; charset=utf-8 x-request-id: - 700c013cfae5ea7e9b3e2a8bf09dcdce status: - 200 OK set-cookie: - _pagerduty_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTQzODI0NTc4YTBmMTkwZDEwYWYwMmYyYjM5MDg0MDZkBjsAVEkiHHdhcmRlbi51c2VyLmFwaV9rZXkua2V5BjsAVFsISSILQXBpS2V5BjsARlsGaQKUATA%3D--3b0365f664301282b5ab3f149e5b8d4cdec50483; path=/; HttpOnly, uid=CvQdAlDQ3i5M5GH+U/MuAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ date: - Tue, 18 Dec 2012 21:20:46 GMT body: string: "{\"maintenance_windows\":[],\"counts\":{\"ongoing\":0,\"future\":0,\"past\":0,\"all\":0},\"limit\":25,\"offset\":0,\"total\":0}" http_version: recorded_at: Tue, 18 Dec 2012 21:20:46 GMT - request: method: get uri: https://outright.pagerduty.com/api/v1/maintenance_windows?type=future body: string: "" headers: Authorization: - Token token="API_KEY" response: status: code: 200 message: headers: server: - nginx/1.0.14 connection: - keep-alive cache-control: - must-revalidate, private, max-age=0 x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked etag: - "\"16d4bc0e609530a306c4638faa3cea1b\"" x-runtime: - "0.121836" content-type: - application/json; charset=utf-8 x-request-id: - 08f9e553ed4685a415f337163dc2668c status: - 200 OK set-cookie: - _pagerduty_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWRmYjJmMmEzN2M5ZjVjMmMyMWY1NjgxYWI0MWEwMmE3BjsAVEkiHHdhcmRlbi51c2VyLmFwaV9rZXkua2V5BjsAVFsISSILQXBpS2V5BjsARlsGaQKUATA%3D--0e97d08829ed876ff7ed576ddaf1c06978474294; path=/; HttpOnly, uid=CvgRmlDQ6prBtCi9WXnOAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ date: - Tue, 18 Dec 2012 22:13:46 GMT body: string: "{\"maintenance_windows\":[{\"id\":\"PW4ICCT\",\"sequence_number\":1,\"start_time\":\"2012-12-18T16:00:00-08:00\",\"end_time\":\"2012-12-18T17:00:00-08:00\",\"description\":\"testing\",\"created_by\":{\"id\":\"REQUESTER_ID\",\"name\":\"Bob Smith\",\"email\":\"bob@example.com\",\"time_zone\":\"Pacific Time (US & Canada)\",\"color\":\"green\",\"role\":\"admin\",\"avatar_url\":\"https://secure.gravatar.com/avatar/71c3bbda60a46a241bf9a2d68e41cbec.png?d=mm&r=PG\",\"user_url\":\"/users/REQUESTER_ID\",\"invitation_sent\":false,\"marketing_opt_out\":false},\"services\":[{\"id\":\"PZ9VM86\",\"name\":\"Application\",\"service_url\":\"/services/PZ9VM86\",\"service_key\":\"application@outright.pagerduty.com\",\"auto_resolve_timeout\":14400,\"acknowledgement_timeout\":600,\"created_at\":\"2012-03-07T15:44:09-08:00\",\"status\":\"active\",\"last_incident_timestamp\":\"2012-12-17T09:11:11-08:00\",\"email_incident_creation\":\"on_new_email_subject\",\"incident_counts\":{\"triggered\":0,\"acknowledged\":0,\"resolved\":166,\"total\":166},\"email_filter_mode\":\"all-email\",\"type\":\"generic_email\"}]}],\"counts\":{\"ongoing\":0,\"future\":1,\"past\":0,\"all\":1},\"limit\":25,\"offset\":0,\"total\":1}" http_version: recorded_at: Tue, 18 Dec 2012 22:13:46 GMT - request: method: post uri: https://outright.pagerduty.com/api/v1/maintenance_windows body: string: "{\"requester_id\":\"REQUESTER_ID\",\"maintenance_window\":{\"start_time\":\"2012-12-18 15:53:54 -0800\",\"end_time\":\"2012-12-18 16:53:54 -0800\",\"service_ids\":[\"POM55DP\"]}}" headers: Content-Type: - application/json Authorization: - Token token="API_KEY" response: status: code: 201 message: headers: server: - nginx/1.0.14 connection: - keep-alive cache-control: - max-age=0, private, must-revalidate x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - invalidate, pass transfer-encoding: - chunked etag: - "\"85f0ed1364f971210f88f800c05731b5\"" x-runtime: - "0.204289" content-type: - application/json; charset=utf-8 x-request-id: - a05701e5a910ce5848a5b45a9b5943eb status: - 201 Created set-cookie: - _pagerduty_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTgwNGMxMzA5YTg5NzRhZTFlMTNjY2ViMzQ4YmFkZDhjBjsAVEkiHHdhcmRlbi51c2VyLmFwaV9rZXkua2V5BjsAVFsISSILQXBpS2V5BjsARlsGaQKUATA%3D--bfb27f246317ea47199d087d8cd2d7435fb3a2e6; path=/; HttpOnly, uid=CvgRmlDRAhPBtCi9Wd+bAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ date: - Tue, 18 Dec 2012 23:53:55 GMT body: string: "{\"maintenance_window\":{\"id\":\"PO7EV8B\",\"sequence_number\":2,\"start_time\":\"2012-12-18T15:53:55-08:00\",\"end_time\":\"2012-12-18T16:53:54-08:00\",\"description\":null,\"created_by\":{\"id\":\"REQUESTER_ID\",\"name\":\"Bob Smith\",\"email\":\"bob@example.com\",\"time_zone\":\"Pacific Time (US & Canada)\",\"color\":\"green\",\"role\":\"admin\",\"avatar_url\":\"https://secure.gravatar.com/avatar/71c3bbda60a46a241bf9a2d68e41cbec.png?d=mm&r=PG\",\"user_url\":\"/users/REQUESTER_ID\",\"invitation_sent\":false,\"marketing_opt_out\":false},\"services\":[{\"id\":\"POM55DP\",\"name\":\"Application\", \"service_url\":\"/services/POM55DP\",\"service_key\":\"application@outright.pagerduty.com\",\"auto_resolve_timeout\":14400,\"acknowledgement_timeout\":600,\"created_at\":\"2012-12-01T13:59:54-08:00\",\"status\":\"maintenance\",\"last_incident_timestamp\":null,\"email_incident_creation\":\"on_new_email_subject\",\"incident_counts\":{\"triggered\":0,\"acknowledged\":0,\"resolved\":0,\"total\":0},\"email_filter_mode\":\"all-email\",\"type\":\"pingdom\"}]}}" http_version: recorded_at: Tue, 18 Dec 2012 23:53:55 GMT - request: method: delete uri: https://outright.pagerduty.com/api/v1/maintenance_windows/PO7EV8B body: string: "" headers: Authorization: - Token token="API_KEY" response: status: code: 204 message: headers: server: - nginx/1.0.14 connection: - keep-alive cache-control: - no-cache x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - invalidate, pass x-runtime: - "0.140999" x-request-id: - dd3377e85640482f418d70dca8b3aed4 status: - 204 No Content set-cookie: - _pagerduty_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTdhYjU0ZjAxODlhOWQ1NmU0NDQ3MGMwMzJlNDc5YWU5BjsAVEkiHHdhcmRlbi51c2VyLmFwaV9rZXkua2V5BjsAVFsISSILQXBpS2V5BjsARlsGaQKUATA%3D--8a7a1fbad07f05003f61ec0a930004dbedda4203; path=/; HttpOnly, uid=CvgRmlDRAhPBtCi9Wd+iAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ date: - Tue, 18 Dec 2012 23:53:55 GMT body: string: "" http_version: recorded_at: Tue, 18 Dec 2012 23:53:55 GMT - request: method: get uri: http://outright.pagerduty.com/api/v1/incidents body: string: "" headers: Authorization: - Token token="API_KEY" User-Agent: - Faraday v0.8.6 response: status: code: 401 message: headers: connection: - keep-alive server: - nginx/1.0.14 cache-control: - no-cache, private x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked x-runtime: - "0.039754" content-type: - text/html; charset=utf-8 www-authenticate: - Basic realm="Web Password" x-request-id: - 0af69ca051a2fd91becad43534a5c788 set-cookie: - uid=CvgRmlEue4N2sErwLBEKAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ status: - 401 Unauthorized date: - Wed, 27 Feb 2013 21:32:51 GMT body: string: | HTTP Basic: Access denied. http_version: recorded_at: Wed, 27 Feb 2013 21:32:54 GMT - request: method: get uri: http://outright.pagerduty.com/api/v1/services body: string: "" headers: Authorization: - Token token="API_KEY" User-Agent: - Faraday v0.8.6 response: status: code: 401 message: headers: connection: - keep-alive server: - nginx/1.0.14 cache-control: - no-cache, private x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked x-runtime: - "0.031188" content-type: - text/html; charset=utf-8 www-authenticate: - Basic realm="Web Password" x-request-id: - 85ec51e213eef8a44a730bbbae3d4339 set-cookie: - uid=CvgRmlEue4N2sErwLBENAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ status: - 401 Unauthorized date: - Wed, 27 Feb 2013 21:32:51 GMT body: string: | HTTP Basic: Access denied. http_version: recorded_at: Wed, 27 Feb 2013 21:32:54 GMT - request: method: get uri: http://outright.pagerduty.com/api/v1/maintenance_windows body: string: "" headers: Authorization: - Token token="API_KEY" User-Agent: - Faraday v0.8.6 response: status: code: 401 message: headers: connection: - keep-alive server: - nginx/1.0.14 cache-control: - no-cache, private x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked x-runtime: - "0.022043" content-type: - text/html; charset=utf-8 www-authenticate: - Basic realm="Web Password" x-request-id: - d3926a08f0af71a151e18a6a70df1717 set-cookie: - uid=CvgRmlEue4N2sErwLBEOAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ status: - 401 Unauthorized date: - Wed, 27 Feb 2013 21:32:51 GMT body: string: | HTTP Basic: Access denied. http_version: recorded_at: Wed, 27 Feb 2013 21:32:55 GMT - request: method: get uri: http://outright.pagerduty.com/api/v1/maintenance_windows?type=future body: string: "" headers: Authorization: - Token token="API_KEY" User-Agent: - Faraday v0.8.6 response: status: code: 401 message: headers: connection: - keep-alive server: - nginx/1.0.14 cache-control: - no-cache, private x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - miss transfer-encoding: - chunked x-runtime: - "0.025184" content-type: - text/html; charset=utf-8 www-authenticate: - Basic realm="Web Password" x-request-id: - 1d4a95ab3320bd8809eb4667f12f824a set-cookie: - uid=CvgRmlEue4R2sErwLBERAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ status: - 401 Unauthorized date: - Wed, 27 Feb 2013 21:32:52 GMT body: string: | HTTP Basic: Access denied. http_version: recorded_at: Wed, 27 Feb 2013 21:32:55 GMT - request: method: post uri: http://outright.pagerduty.com/api/v1/maintenance_windows body: string: "{\"requester_id\":\"REQUESTER_ID\",\"maintenance_window\":{\"end_time\":\"Wed Feb 27 14:32:55 -0800 2013\",\"service_ids\":[\"POM55DP\"],\"start_time\":\"Wed Feb 27 13:32:55 -0800 2013\"}}" headers: Content-Type: - application/json Authorization: - Token token="API_KEY" User-Agent: - Faraday v0.8.6 response: status: code: 401 message: headers: connection: - keep-alive server: - nginx/1.0.14 cache-control: - no-cache x-ua-compatible: - IE=Edge,chrome=1 x-rack-cache: - invalidate, pass transfer-encoding: - chunked x-runtime: - "0.043793" content-type: - text/html; charset=utf-8 www-authenticate: - Basic realm="Web Password" x-request-id: - 7cde0c813cd52ad43dbeab2f1f9e1279 set-cookie: - uid=CvQdAlEue4RpBWSRLVcTAg==; expires=Thu, 31-Dec-37 23:55:55 GMT; domain=pagerduty.com; path=/ status: - 401 Unauthorized date: - Wed, 27 Feb 2013 21:32:52 GMT body: string: | HTTP Basic: Access denied. http_version: recorded_at: Wed, 27 Feb 2013 21:32:55 GMT