bugsnag-api 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.buildkite/pipeline.yml +6 -0
- data/.github/ISSUE_TEMPLATE/A.md +14 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +47 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +24 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +16 -0
- data/.github/support.md +19 -0
- data/.github/workflows/tests.yml +53 -0
- data/.rubocop.yml +4 -0
- data/.rubocop_todo.yml +271 -0
- data/CHANGELOG.md +34 -0
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +9 -0
- data/README.md +77 -2
- data/bugsnag-api.gemspec +42 -7
- data/config/.gitignore +1 -0
- data/docker-compose.yml +9 -0
- data/dockerfiles/Dockerfile.audit +5 -0
- data/lib/bugsnag/api/client.rb +18 -1
- data/lib/bugsnag/api/client/collaborators.rb +1 -2
- data/lib/bugsnag/api/client/comments.rb +1 -1
- data/lib/bugsnag/api/client/currentuser.rb +0 -1
- data/lib/bugsnag/api/client/errors.rb +12 -11
- data/lib/bugsnag/api/client/eventfields.rb +1 -2
- data/lib/bugsnag/api/client/events.rb +1 -2
- data/lib/bugsnag/api/client/organizations.rb +1 -2
- data/lib/bugsnag/api/client/pivots.rb +1 -2
- data/lib/bugsnag/api/client/projects.rb +2 -3
- data/lib/bugsnag/api/client/releases.rb +38 -0
- data/lib/bugsnag/api/client/stability.rb +16 -0
- data/lib/bugsnag/api/client/trends.rb +8 -5
- data/lib/bugsnag/api/configuration.rb +1 -1
- data/lib/bugsnag/api/error.rb +1 -1
- data/lib/bugsnag/api/response/raise_error.rb +0 -2
- data/lib/bugsnag/api/version.rb +1 -1
- data/scripts/license_finder.sh +4 -0
- data/spec/bugsnag/api/client/releases_spec.rb +184 -0
- data/spec/bugsnag/api/client/stability_spec.rb +32 -0
- 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_Releases/_release/gets_a_single_release.yml +87 -0
- data/spec/cassettes/Bugsnag_Api_Client_Releases/_release_groups/accepts_parameters.yml +90 -0
- data/spec/cassettes/Bugsnag_Api_Client_Releases/_release_groups/gets_releases_in_a_release_group.yml +87 -0
- data/spec/cassettes/Bugsnag_Api_Client_Releases/_releases/accepts_parameters.yml +92 -0
- data/spec/cassettes/Bugsnag_Api_Client_Releases/_releases/gets_as_list_of_releases.yml +91 -0
- data/spec/cassettes/Bugsnag_Api_Client_Stability/_stability_trend/gets_the_stability_trend.yml +87 -0
- 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 +14 -5
- metadata +66 -37
- data/.travis.yml +0 -20
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"message":"message"}'
|
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,35 +26,27 @@ http_interactions:
|
|
24
26
|
code: 201
|
25
27
|
message: Created
|
26
28
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 09 Oct 2017 14:23:14 GMT
|
29
|
+
Location:
|
30
|
+
- https://api.bugsnag.com/comments/5a2fc399d1befa003981d5be
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
|
-
Transfer-Encoding:
|
34
|
-
- chunked
|
35
|
-
Location:
|
36
|
-
- https://api.bugsnag.com/comments/59db8652c636d200228adcd7
|
37
33
|
Etag:
|
38
|
-
- W/"
|
34
|
+
- W/"a7d078685ed511be5bf79d4c4367a855"
|
39
35
|
Cache-Control:
|
40
36
|
- max-age=0, private, must-revalidate
|
41
37
|
X-Request-Id:
|
42
|
-
-
|
38
|
+
- 5a11fc47-8f3e-460e-be50-4b75274a219a
|
43
39
|
X-Runtime:
|
44
|
-
- '0.
|
40
|
+
- '0.288868'
|
45
41
|
Vary:
|
46
42
|
- Origin
|
47
|
-
X-
|
48
|
-
-
|
49
|
-
X-Ratelimit-Remaining:
|
50
|
-
- '8'
|
43
|
+
X-Rack-Cors:
|
44
|
+
- miss; no-origin
|
51
45
|
Content-Security-Policy:
|
52
46
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
53
|
-
connect-src ''self'' https://api.bugsnag.com https
|
54
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
55
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
47
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
48
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
49
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
56
50
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
57
51
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
58
52
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -66,19 +60,13 @@ http_interactions:
|
|
66
60
|
- none
|
67
61
|
X-Xss-Protection:
|
68
62
|
- 1; mode=block
|
69
|
-
|
70
|
-
-
|
71
|
-
Strict-Transport-Security:
|
72
|
-
- max-age=31536000
|
73
|
-
Via:
|
74
|
-
- 1.1 google
|
75
|
-
Alt-Svc:
|
76
|
-
- clear
|
63
|
+
Transfer-Encoding:
|
64
|
+
- chunked
|
77
65
|
body:
|
78
66
|
encoding: UTF-8
|
79
|
-
string: '{"id":"
|
67
|
+
string: '{"id":"5a2fc399d1befa003981d5be","message":"message","created_at":"2017-12-12T11:55:05.000Z","collaborator":{"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}}'
|
80
68
|
http_version:
|
81
|
-
recorded_at:
|
69
|
+
recorded_at: Tue, 12 Dec 2017 11:54:54 GMT
|
82
70
|
- request:
|
83
71
|
method: get
|
84
72
|
uri: https://api.bugsnag.com/projects/BUGSNAG_PROJECT_ID/errors/BUGSNAG_ERROR_ID/comments
|
@@ -87,11 +75,13 @@ http_interactions:
|
|
87
75
|
string: ''
|
88
76
|
headers:
|
89
77
|
User-Agent:
|
90
|
-
- Bugsnag API Ruby Gem
|
78
|
+
- Bugsnag API Ruby Gem 2.0.1
|
91
79
|
Content-Type:
|
92
80
|
- application/json
|
93
81
|
X-Version:
|
94
82
|
- '2'
|
83
|
+
X-Bugsnag-Api:
|
84
|
+
- 'true'
|
95
85
|
Authorization:
|
96
86
|
- token BUGSNAG_AUTH_TOKEN
|
97
87
|
Accept-Encoding:
|
@@ -103,33 +93,27 @@ http_interactions:
|
|
103
93
|
code: 200
|
104
94
|
message: OK
|
105
95
|
headers:
|
106
|
-
|
107
|
-
-
|
108
|
-
Date:
|
109
|
-
- Mon, 09 Oct 2017 14:23:14 GMT
|
96
|
+
X-Total-Count:
|
97
|
+
- '10'
|
110
98
|
Content-Type:
|
111
99
|
- application/json; charset=utf-8
|
112
|
-
X-Total-Count:
|
113
|
-
- '2'
|
114
100
|
Etag:
|
115
|
-
- W/"
|
101
|
+
- W/"2cf020eae65823e1953183ba3825d976"
|
116
102
|
Cache-Control:
|
117
103
|
- max-age=0, private, must-revalidate
|
118
104
|
X-Request-Id:
|
119
|
-
-
|
105
|
+
- 1bef26f4-ff72-4166-a226-7644fe20400b
|
120
106
|
X-Runtime:
|
121
|
-
- '0.
|
107
|
+
- '0.279841'
|
122
108
|
Vary:
|
123
109
|
- Origin
|
124
|
-
X-
|
125
|
-
-
|
126
|
-
X-Ratelimit-Remaining:
|
127
|
-
- '7'
|
110
|
+
X-Rack-Cors:
|
111
|
+
- miss; no-origin
|
128
112
|
Content-Security-Policy:
|
129
113
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
130
|
-
connect-src ''self'' https://api.bugsnag.com https
|
131
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
132
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
114
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
115
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
116
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
133
117
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
134
118
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
135
119
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -143,19 +127,11 @@ http_interactions:
|
|
143
127
|
- none
|
144
128
|
X-Xss-Protection:
|
145
129
|
- 1; mode=block
|
146
|
-
X-Robots-Tag:
|
147
|
-
- noindex, nofollow
|
148
|
-
Strict-Transport-Security:
|
149
|
-
- max-age=31536000
|
150
|
-
Via:
|
151
|
-
- 1.1 google
|
152
|
-
Alt-Svc:
|
153
|
-
- clear
|
154
130
|
Transfer-Encoding:
|
155
131
|
- chunked
|
156
132
|
body:
|
157
|
-
encoding:
|
158
|
-
string: '[{"id":"
|
133
|
+
encoding: UTF-8
|
134
|
+
string: '[{"id":"5a2fc399d1befa003981d5be","message":"message","created_at":"2017-12-12T11:55:05.000Z","collaborator":{"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}},{"id":"5a2fc06dd1befa002881d598","message":"updated","created_at":"2017-12-12T11:41:33.000Z","collaborator":{"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}},{"id":"5a2fc06cd1befa003981d5a2","message":"message","created_at":"2017-12-12T11:41:32.000Z","collaborator":{"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}},{"id":"5a2fc06cd1befa002881d597","message":"message","created_at":"2017-12-12T11:41:32.000Z","collaborator":{"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}},{"id":"5a2fc06bd1befa003981d5a1","message":"message","created_at":"2017-12-12T11:41:31.000Z","collaborator":{"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}},{"id":"5a2fc06ad1befa003981d5a0","message":"test_message","created_at":"2017-12-12T11:41:30.000Z","collaborator":{"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}},{"id":"5a2fbe86d1befa002881d57f","message":"test_message","created_at":"2017-12-12T11:33:26.000Z","collaborator":{"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}},{"id":"5a2fbe85d1befa003981d581","message":"updated","created_at":"2017-12-12T11:33:25.000Z","collaborator":{"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}},{"id":"5a2fbe84d1befa001781d581","message":"message","created_at":"2017-12-12T11:33:24.000Z","collaborator":{"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}},{"id":"5a2fbe82d1befa001781d57f","message":"message","created_at":"2017-12-12T11:33:22.000Z","collaborator":{"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}}]'
|
159
135
|
http_version:
|
160
|
-
recorded_at:
|
136
|
+
recorded_at: Tue, 12 Dec 2017 11:54:54 GMT
|
161
137
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"message":"message"}'
|
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,35 +26,27 @@ http_interactions:
|
|
24
26
|
code: 201
|
25
27
|
message: Created
|
26
28
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 09 Oct 2017 14:23:16 GMT
|
29
|
+
Location:
|
30
|
+
- https://api.bugsnag.com/comments/5a2fc39bd1befa002881d5a1
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
|
-
Transfer-Encoding:
|
34
|
-
- chunked
|
35
|
-
Location:
|
36
|
-
- https://api.bugsnag.com/comments/59db8654c1951b0026d5a422
|
37
33
|
Etag:
|
38
|
-
- W/"
|
34
|
+
- W/"88be4edd9cd811f0a19b3aa29c894348"
|
39
35
|
Cache-Control:
|
40
36
|
- max-age=0, private, must-revalidate
|
41
37
|
X-Request-Id:
|
42
|
-
-
|
38
|
+
- d683b128-83ff-441e-bc0b-88fe39cd1afd
|
43
39
|
X-Runtime:
|
44
|
-
- '0.
|
40
|
+
- '0.416889'
|
45
41
|
Vary:
|
46
42
|
- Origin
|
47
|
-
X-
|
48
|
-
-
|
49
|
-
X-Ratelimit-Remaining:
|
50
|
-
- '4'
|
43
|
+
X-Rack-Cors:
|
44
|
+
- miss; no-origin
|
51
45
|
Content-Security-Policy:
|
52
46
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
53
|
-
connect-src ''self'' https://api.bugsnag.com https
|
54
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
55
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
47
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
48
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
49
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
56
50
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
57
51
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
58
52
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -66,17 +60,11 @@ http_interactions:
|
|
66
60
|
- none
|
67
61
|
X-Xss-Protection:
|
68
62
|
- 1; mode=block
|
69
|
-
|
70
|
-
-
|
71
|
-
Strict-Transport-Security:
|
72
|
-
- max-age=31536000
|
73
|
-
Via:
|
74
|
-
- 1.1 google
|
75
|
-
Alt-Svc:
|
76
|
-
- clear
|
63
|
+
Transfer-Encoding:
|
64
|
+
- chunked
|
77
65
|
body:
|
78
66
|
encoding: UTF-8
|
79
|
-
string: '{"id":"
|
67
|
+
string: '{"id":"5a2fc39bd1befa002881d5a1","message":"message","created_at":"2017-12-12T11:55:07.000Z","collaborator":{"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}}'
|
80
68
|
http_version:
|
81
|
-
recorded_at:
|
69
|
+
recorded_at: Tue, 12 Dec 2017 11:54:55 GMT
|
82
70
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"message":"message"}'
|
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,35 +26,27 @@ http_interactions:
|
|
24
26
|
code: 201
|
25
27
|
message: Created
|
26
28
|
headers:
|
27
|
-
|
28
|
-
-
|
29
|
-
Date:
|
30
|
-
- Mon, 09 Oct 2017 14:23:15 GMT
|
29
|
+
Location:
|
30
|
+
- https://api.bugsnag.com/comments/5a2fc39ad1befa003981d5bf
|
31
31
|
Content-Type:
|
32
32
|
- application/json; charset=utf-8
|
33
|
-
Transfer-Encoding:
|
34
|
-
- chunked
|
35
|
-
Location:
|
36
|
-
- https://api.bugsnag.com/comments/59db8653901da0001b1eb557
|
37
33
|
Etag:
|
38
|
-
- W/"
|
34
|
+
- W/"f2bcc20f1f502d8591829cc8abf9466c"
|
39
35
|
Cache-Control:
|
40
36
|
- max-age=0, private, must-revalidate
|
41
37
|
X-Request-Id:
|
42
|
-
-
|
38
|
+
- bace0efc-3882-4e06-bad8-c05266663efc
|
43
39
|
X-Runtime:
|
44
|
-
- '0.
|
40
|
+
- '0.369118'
|
45
41
|
Vary:
|
46
42
|
- Origin
|
47
|
-
X-
|
48
|
-
-
|
49
|
-
X-Ratelimit-Remaining:
|
50
|
-
- '6'
|
43
|
+
X-Rack-Cors:
|
44
|
+
- miss; no-origin
|
51
45
|
Content-Security-Policy:
|
52
46
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
53
|
-
connect-src ''self'' https://api.bugsnag.com https
|
54
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
55
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
47
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
48
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
49
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
56
50
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
57
51
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
58
52
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -66,32 +60,28 @@ http_interactions:
|
|
66
60
|
- none
|
67
61
|
X-Xss-Protection:
|
68
62
|
- 1; mode=block
|
69
|
-
|
70
|
-
-
|
71
|
-
Strict-Transport-Security:
|
72
|
-
- max-age=31536000
|
73
|
-
Via:
|
74
|
-
- 1.1 google
|
75
|
-
Alt-Svc:
|
76
|
-
- clear
|
63
|
+
Transfer-Encoding:
|
64
|
+
- chunked
|
77
65
|
body:
|
78
66
|
encoding: UTF-8
|
79
|
-
string: '{"id":"
|
67
|
+
string: '{"id":"5a2fc39ad1befa003981d5bf","message":"message","created_at":"2017-12-12T11:55:06.000Z","collaborator":{"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}}'
|
80
68
|
http_version:
|
81
|
-
recorded_at:
|
69
|
+
recorded_at: Tue, 12 Dec 2017 11:54:55 GMT
|
82
70
|
- request:
|
83
71
|
method: patch
|
84
|
-
uri: https://api.bugsnag.com/comments/
|
72
|
+
uri: https://api.bugsnag.com/comments/5a2fc39ad1befa003981d5bf
|
85
73
|
body:
|
86
74
|
encoding: UTF-8
|
87
75
|
string: '{"message":"updated"}'
|
88
76
|
headers:
|
89
77
|
User-Agent:
|
90
|
-
- Bugsnag API Ruby Gem
|
78
|
+
- Bugsnag API Ruby Gem 2.0.1
|
91
79
|
Content-Type:
|
92
80
|
- application/json
|
93
81
|
X-Version:
|
94
82
|
- '2'
|
83
|
+
X-Bugsnag-Api:
|
84
|
+
- 'true'
|
95
85
|
Authorization:
|
96
86
|
- token BUGSNAG_AUTH_TOKEN
|
97
87
|
Accept-Encoding:
|
@@ -103,31 +93,25 @@ http_interactions:
|
|
103
93
|
code: 200
|
104
94
|
message: OK
|
105
95
|
headers:
|
106
|
-
Server:
|
107
|
-
- nginx
|
108
|
-
Date:
|
109
|
-
- Mon, 09 Oct 2017 14:23:15 GMT
|
110
96
|
Content-Type:
|
111
97
|
- application/json; charset=utf-8
|
112
98
|
Etag:
|
113
|
-
- W/"
|
99
|
+
- W/"b27dcfe48fa067d90084af4ae32d321f"
|
114
100
|
Cache-Control:
|
115
101
|
- max-age=0, private, must-revalidate
|
116
102
|
X-Request-Id:
|
117
|
-
-
|
103
|
+
- f914a7a8-e9b6-465b-93dc-a82504dbdebb
|
118
104
|
X-Runtime:
|
119
|
-
- '0.
|
105
|
+
- '0.346181'
|
120
106
|
Vary:
|
121
107
|
- Origin
|
122
|
-
X-
|
123
|
-
-
|
124
|
-
X-Ratelimit-Remaining:
|
125
|
-
- '5'
|
108
|
+
X-Rack-Cors:
|
109
|
+
- miss; no-origin
|
126
110
|
Content-Security-Policy:
|
127
111
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
128
|
-
connect-src ''self'' https://api.bugsnag.com https
|
129
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
130
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
112
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
113
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
114
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
131
115
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
132
116
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
133
117
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -141,19 +125,11 @@ http_interactions:
|
|
141
125
|
- none
|
142
126
|
X-Xss-Protection:
|
143
127
|
- 1; mode=block
|
144
|
-
X-Robots-Tag:
|
145
|
-
- noindex, nofollow
|
146
|
-
Strict-Transport-Security:
|
147
|
-
- max-age=31536000
|
148
|
-
Via:
|
149
|
-
- 1.1 google
|
150
|
-
Alt-Svc:
|
151
|
-
- clear
|
152
128
|
Transfer-Encoding:
|
153
129
|
- chunked
|
154
130
|
body:
|
155
|
-
encoding:
|
156
|
-
string: '{"id":"
|
131
|
+
encoding: UTF-8
|
132
|
+
string: '{"id":"5a2fc39ad1befa003981d5bf","message":"updated","created_at":"2017-12-12T11:55:06.000Z","collaborator":{"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}}'
|
157
133
|
http_version:
|
158
|
-
recorded_at:
|
134
|
+
recorded_at: Tue, 12 Dec 2017 11:54:55 GMT
|
159
135
|
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
|
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:25 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"ae5a149929c6f170984acca5b019ff3a"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
X-Request-Id:
|
38
|
-
-
|
36
|
+
- 7f6f7ef9-3136-4b64-80ba-df908569a836
|
39
37
|
X-Runtime:
|
40
|
-
- '0.
|
38
|
+
- '0.298566'
|
41
39
|
Vary:
|
42
40
|
- Origin
|
43
|
-
X-
|
44
|
-
-
|
45
|
-
X-Ratelimit-Remaining:
|
46
|
-
- '8'
|
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,20 +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":"BUGSNAG_ORG_ID","name":"
|
78
|
-
Moinet","email":"alex@bugsnag.com"},"created_at":"2017-09-04T12:42:33.824Z","updated_at":"2017-10-05T15:18:35.100Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-6/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","billing_emails":["alex@bugsnag.com"]}]'
|
64
|
+
encoding: UTF-8
|
65
|
+
string: '[{"id":"BUGSNAG_ORG_ID","name":"Bugsnag","slug":"bugsnag","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-11-22T14:30:08.966Z","updated_at":"2017-12-12T11:36:38.140Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/bugsnag/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}]'
|
79
66
|
http_version:
|
80
|
-
recorded_at:
|
67
|
+
recorded_at: Tue, 12 Dec 2017 11:55:44 GMT
|
81
68
|
recorded_with: VCR 2.9.3
|