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
@@ -8,13 +8,15 @@ http_interactions:
|
|
8
8
|
string: '{"name":"testOrg"}'
|
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
|
-
- Basic
|
19
|
+
- Basic c3VwcG9ydEBidWdzbmFnLmNvbTpwYXNzd29yZA==
|
18
20
|
Accept-Encoding:
|
19
21
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
22
|
Accept:
|
@@ -24,35 +26,28 @@ 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:20:14 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"867f8f8f0d6fbcfa38d9c11d3a027875"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
Set-Cookie:
|
38
|
-
- _bugsnag_session_2=
|
39
|
-
|
40
|
-
HttpOnly; SameSite=Lax
|
36
|
+
- _bugsnag_session_2=QkVaREh6ckR0NUZMeDJGVnJCa2JCZWt4SXJhQk5WVGdzL1hlUTN6ZjBWQk1qc2h2bStFYU9YRisvNklEa0lEcCt6MkQ5eEgwSmhHY1ZJOEJDY3VLaXU4YkEvUWtWbk83WVQ4NDhKYythbExkNkNKQ21wYW5ickFESUhmYlI2TmYyenZyZ1prWStka2RxbXlJZkk5aWVmekxGYnpEZUhONWdnS2xxSXVTcjR3dEZBSWlwc2lnd0dlQ2VUNzh4bzRybXczM0ZwZ0VIUE5TT3dOcXBRR3JKZz09LS02aGd2Q3NtTTlod1BiajVzTGNqTDBRPT0%3D--6a987dea0bf51b8d2a46b49c8d732d7ece5b5147;
|
37
|
+
path=/; expires=Wed, 12 Dec 2018 11:52:36 -0000; HttpOnly; SameSite=Lax
|
41
38
|
X-Request-Id:
|
42
|
-
-
|
39
|
+
- 9ce59338-0963-4022-b95f-fd6f926b141d
|
43
40
|
X-Runtime:
|
44
|
-
- '1.
|
41
|
+
- '1.001746'
|
45
42
|
Vary:
|
46
43
|
- Origin
|
47
|
-
X-
|
48
|
-
-
|
49
|
-
X-Ratelimit-Remaining:
|
50
|
-
- '5'
|
44
|
+
X-Rack-Cors:
|
45
|
+
- miss; no-origin
|
51
46
|
Content-Security-Policy:
|
52
47
|
- '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;
|
48
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
49
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
50
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
56
51
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
57
52
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
58
53
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -66,36 +61,30 @@ http_interactions:
|
|
66
61
|
- none
|
67
62
|
X-Xss-Protection:
|
68
63
|
- 1; mode=block
|
69
|
-
X-Robots-Tag:
|
70
|
-
- noindex, nofollow
|
71
|
-
Strict-Transport-Security:
|
72
|
-
- max-age=31536000
|
73
|
-
Via:
|
74
|
-
- 1.1 google
|
75
|
-
Alt-Svc:
|
76
|
-
- clear
|
77
64
|
Transfer-Encoding:
|
78
65
|
- chunked
|
79
66
|
body:
|
80
|
-
encoding:
|
81
|
-
string: '{"id":"
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"id":"5a2fc304d1befa003981d5a5","name":"testOrg","slug":"testorg-9","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:36.052Z","updated_at":"2017-12-12T11:52:36.164Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-9/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
|
82
69
|
http_version:
|
83
|
-
recorded_at:
|
70
|
+
recorded_at: Tue, 12 Dec 2017 11:52:25 GMT
|
84
71
|
- request:
|
85
72
|
method: get
|
86
|
-
uri: https://api.bugsnag.com/organizations/
|
73
|
+
uri: https://api.bugsnag.com/organizations/5a2fc304d1befa003981d5a5
|
87
74
|
body:
|
88
75
|
encoding: US-ASCII
|
89
76
|
string: ''
|
90
77
|
headers:
|
91
78
|
User-Agent:
|
92
|
-
- Bugsnag API Ruby Gem
|
79
|
+
- Bugsnag API Ruby Gem 2.0.1
|
93
80
|
Content-Type:
|
94
81
|
- application/json
|
95
82
|
X-Version:
|
96
83
|
- '2'
|
84
|
+
X-Bugsnag-Api:
|
85
|
+
- 'true'
|
97
86
|
Authorization:
|
98
|
-
- Basic
|
87
|
+
- Basic c3VwcG9ydEBidWdzbmFnLmNvbTpwYXNzd29yZA==
|
99
88
|
Accept-Encoding:
|
100
89
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
101
90
|
Accept:
|
@@ -105,35 +94,28 @@ http_interactions:
|
|
105
94
|
code: 200
|
106
95
|
message: OK
|
107
96
|
headers:
|
108
|
-
Server:
|
109
|
-
- nginx
|
110
|
-
Date:
|
111
|
-
- Mon, 09 Oct 2017 14:20:15 GMT
|
112
97
|
Content-Type:
|
113
98
|
- application/json; charset=utf-8
|
114
99
|
Etag:
|
115
|
-
- W/"
|
100
|
+
- W/"867f8f8f0d6fbcfa38d9c11d3a027875"
|
116
101
|
Cache-Control:
|
117
102
|
- max-age=0, private, must-revalidate
|
118
103
|
Set-Cookie:
|
119
|
-
- _bugsnag_session_2=
|
120
|
-
|
121
|
-
HttpOnly; SameSite=Lax
|
104
|
+
- _bugsnag_session_2=aU1BaTlDUnBtRTNMaWtnQnpYK1FEZEo0dTR3N0V1WElEOHVudTJzUHEzSkZ0S3NLNFlOSmRhbEVSZlZuaFpJU3BseFQ2TTJqUVoxdzNCckZjZG5ndmdGR0hQMWdaMmJ6TmJiWTViME5CNXBiQng4eDBKUEdKV1NkSGl5K2hUa3RkcThUN01JNEdLTDNvVFJQKzY0eWtZTDVpYkFzS3hleVpRR2ZvaEZYYVpweml4a005eWpaZFpuUTgrZHVpeTJ3VFEwUEF3TE5uNldSd0hQb1h3YmJiUT09LS1walZCNG1PRGdIeFZIeDFCTXZOWWtnPT0%3D--a6f0a8fd19fe93972da8f4e19212f5e88599979a;
|
105
|
+
path=/; expires=Wed, 12 Dec 2018 11:52:36 -0000; HttpOnly; SameSite=Lax
|
122
106
|
X-Request-Id:
|
123
|
-
-
|
107
|
+
- 93ccdbcf-20a9-4b69-81bc-2d2e824addb5
|
124
108
|
X-Runtime:
|
125
|
-
- '0.
|
109
|
+
- '0.386262'
|
126
110
|
Vary:
|
127
111
|
- Origin
|
128
|
-
X-
|
129
|
-
-
|
130
|
-
X-Ratelimit-Remaining:
|
131
|
-
- '4'
|
112
|
+
X-Rack-Cors:
|
113
|
+
- miss; no-origin
|
132
114
|
Content-Security-Policy:
|
133
115
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
134
|
-
connect-src ''self'' https://api.bugsnag.com https
|
135
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
136
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
116
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
117
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
118
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
137
119
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
138
120
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
139
121
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -147,19 +129,11 @@ http_interactions:
|
|
147
129
|
- none
|
148
130
|
X-Xss-Protection:
|
149
131
|
- 1; mode=block
|
150
|
-
X-Robots-Tag:
|
151
|
-
- noindex, nofollow
|
152
|
-
Strict-Transport-Security:
|
153
|
-
- max-age=31536000
|
154
|
-
Via:
|
155
|
-
- 1.1 google
|
156
|
-
Alt-Svc:
|
157
|
-
- clear
|
158
132
|
Transfer-Encoding:
|
159
133
|
- chunked
|
160
134
|
body:
|
161
|
-
encoding:
|
162
|
-
string: '{"id":"
|
135
|
+
encoding: UTF-8
|
136
|
+
string: '{"id":"5a2fc304d1befa003981d5a5","name":"testOrg","slug":"testorg-9","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:36.052Z","updated_at":"2017-12-12T11:52:36.164Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-9/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
|
163
137
|
http_version:
|
164
|
-
recorded_at:
|
138
|
+
recorded_at: Tue, 12 Dec 2017 11:52:25 GMT
|
165
139
|
recorded_with: VCR 2.9.3
|
@@ -8,13 +8,15 @@ http_interactions:
|
|
8
8
|
string: '{"name":"testOrg"}'
|
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
|
-
- Basic
|
19
|
+
- Basic c3VwcG9ydEBidWdzbmFnLmNvbTpwYXNzd29yZA==
|
18
20
|
Accept-Encoding:
|
19
21
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
22
|
Accept:
|
@@ -24,35 +26,28 @@ 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:20:12 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"09dc8d899eb7b4a53ed48923d5d0be37"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
Set-Cookie:
|
38
|
-
- _bugsnag_session_2=
|
39
|
-
|
40
|
-
HttpOnly; SameSite=Lax
|
36
|
+
- _bugsnag_session_2=L1FGcWEwS0wvbVc5aDRLMmpZaVNWRk5CSE92ZkRzRG40bXU1SUFRVHd1Y1JJempDVTdRbDRXRkxMVzhMaHpJTGprQVNhUjFnL3VwSlJmeUVkTHJQV3RXbXhtWktoR3NXQXp4bm1rVmxJNWxzV3NLSTZqV3NJalNoMkFLdU1GbXhJUUNpZDZSTmpaRGYrcDZSbXdvMEZmNjk4NkVrOWhHZ25HMlZxd1E2bFcrdkVaMWJtVlZMWjk5NnRPUGU3ZGdFTzYzcEplQlNsQnVncHRuRCtlckxLQT09LS1mdnVKZVd3NkdPSmVwM1c5eitLUUxBPT0%3D--9e2f57b9429db45998568681122126be171731d0;
|
37
|
+
path=/; expires=Wed, 12 Dec 2018 11:52:37 -0000; HttpOnly; SameSite=Lax
|
41
38
|
X-Request-Id:
|
42
|
-
-
|
39
|
+
- 7da2978a-e5de-41d5-ab93-aa02e4359f5f
|
43
40
|
X-Runtime:
|
44
|
-
- '
|
41
|
+
- '0.674558'
|
45
42
|
Vary:
|
46
43
|
- Origin
|
47
|
-
X-
|
48
|
-
-
|
49
|
-
X-Ratelimit-Remaining:
|
50
|
-
- '7'
|
44
|
+
X-Rack-Cors:
|
45
|
+
- miss; no-origin
|
51
46
|
Content-Security-Policy:
|
52
47
|
- '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;
|
48
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
49
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
50
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
56
51
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
57
52
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
58
53
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -66,36 +61,30 @@ http_interactions:
|
|
66
61
|
- none
|
67
62
|
X-Xss-Protection:
|
68
63
|
- 1; mode=block
|
69
|
-
X-Robots-Tag:
|
70
|
-
- noindex, nofollow
|
71
|
-
Strict-Transport-Security:
|
72
|
-
- max-age=31536000
|
73
|
-
Via:
|
74
|
-
- 1.1 google
|
75
|
-
Alt-Svc:
|
76
|
-
- clear
|
77
64
|
Transfer-Encoding:
|
78
65
|
- chunked
|
79
66
|
body:
|
80
|
-
encoding:
|
81
|
-
string: '{"id":"
|
67
|
+
encoding: UTF-8
|
68
|
+
string: '{"id":"5a2fc305d1befa003981d5a9","name":"testOrg","slug":"testorg-10","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:37.340Z","updated_at":"2017-12-12T11:52:37.425Z","auto_upgrade":true,"upgrade_url":"https://api.bugsnag.com/settings/testorg-10/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
|
82
69
|
http_version:
|
83
|
-
recorded_at:
|
70
|
+
recorded_at: Tue, 12 Dec 2017 11:52:26 GMT
|
84
71
|
- request:
|
85
72
|
method: patch
|
86
|
-
uri: https://api.bugsnag.com/organizations/
|
73
|
+
uri: https://api.bugsnag.com/organizations/5a2fc305d1befa003981d5a9
|
87
74
|
body:
|
88
75
|
encoding: UTF-8
|
89
76
|
string: '{"invoice_address":"test_string","name":"updated_name","auto_upgrade":false}'
|
90
77
|
headers:
|
91
78
|
User-Agent:
|
92
|
-
- Bugsnag API Ruby Gem
|
79
|
+
- Bugsnag API Ruby Gem 2.0.1
|
93
80
|
Content-Type:
|
94
81
|
- application/json
|
95
82
|
X-Version:
|
96
83
|
- '2'
|
84
|
+
X-Bugsnag-Api:
|
85
|
+
- 'true'
|
97
86
|
Authorization:
|
98
|
-
- Basic
|
87
|
+
- Basic c3VwcG9ydEBidWdzbmFnLmNvbTpwYXNzd29yZA==
|
99
88
|
Accept-Encoding:
|
100
89
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
101
90
|
Accept:
|
@@ -105,35 +94,28 @@ http_interactions:
|
|
105
94
|
code: 200
|
106
95
|
message: OK
|
107
96
|
headers:
|
108
|
-
Server:
|
109
|
-
- nginx
|
110
|
-
Date:
|
111
|
-
- Mon, 09 Oct 2017 14:20:13 GMT
|
112
97
|
Content-Type:
|
113
98
|
- application/json; charset=utf-8
|
114
99
|
Etag:
|
115
|
-
- W/"
|
100
|
+
- W/"1cd8c681b73b3b4ce6da6626cb7a11f7"
|
116
101
|
Cache-Control:
|
117
102
|
- max-age=0, private, must-revalidate
|
118
103
|
Set-Cookie:
|
119
|
-
- _bugsnag_session_2=
|
120
|
-
|
121
|
-
HttpOnly; SameSite=Lax
|
104
|
+
- _bugsnag_session_2=ZUFnYXNxTkVFb3V2YXVleHBhbTFpZ3NVUnJqc3VsZFhad3ZySlBYTXZxWnByNVpqWXV3TXFuRjRzeldMSGtkeERxekJJN0Z2ZHV6R3BqcHdUeElUenREc0xJdHBNOXhkNjlVamVNaGVmVmJ5ZTRGWXNYTU9SV0JHRGpmSDBJT2xaZzB0UmdDcW5VZlV4TGdJT2xJbXRYRDBPYTFKSEp3eXkvNDNuV0xLMVkxQjVkdm55WmVRanNGS2VGaXI3dFQvNCtoS3JTbkpYaTlZNlJwYXRYVW5vZz09LS12MEt3ZFZuSkRCTGZFRmV4NEw5SFRnPT0%3D--64d22dbfcc3b89974156205693744a62f861f432;
|
105
|
+
path=/; expires=Wed, 12 Dec 2018 11:52:38 -0000; HttpOnly; SameSite=Lax
|
122
106
|
X-Request-Id:
|
123
|
-
-
|
107
|
+
- 420ba7c0-a9e7-4e14-a1d3-7b3d6832108c
|
124
108
|
X-Runtime:
|
125
|
-
- '0.
|
109
|
+
- '0.381432'
|
126
110
|
Vary:
|
127
111
|
- Origin
|
128
|
-
X-
|
129
|
-
-
|
130
|
-
X-Ratelimit-Remaining:
|
131
|
-
- '6'
|
112
|
+
X-Rack-Cors:
|
113
|
+
- miss; no-origin
|
132
114
|
Content-Security-Policy:
|
133
115
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
134
|
-
connect-src ''self'' https://api.bugsnag.com https
|
135
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
136
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
116
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
117
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
118
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
137
119
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
138
120
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
139
121
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -147,19 +129,11 @@ http_interactions:
|
|
147
129
|
- none
|
148
130
|
X-Xss-Protection:
|
149
131
|
- 1; mode=block
|
150
|
-
X-Robots-Tag:
|
151
|
-
- noindex, nofollow
|
152
|
-
Strict-Transport-Security:
|
153
|
-
- max-age=31536000
|
154
|
-
Via:
|
155
|
-
- 1.1 google
|
156
|
-
Alt-Svc:
|
157
|
-
- clear
|
158
132
|
Transfer-Encoding:
|
159
133
|
- chunked
|
160
134
|
body:
|
161
|
-
encoding:
|
162
|
-
string: '{"id":"
|
135
|
+
encoding: UTF-8
|
136
|
+
string: '{"id":"5a2fc305d1befa003981d5a9","name":"updated_name","slug":"updated-name-2","creator":{"id":"5a1589f0d1befa47553ffd5f","name":"Bugsnag","email":"BUGSNAG_USER_EMAIL"},"created_at":"2017-12-12T11:52:37.340Z","updated_at":"2017-12-12T11:52:38.042Z","auto_upgrade":false,"upgrade_url":"https://api.bugsnag.com/settings/updated-name-2/plans-billing?plansBilling%5Bstep%5D=collaborators-and-events","can_start_pro_trial":false,"pro_trial_ends_at":null,"billing_emails":["BUGSNAG_USER_EMAIL"]}'
|
163
137
|
http_version:
|
164
|
-
recorded_at:
|
138
|
+
recorded_at: Tue, 12 Dec 2017 11:52:27 GMT
|
165
139
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"name":"testProject","type":"other"}'
|
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:20:04 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"66efaa324eda86c1b0b02ed772ddac86"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
X-Request-Id:
|
38
|
-
-
|
36
|
+
- 947a9730-ccc2-403f-8639-fcb6cdf94e89
|
39
37
|
X-Runtime:
|
40
|
-
- '0.
|
38
|
+
- '0.402736'
|
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,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":"5a2fc37fd1befa003981d5b9","slug":"testproject-9","name":"testProject","api_key":"8d884c18c157b78db019266b277daf9e","type":"other","is_full_view":true,"release_stages":[],"language":null,"created_at":"2017-12-12T11:54:39.227Z","updated_at":"2017-12-12T11:54:39.227Z","errors_url":"https://api.bugsnag.com/projects/5a2fc37fd1befa003981d5b9/errors","events_url":"https://api.bugsnag.com/projects/5a2fc37fd1befa003981d5b9/events","url":"https://api.bugsnag.com/projects/5a2fc37fd1befa003981d5b9","html_url":"https://api.bugsnag.com/bugsnag/testproject-9","open_error_count":0,"collaborators_count":2,"global_grouping":[],"location_grouping":[],"discarded_app_versions":[],"discarded_errors":[],"custom_event_fields_used":0,"resolve_on_deploy":false}'
|
78
66
|
http_version:
|
79
|
-
recorded_at:
|
67
|
+
recorded_at: Tue, 12 Dec 2017 11:54:28 GMT
|
80
68
|
recorded_with: VCR 2.9.3
|
@@ -8,11 +8,13 @@ http_interactions:
|
|
8
8
|
string: '{"name":"testProject","type":"other"}'
|
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:20:02 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Etag:
|
34
|
-
- W/"
|
32
|
+
- W/"e94ed6494dc2680a7e5e80bfcb8fb1ee"
|
35
33
|
Cache-Control:
|
36
34
|
- max-age=0, private, must-revalidate
|
37
35
|
X-Request-Id:
|
38
|
-
-
|
36
|
+
- bab2c7b5-1be8-4967-8064-42bd7df65430
|
39
37
|
X-Runtime:
|
40
|
-
- '0.
|
38
|
+
- '0.357678'
|
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,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":"5a2fc37cd1befa003981d5b3","slug":"testproject-6","name":"testProject","api_key":"5329778c8dafb6b594f3aab77dab3089","type":"other","is_full_view":true,"release_stages":[],"language":null,"created_at":"2017-12-12T11:54:36.671Z","updated_at":"2017-12-12T11:54:36.671Z","errors_url":"https://api.bugsnag.com/projects/5a2fc37cd1befa003981d5b3/errors","events_url":"https://api.bugsnag.com/projects/5a2fc37cd1befa003981d5b3/events","url":"https://api.bugsnag.com/projects/5a2fc37cd1befa003981d5b3","html_url":"https://api.bugsnag.com/bugsnag/testproject-6","open_error_count":0,"collaborators_count":2,"global_grouping":[],"location_grouping":[],"discarded_app_versions":[],"discarded_errors":[],"custom_event_fields_used":0,"resolve_on_deploy":false}'
|
78
66
|
http_version:
|
79
|
-
recorded_at:
|
67
|
+
recorded_at: Tue, 12 Dec 2017 11:54:25 GMT
|
80
68
|
- request:
|
81
69
|
method: delete
|
82
|
-
uri: https://api.bugsnag.com/projects/
|
70
|
+
uri: https://api.bugsnag.com/projects/5a2fc37cd1befa003981d5b3
|
83
71
|
body:
|
84
72
|
encoding: UTF-8
|
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,27 +91,21 @@ http_interactions:
|
|
101
91
|
code: 204
|
102
92
|
message: No Content
|
103
93
|
headers:
|
104
|
-
Server:
|
105
|
-
- nginx
|
106
|
-
Date:
|
107
|
-
- Mon, 09 Oct 2017 14:20:02 GMT
|
108
94
|
Cache-Control:
|
109
95
|
- no-cache
|
110
96
|
X-Request-Id:
|
111
|
-
-
|
97
|
+
- 66753d44-6990-45d7-b8d0-5ee9cb38b738
|
112
98
|
X-Runtime:
|
113
|
-
- '0.
|
99
|
+
- '0.470776'
|
114
100
|
Vary:
|
115
101
|
- Origin
|
116
|
-
X-
|
117
|
-
-
|
118
|
-
X-Ratelimit-Remaining:
|
119
|
-
- '6'
|
102
|
+
X-Rack-Cors:
|
103
|
+
- miss; no-origin
|
120
104
|
Content-Security-Policy:
|
121
105
|
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
122
|
-
connect-src ''self'' https://api.bugsnag.com https
|
123
|
-
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
124
|
-
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
106
|
+
connect-src ''self'' https://api.bugsnag.com https://notify.bugsnag.com https://*.stripe.com
|
107
|
+
https://bugsnag.zendesk.com https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com;
|
108
|
+
img-src ''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
125
109
|
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
126
110
|
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
127
111
|
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
@@ -135,17 +119,9 @@ http_interactions:
|
|
135
119
|
- none
|
136
120
|
X-Xss-Protection:
|
137
121
|
- 1; mode=block
|
138
|
-
X-Robots-Tag:
|
139
|
-
- noindex, nofollow
|
140
|
-
Strict-Transport-Security:
|
141
|
-
- max-age=31536000
|
142
|
-
Via:
|
143
|
-
- 1.1 google
|
144
|
-
Alt-Svc:
|
145
|
-
- clear
|
146
122
|
body:
|
147
123
|
encoding: UTF-8
|
148
124
|
string: ''
|
149
125
|
http_version:
|
150
|
-
recorded_at:
|
126
|
+
recorded_at: Tue, 12 Dec 2017 11:54:26 GMT
|
151
127
|
recorded_with: VCR 2.9.3
|