bugsnag-api 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/.rubocop_todo.yml +271 -0
- data/.travis.yml +6 -3
- data/CHANGELOG.md +7 -0
- data/bugsnag-api.gemspec +1 -0
- data/lib/bugsnag/api/client.rb +12 -0
- data/lib/bugsnag/api/client/comments.rb +1 -1
- data/lib/bugsnag/api/client/errors.rb +3 -1
- data/lib/bugsnag/api/client/trends.rb +8 -4
- data/lib/bugsnag/api/configuration.rb +1 -1
- data/lib/bugsnag/api/version.rb +1 -1
- data/spec/bugsnag/api/client_spec.rb +69 -7
- data/spec/bugsnag/api_spec.rb +2 -0
- data/spec/cassettes/Bugsnag_Api_Client/_get/handles_query_params.yml +13 -21
- data/spec/cassettes/Bugsnag_Api_Client/_last_response/caches_the_last_agent_response.yml +13 -21
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/creates_and_returns_a_collaborator.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/invites_multiple_collaborators.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborator/returns_a_collaborator.yml +29 -53
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_organization_collaborators.yml +30 -55
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_project_collaborators.yml +30 -55
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/throws_an_argument_error_if_neither_org_id_or_project_id_are_provided.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_delete_collaborator/deletes_a_collaborator.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_update_collaborator_permissions/updates_and_returns_the_collaborator.yml +29 -53
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_view_collaborator_projects/returns_a_list_of_projects_belonging_to_the_collaborator.yml +49 -55
- data/spec/cassettes/Bugsnag_Api_Client_Comments/_create_comment/creates_a_comment_on_the_error.yml +17 -29
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comment/retrieves_the_comment_specified.yml +32 -56
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comments/retrieves_all_comments_on_an_error.yml +33 -57
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_delete_comment/deletes_the_comment_and_returns_true.yml +17 -29
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_update_comment/updates_the_message_on_a_comment.yml +32 -56
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_auth_token/returns_the_organization_the_auth_token_belongs_to.yml +14 -27
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_user_credentials/returns_users_organizations.yml +17 -31
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_auth_token/lists_current_user_s_projects_in_the_organization.yml +34 -28
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_user_credentials/lists_current_user_s_projects_in_the_organization.yml +37 -32
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_error/returns_a_single_error.yml +14 -28
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_errors/returns_errors_on_the_project.yml +16 -30
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_update_errors/updates_and_returns_the_updated_errors.yml +13 -25
- data/spec/cassettes/Bugsnag_Api_Client_Events/_error_events/lists_all_error_events.yml +19 -30
- data/spec/cassettes/Bugsnag_Api_Client_Events/_event/returns_the_specified_event.yml +16 -199
- data/spec/cassettes/Bugsnag_Api_Client_Events/_events/returns_the_a_list_of_project_errors.yml +19 -30
- data/spec/cassettes/Bugsnag_Api_Client_Events/_latest_event/returns_the_last_event_on_an_error.yml +16 -199
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/_create_organization/creates_a_new_organization.yml +17 -30
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_delete_organization/deletes_the_organization.yml +32 -58
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_organization/returns_the_requested_organization.yml +35 -61
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_update_organization/updates_and_returns_the_organization.yml +35 -61
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_new_project.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_delete_project/deletes_the_project.yml +26 -50
- data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_project/returns_the_requested_project.yml +29 -53
- data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_regenerate_api_key/removes_the_current_api_key_and_replaces_it_with_a_new_api_key.yml +29 -53
- data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_update_project/updates_and_returns_the_project.yml +29 -53
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_error_trends_in_bucket_form.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_project_trends_in_bucket_form.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_project_trends_in_resolution_form.yml +14 -26
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_trends_in_resolution_form.yml +14 -26
- data/spec/spec_helper.rb +3 -3
- metadata +18 -2
data/spec/bugsnag/api_spec.rb
CHANGED
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem
|
11
|
+
- Bugsnag API Ruby Gem 2.0.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
X-Version:
|
15
15
|
- '2'
|
16
|
+
X-Bugsnag-Api:
|
17
|
+
- 'true'
|
16
18
|
Accept-Encoding:
|
17
19
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
20
|
Accept:
|
@@ -22,27 +24,25 @@ http_interactions:
|
|
22
24
|
code: 200
|
23
25
|
message: OK
|
24
26
|
headers:
|
25
|
-
Server:
|
26
|
-
- nginx
|
27
|
-
Date:
|
28
|
-
- Mon, 09 Oct 2017 14:20:09 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Etag:
|
32
|
-
- W/"
|
30
|
+
- W/"ee46b5c82cf98ff0d1c89f4cf77ab144"
|
33
31
|
Cache-Control:
|
34
32
|
- max-age=0, private, must-revalidate
|
35
33
|
X-Request-Id:
|
36
|
-
-
|
34
|
+
- 0044fd8d-8cb8-43c6-95ed-c291bd55fdb2
|
37
35
|
X-Runtime:
|
38
|
-
- '0.
|
36
|
+
- '0.286559'
|
39
37
|
Vary:
|
40
38
|
- Origin
|
39
|
+
X-Rack-Cors:
|
40
|
+
- miss; no-origin
|
41
41
|
Content-Security-Policy:
|
42
42
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
43
|
-
connect-src ''self'' https://api.bugsnag.com https
|
44
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
45
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
43
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
44
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
45
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
46
46
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
47
47
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
48
48
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -56,19 +56,11 @@ http_interactions:
|
|
56
56
|
- none
|
57
57
|
X-Xss-Protection:
|
58
58
|
- 1; mode=block
|
59
|
-
X-Robots-Tag:
|
60
|
-
- noindex, nofollow
|
61
|
-
Strict-Transport-Security:
|
62
|
-
- max-age=31536000
|
63
|
-
Via:
|
64
|
-
- 1.1 google
|
65
|
-
Alt-Svc:
|
66
|
-
- clear
|
67
59
|
Transfer-Encoding:
|
68
60
|
- chunked
|
69
61
|
body:
|
70
|
-
encoding:
|
62
|
+
encoding: UTF-8
|
71
63
|
string: '{"organizations_url":"https://api.bugsnag.com/user/organizations"}'
|
72
64
|
http_version:
|
73
|
-
recorded_at:
|
65
|
+
recorded_at: Tue, 12 Dec 2017 12:00:16 GMT
|
74
66
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem
|
11
|
+
- Bugsnag API Ruby Gem 2.0.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
X-Version:
|
15
15
|
- '2'
|
16
|
+
X-Bugsnag-Api:
|
17
|
+
- 'true'
|
16
18
|
Accept-Encoding:
|
17
19
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
20
|
Accept:
|
@@ -22,27 +24,25 @@ http_interactions:
|
|
22
24
|
code: 200
|
23
25
|
message: OK
|
24
26
|
headers:
|
25
|
-
Server:
|
26
|
-
- nginx
|
27
|
-
Date:
|
28
|
-
- Mon, 09 Oct 2017 14:20:09 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Etag:
|
32
|
-
- W/"
|
30
|
+
- W/"ee46b5c82cf98ff0d1c89f4cf77ab144"
|
33
31
|
Cache-Control:
|
34
32
|
- max-age=0, private, must-revalidate
|
35
33
|
X-Request-Id:
|
36
|
-
-
|
34
|
+
- 9dc89d27-2aea-42a6-8b27-d7cb0553d192
|
37
35
|
X-Runtime:
|
38
|
-
- '0.
|
36
|
+
- '0.269313'
|
39
37
|
Vary:
|
40
38
|
- Origin
|
39
|
+
X-Rack-Cors:
|
40
|
+
- miss; no-origin
|
41
41
|
Content-Security-Policy:
|
42
42
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
43
|
-
connect-src ''self'' https://api.bugsnag.com https
|
44
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
45
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
43
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
44
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
45
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
46
46
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
47
47
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
48
48
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -56,19 +56,11 @@ http_interactions:
|
|
56
56
|
- none
|
57
57
|
X-Xss-Protection:
|
58
58
|
- 1; mode=block
|
59
|
-
X-Robots-Tag:
|
60
|
-
- noindex, nofollow
|
61
|
-
Strict-Transport-Security:
|
62
|
-
- max-age=31536000
|
63
|
-
Via:
|
64
|
-
- 1.1 google
|
65
|
-
Alt-Svc:
|
66
|
-
- clear
|
67
59
|
Transfer-Encoding:
|
68
60
|
- chunked
|
69
61
|
body:
|
70
|
-
encoding:
|
62
|
+
encoding: UTF-8
|
71
63
|
string: '{"organizations_url":"https://api.bugsnag.com/user/organizations"}'
|
72
64
|
http_version:
|
73
|
-
recorded_at:
|
65
|
+
recorded_at: Tue, 12 Dec 2017 12:00:15 GMT
|
74
66
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem
|
11
|
+
- Bugsnag API Ruby Gem 2.0.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
X-Version:
|
15
15
|
- '2'
|
16
|
+
X-Bugsnag-Api:
|
17
|
+
- 'true'
|
16
18
|
Authorization:
|
17
19
|
- token BUGSNAG_AUTH_TOKEN
|
18
20
|
Accept-Encoding:
|
@@ -24,31 +26,25 @@ http_interactions:
|
|
24
26
|
code: 200
|
25
27
|
message: OK
|
26
28
|
headers:
|
27
|
-
Server:
|
28
|
-
- nginx
|
29
|
-
Date:
|
30
|
-
- Mon, 09 Oct 2017 14:25:26 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"255d0577e6c8680d496ee762c76194b3"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
X-Request-Id:
|
38
|
-
-
|
36
|
+
- a8d46b5a-bb18-4292-939c-662d4ebcf52b
|
39
37
|
X-Runtime:
|
40
|
-
- '0.
|
38
|
+
- '0.359584'
|
41
39
|
Vary:
|
42
40
|
- Origin
|
43
|
-
X-
|
44
|
-
-
|
45
|
-
X-Ratelimit-Remaining:
|
46
|
-
- '7'
|
41
|
+
X-Rack-Cors:
|
42
|
+
- miss; no-origin
|
47
43
|
Content-Security-Policy:
|
48
44
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
49
|
-
connect-src ''self'' https://api.bugsnag.com https
|
50
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
51
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
45
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
46
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
47
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
52
48
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
53
49
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
54
50
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -62,19 +58,11 @@ http_interactions:
|
|
62
58
|
- none
|
63
59
|
X-Xss-Protection:
|
64
60
|
- 1; mode=block
|
65
|
-
X-Robots-Tag:
|
66
|
-
- noindex, nofollow
|
67
|
-
Strict-Transport-Security:
|
68
|
-
- max-age=31536000
|
69
|
-
Via:
|
70
|
-
- 1.1 google
|
71
|
-
Alt-Svc:
|
72
|
-
- clear
|
73
61
|
Transfer-Encoding:
|
74
62
|
- chunked
|
75
63
|
body:
|
76
|
-
encoding:
|
77
|
-
string: '{"id":"
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}'
|
78
66
|
http_version:
|
79
|
-
recorded_at:
|
67
|
+
recorded_at: Tue, 12 Dec 2017 11:54:46 GMT
|
80
68
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"emails":["BUGSNAG_COLLABORATOR_EMAIL","BUGSNAG_USER_EMAIL"]}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem
|
11
|
+
- Bugsnag API Ruby Gem 2.0.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
X-Version:
|
15
15
|
- '2'
|
16
|
+
X-Bugsnag-Api:
|
17
|
+
- 'true'
|
16
18
|
Authorization:
|
17
19
|
- token BUGSNAG_AUTH_TOKEN
|
18
20
|
Accept-Encoding:
|
@@ -24,31 +26,25 @@ http_interactions:
|
|
24
26
|
code: 200
|
25
27
|
message: OK
|
26
28
|
headers:
|
27
|
-
Server:
|
28
|
-
- nginx
|
29
|
-
Date:
|
30
|
-
- Mon, 09 Oct 2017 14:23:19 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"4305e0ec04e1df4739dea59f474d06de"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
X-Request-Id:
|
38
|
-
-
|
36
|
+
- cc9e2173-2f85-408e-96d1-df8e07041e7c
|
39
37
|
X-Runtime:
|
40
|
-
- '0.
|
38
|
+
- '0.473875'
|
41
39
|
Vary:
|
42
40
|
- Origin
|
43
|
-
X-
|
44
|
-
-
|
45
|
-
X-Ratelimit-Remaining:
|
46
|
-
- '0'
|
41
|
+
X-Rack-Cors:
|
42
|
+
- miss; no-origin
|
47
43
|
Content-Security-Policy:
|
48
44
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
49
|
-
connect-src ''self'' https://api.bugsnag.com https
|
50
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
51
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
45
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
46
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
47
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
52
48
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
53
49
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
54
50
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -62,19 +58,11 @@ http_interactions:
|
|
62
58
|
- none
|
63
59
|
X-Xss-Protection:
|
64
60
|
- 1; mode=block
|
65
|
-
X-Robots-Tag:
|
66
|
-
- noindex, nofollow
|
67
|
-
Strict-Transport-Security:
|
68
|
-
- max-age=31536000
|
69
|
-
Via:
|
70
|
-
- 1.1 google
|
71
|
-
Alt-Svc:
|
72
|
-
- clear
|
73
61
|
Transfer-Encoding:
|
74
62
|
- chunked
|
75
63
|
body:
|
76
|
-
encoding:
|
77
|
-
string: '[{"id":"
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false},{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-06T16:40:04.011Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a1589f0d1befa47553ffd5f/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-12-12T11:54:56.812Z","project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}]'
|
78
66
|
http_version:
|
79
|
-
recorded_at:
|
67
|
+
recorded_at: Tue, 12 Dec 2017 11:54:45 GMT
|
80
68
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem
|
11
|
+
- Bugsnag API Ruby Gem 2.0.1
|
12
12
|
Content-Type:
|
13
13
|
- application/json
|
14
14
|
X-Version:
|
15
15
|
- '2'
|
16
|
+
X-Bugsnag-Api:
|
17
|
+
- 'true'
|
16
18
|
Authorization:
|
17
19
|
- token BUGSNAG_AUTH_TOKEN
|
18
20
|
Accept-Encoding:
|
@@ -24,31 +26,25 @@ http_interactions:
|
|
24
26
|
code: 200
|
25
27
|
message: OK
|
26
28
|
headers:
|
27
|
-
Server:
|
28
|
-
- nginx
|
29
|
-
Date:
|
30
|
-
- Mon, 09 Oct 2017 14:25:30 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"255d0577e6c8680d496ee762c76194b3"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
X-Request-Id:
|
38
|
-
-
|
36
|
+
- 4a0074bc-a936-4b62-9938-88d0207f7712
|
39
37
|
X-Runtime:
|
40
|
-
- '0.
|
38
|
+
- '0.343895'
|
41
39
|
Vary:
|
42
40
|
- Origin
|
43
|
-
X-
|
44
|
-
-
|
45
|
-
X-Ratelimit-Remaining:
|
46
|
-
- '3'
|
41
|
+
X-Rack-Cors:
|
42
|
+
- miss; no-origin
|
47
43
|
Content-Security-Policy:
|
48
44
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
49
|
-
connect-src ''self'' https://api.bugsnag.com https
|
50
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
51
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
45
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
46
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
47
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
52
48
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
53
49
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
54
50
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -62,34 +58,28 @@ http_interactions:
|
|
62
58
|
- none
|
63
59
|
X-Xss-Protection:
|
64
60
|
- 1; mode=block
|
65
|
-
X-Robots-Tag:
|
66
|
-
- noindex, nofollow
|
67
|
-
Strict-Transport-Security:
|
68
|
-
- max-age=31536000
|
69
|
-
Via:
|
70
|
-
- 1.1 google
|
71
|
-
Alt-Svc:
|
72
|
-
- clear
|
73
61
|
Transfer-Encoding:
|
74
62
|
- chunked
|
75
63
|
body:
|
76
|
-
encoding:
|
77
|
-
string: '{"id":"
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}'
|
78
66
|
http_version:
|
79
|
-
recorded_at:
|
67
|
+
recorded_at: Tue, 12 Dec 2017 11:54:40 GMT
|
80
68
|
- request:
|
81
69
|
method: get
|
82
|
-
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators/
|
70
|
+
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators/5a2fbf42d1befa003981d597
|
83
71
|
body:
|
84
72
|
encoding: US-ASCII
|
85
73
|
string: ''
|
86
74
|
headers:
|
87
75
|
User-Agent:
|
88
|
-
- Bugsnag API Ruby Gem
|
76
|
+
- Bugsnag API Ruby Gem 2.0.1
|
89
77
|
Content-Type:
|
90
78
|
- application/json
|
91
79
|
X-Version:
|
92
80
|
- '2'
|
81
|
+
X-Bugsnag-Api:
|
82
|
+
- 'true'
|
93
83
|
Authorization:
|
94
84
|
- token BUGSNAG_AUTH_TOKEN
|
95
85
|
Accept-Encoding:
|
@@ -101,31 +91,25 @@ http_interactions:
|
|
101
91
|
code: 200
|
102
92
|
message: OK
|
103
93
|
headers:
|
104
|
-
Server:
|
105
|
-
- nginx
|
106
|
-
Date:
|
107
|
-
- Mon, 09 Oct 2017 14:25:30 GMT
|
108
94
|
Content-Type:
|
109
95
|
- application/json; charset=utf-8
|
110
96
|
Etag:
|
111
|
-
- W/"
|
97
|
+
- W/"255d0577e6c8680d496ee762c76194b3"
|
112
98
|
Cache-Control:
|
113
99
|
- max-age=0, private, must-revalidate
|
114
100
|
X-Request-Id:
|
115
|
-
-
|
101
|
+
- 5adf2598-d7b8-4126-a364-d9915c6d843a
|
116
102
|
X-Runtime:
|
117
|
-
- '0.
|
103
|
+
- '0.432215'
|
118
104
|
Vary:
|
119
105
|
- Origin
|
120
|
-
X-
|
121
|
-
-
|
122
|
-
X-Ratelimit-Remaining:
|
123
|
-
- '2'
|
106
|
+
X-Rack-Cors:
|
107
|
+
- miss; no-origin
|
124
108
|
Content-Security-Policy:
|
125
109
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
126
|
-
connect-src ''self'' https://api.bugsnag.com https
|
127
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
128
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
110
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
111
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
112
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
129
113
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
130
114
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
131
115
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -139,19 +123,11 @@ http_interactions:
|
|
139
123
|
- none
|
140
124
|
X-Xss-Protection:
|
141
125
|
- 1; mode=block
|
142
|
-
X-Robots-Tag:
|
143
|
-
- noindex, nofollow
|
144
|
-
Strict-Transport-Security:
|
145
|
-
- max-age=31536000
|
146
|
-
Via:
|
147
|
-
- 1.1 google
|
148
|
-
Alt-Svc:
|
149
|
-
- clear
|
150
126
|
Transfer-Encoding:
|
151
127
|
- chunked
|
152
128
|
body:
|
153
|
-
encoding:
|
154
|
-
string: '{"id":"
|
129
|
+
encoding: UTF-8
|
130
|
+
string: '{"id":"5a2fbf42d1befa003981d597","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"BUGSNAG_PASSWORD_updated_on":"2017-12-12T11:36:34.635Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/5a2fbf42d1befa003981d597/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["5a1589f1d1befa47553ffd64","5a1589f1d1befa47553ffd65","5a1589f1d1befa47553ffd66","5a1589f1d1befa47553ffd67","5a1589f1d1befa47553ffd68","5a1589f1d1befa47553ffd69","5a1589f1d1befa47553ffd6a","5a1589f1d1befa47553ffd6b","5a1589f1d1befa47553ffd6c","5a1589f1d1befa47553ffd6d","5a1589f1d1befa47553ffd6e","5a1589f1d1befa47553ffd6f","5a1589f2d1befa47553ffd70","5a1589f2d1befa47553ffd71","5a1589f2d1befa47553ffd72","5a1589f2d1befa47553ffd73","5a159805d1befa1899baacc2","5a159806d1befa1899baacc3","5a159806d1befa1899baacc4","5a159806d1befa1899baacc5","5a159806d1befa1899baacc6","BUGSNAG_PROJECT_ID","5a2fbf1fd1befa003981d594","5a2fbf20d1befa001781d582","5a2fbf21d1befa002881d592","5a2fbf22d1befa001781d585","5a2fc37bd1befa003981d5b1","5a2fc37dd1befa002881d59d","5a2fc37ed1befa003981d5b6","5a2fc37fd1befa003981d5b9"],"paid_for":false}'
|
155
131
|
http_version:
|
156
|
-
recorded_at:
|
132
|
+
recorded_at: Tue, 12 Dec 2017 11:54:40 GMT
|
157
133
|
recorded_with: VCR 2.9.3
|