bugsnag-api 1.0.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +14 -3
- data/CHANGELOG.md +32 -0
- data/CONTRIBUTING.md +40 -0
- data/README.md +126 -111
- data/bugsnag-api.gemspec +4 -3
- data/lib/bugsnag/api/client.rb +18 -9
- data/lib/bugsnag/api/client/collaborators.rb +87 -0
- data/lib/bugsnag/api/client/comments.rb +31 -40
- data/lib/bugsnag/api/client/currentuser.rb +33 -0
- data/lib/bugsnag/api/client/errors.rb +45 -51
- data/lib/bugsnag/api/client/eventfields.rb +50 -0
- data/lib/bugsnag/api/client/events.rb +38 -32
- data/lib/bugsnag/api/client/organizations.rb +46 -0
- data/lib/bugsnag/api/client/pivots.rb +43 -0
- data/lib/bugsnag/api/client/projects.rb +37 -63
- data/lib/bugsnag/api/client/trends.rb +38 -0
- data/lib/bugsnag/api/error.rb +4 -0
- data/lib/bugsnag/api/version.rb +1 -1
- data/spec/bugsnag/api/client/collaborators_spec.rb +101 -0
- data/spec/bugsnag/api/client/comments_spec.rb +42 -30
- data/spec/bugsnag/api/client/currentuser_spec.rb +57 -0
- data/spec/bugsnag/api/client/errors_spec.rb +44 -41
- data/spec/bugsnag/api/client/eventfields_spec.rb +56 -0
- data/spec/bugsnag/api/client/events_spec.rb +41 -29
- data/spec/bugsnag/api/client/organizations_spec.rb +53 -0
- data/spec/bugsnag/api/client/pivots_spec.rb +49 -0
- data/spec/bugsnag/api/client/projects_spec.rb +35 -59
- data/spec/bugsnag/api/client/trends_spec.rb +44 -0
- data/spec/bugsnag/api/client_spec.rb +8 -3
- data/spec/cassettes/Bugsnag_Api_Client/_get/handles_query_params.yml +45 -27
- data/spec/cassettes/Bugsnag_Api_Client/_last_response/caches_the_last_agent_response.yml +45 -27
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/creates_and_returns_a_collaborator.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/_invitecollaborator/invites_multiple_collaborators.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborator/returns_a_collaborator.yml +157 -0
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_organization_collaborators.yml +160 -0
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_collaborators/returns_a_list_of_all_project_collaborators.yml +160 -0
- 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 +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_delete_collaborator/deletes_a_collaborator.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_update_collaborator_permissions/updates_and_returns_the_collaborator.yml +157 -0
- data/spec/cassettes/Bugsnag_Api_Client_Collaborators/given_a_collaborator_exists/_view_collaborator_projects/returns_a_list_of_projects_belonging_to_the_collaborator.yml +159 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/_create_comment/creates_a_comment_on_the_error.yml +82 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comment/retrieves_the_comment_specified.yml +159 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_comments/retrieves_all_comments_on_an_error.yml +161 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_delete_comment/deletes_the_comment_and_returns_true.yml +82 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/given_a_comment_has_been_created/_update_comment/updates_the_message_on_a_comment.yml +159 -0
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_auth_token/returns_the_organization_the_auth_token_belongs_to.yml +81 -0
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_organizations/when_using_user_credentials/returns_users_organizations.yml +85 -0
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_auth_token/lists_current_user_s_projects_in_the_organization.yml +82 -0
- data/spec/cassettes/Bugsnag_Api_Client_CurrentUser/_list_projects/when_using_user_credentials/lists_current_user_s_projects_in_the_organization.yml +86 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_error/returns_a_single_error.yml +82 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_errors/returns_errors_on_the_project.yml +84 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_update_errors/updates_and_returns_the_updated_errors.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Events/_error_events/lists_all_error_events.yml +84 -0
- data/spec/cassettes/Bugsnag_Api_Client_Events/_event/returns_the_specified_event.yml +253 -0
- data/spec/cassettes/Bugsnag_Api_Client_Events/_events/returns_the_a_list_of_project_errors.yml +84 -0
- data/spec/cassettes/Bugsnag_Api_Client_Events/_latest_event/returns_the_last_event_on_an_error.yml +253 -0
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/_create_organization/creates_a_new_organization.yml +84 -0
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_delete_organization/deletes_the_organization.yml +159 -0
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_organization/returns_the_requested_organization.yml +165 -0
- data/spec/cassettes/Bugsnag_Api_Client_Organizations/with_organization/_update_organization/updates_and_returns_the_organization.yml +165 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_new_project.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_delete_project/deletes_the_project.yml +151 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_project/returns_the_requested_project.yml +157 -0
- 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 +157 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/given_a_project/_update_project/updates_and_returns_the_project.yml +157 -0
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_error_trends_in_bucket_form.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_buckets/returns_a_list_of_project_trends_in_bucket_form.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_project_trends_in_resolution_form.yml +80 -0
- data/spec/cassettes/Bugsnag_Api_Client_Trends/_trends_resolution/returns_a_list_of_trends_in_resolution_form.yml +80 -0
- data/spec/spec_helper.rb +29 -27
- metadata +124 -83
- data/lib/bugsnag/api/client/accounts.rb +0 -44
- data/lib/bugsnag/api/client/users.rb +0 -99
- data/spec/bugsnag/api/client/accounts_spec.rb +0 -45
- data/spec/bugsnag/api/client/users_spec.rb +0 -105
- data/spec/cassettes/Bugsnag_Api_Client_Accounts/_account/returns_the_requested_account.yml +0 -49
- data/spec/cassettes/Bugsnag_Api_Client_Accounts/_account/when_using_account_credentials/returns_the_account.yml +0 -51
- data/spec/cassettes/Bugsnag_Api_Client_Accounts/_accounts/returns_all_accounts.yml +0 -49
- data/spec/cassettes/Bugsnag_Api_Client_Comments/_comments/returns_all_comments_on_an_error.yml +0 -107
- data/spec/cassettes/Bugsnag_Api_Client_Comments/_create_comment/created_a_comment.yml +0 -51
- data/spec/cassettes/Bugsnag_Api_Client_Comments/with_comment/_comment/returns_a_comment.yml +0 -97
- data/spec/cassettes/Bugsnag_Api_Client_Comments/with_comment/_delete_comment/deletes_an_existing_comment.yml +0 -92
- data/spec/cassettes/Bugsnag_Api_Client_Comments/with_comment/_update_comment/updates_an_existing_comment.yml +0 -97
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_errors/returns_all_errors_on_an_project.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_error/returns_an_error.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_reopen_error/reopens_the_error.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_resolve_error/resolves_the_error.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_update_error/updates_the_error.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Events/_error_events/returns_all_events_on_an_error.yml +0 -64
- data/spec/cassettes/Bugsnag_Api_Client_Events/_project_events/returns_all_events_on_a_project.yml +0 -64
- data/spec/cassettes/Bugsnag_Api_Client_Events/with_event/_event/returns_an_event.yml +0 -56
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_account_projects/returns_all_projects_on_an_account.yml +0 -61
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_account_projects/when_using_account_credentials/returns_all_projects.yml +0 -63
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_project_on_an_account.yml +0 -50
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_user_projects/returns_all_projects_for_a_user.yml +0 -61
- data/spec/cassettes/Bugsnag_Api_Client_Projects/with_project/_delete_project/deletes_an_existing_project.yml +0 -91
- data/spec/cassettes/Bugsnag_Api_Client_Projects/with_project/_project/returns_a_project.yml +0 -95
- data/spec/cassettes/Bugsnag_Api_Client_Projects/with_project/_update_project/updates_an_existing_project.yml +0 -95
- data/spec/cassettes/Bugsnag_Api_Client_Users/_account_users/returns_all_users_on_an_account.yml +0 -49
- data/spec/cassettes/Bugsnag_Api_Client_Users/_account_users/when_using_account_credentials/returns_all_users.yml +0 -51
- data/spec/cassettes/Bugsnag_Api_Client_Users/_invite_user/invites_a_user_to_an_account.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Users/_project_users/returns_all_users_for_a_project.yml +0 -49
- data/spec/cassettes/Bugsnag_Api_Client_Users/_user/returns_a_user.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Users/_user/when_using_user_credentials/returns_the_authed_user.yml +0 -48
- data/spec/cassettes/Bugsnag_Api_Client_Users/with_user/_remove_user/removes_a_user_from_an_account.yml +0 -89
- data/spec/cassettes/Bugsnag_Api_Client_Users/with_user/_update_user_permissions/updates_a_users_permissions.yml +0 -93
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators/bulk_invite
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"emails":["BUGSNAG_COLLABORATOR_EMAIL","BUGSNAG_USER_EMAIL"]}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Bugsnag API Ruby Gem 1.0.3
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
X-Version:
|
15
|
+
- '2'
|
16
|
+
Authorization:
|
17
|
+
- token BUGSNAG_AUTH_TOKEN
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
Accept:
|
21
|
+
- "*/*"
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx
|
29
|
+
Date:
|
30
|
+
- Mon, 09 Oct 2017 14:23:19 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Etag:
|
34
|
+
- W/"8b504d6f490c70884ec5a0ee64adf67e"
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
37
|
+
X-Request-Id:
|
38
|
+
- d2b39a93-b1f6-4584-a828-9da0e2eb61ff
|
39
|
+
X-Runtime:
|
40
|
+
- '0.592971'
|
41
|
+
Vary:
|
42
|
+
- Origin
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '10'
|
45
|
+
X-Ratelimit-Remaining:
|
46
|
+
- '0'
|
47
|
+
Content-Security-Policy:
|
48
|
+
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
49
|
+
connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
|
50
|
+
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
|
51
|
+
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
52
|
+
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
53
|
+
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
54
|
+
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
X-Download-Options:
|
58
|
+
- noopen
|
59
|
+
X-Frame-Options:
|
60
|
+
- DENY
|
61
|
+
X-Permitted-Cross-Domain-Policies:
|
62
|
+
- none
|
63
|
+
X-Xss-Protection:
|
64
|
+
- 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
|
+
Transfer-Encoding:
|
74
|
+
- chunked
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: '[{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-05T09:04:10.936Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59ae67b68a0558001a351bcb/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:23:18.669Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}]'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Mon, 09 Oct 2017 14:23:18 GMT
|
80
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,157 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Bugsnag API Ruby Gem 1.0.3
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
X-Version:
|
15
|
+
- '2'
|
16
|
+
Authorization:
|
17
|
+
- token BUGSNAG_AUTH_TOKEN
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
Accept:
|
21
|
+
- "*/*"
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx
|
29
|
+
Date:
|
30
|
+
- Mon, 09 Oct 2017 14:25:30 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Etag:
|
34
|
+
- W/"eca67f6d4d1539baf9ad49d57ffbb90c"
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
37
|
+
X-Request-Id:
|
38
|
+
- 02548867-f47b-4026-81e1-597273d6b907
|
39
|
+
X-Runtime:
|
40
|
+
- '0.421130'
|
41
|
+
Vary:
|
42
|
+
- Origin
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '10'
|
45
|
+
X-Ratelimit-Remaining:
|
46
|
+
- '3'
|
47
|
+
Content-Security-Policy:
|
48
|
+
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
49
|
+
connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
|
50
|
+
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
|
51
|
+
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
52
|
+
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
53
|
+
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
54
|
+
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
X-Download-Options:
|
58
|
+
- noopen
|
59
|
+
X-Frame-Options:
|
60
|
+
- DENY
|
61
|
+
X-Permitted-Cross-Domain-Policies:
|
62
|
+
- none
|
63
|
+
X-Xss-Protection:
|
64
|
+
- 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
|
+
Transfer-Encoding:
|
74
|
+
- chunked
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Mon, 09 Oct 2017 14:25:29 GMT
|
80
|
+
- request:
|
81
|
+
method: get
|
82
|
+
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators/59afc14140ab4d001de9d7f0
|
83
|
+
body:
|
84
|
+
encoding: US-ASCII
|
85
|
+
string: ''
|
86
|
+
headers:
|
87
|
+
User-Agent:
|
88
|
+
- Bugsnag API Ruby Gem 1.0.3
|
89
|
+
Content-Type:
|
90
|
+
- application/json
|
91
|
+
X-Version:
|
92
|
+
- '2'
|
93
|
+
Authorization:
|
94
|
+
- token BUGSNAG_AUTH_TOKEN
|
95
|
+
Accept-Encoding:
|
96
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
97
|
+
Accept:
|
98
|
+
- "*/*"
|
99
|
+
response:
|
100
|
+
status:
|
101
|
+
code: 200
|
102
|
+
message: OK
|
103
|
+
headers:
|
104
|
+
Server:
|
105
|
+
- nginx
|
106
|
+
Date:
|
107
|
+
- Mon, 09 Oct 2017 14:25:30 GMT
|
108
|
+
Content-Type:
|
109
|
+
- application/json; charset=utf-8
|
110
|
+
Etag:
|
111
|
+
- W/"eca67f6d4d1539baf9ad49d57ffbb90c"
|
112
|
+
Cache-Control:
|
113
|
+
- max-age=0, private, must-revalidate
|
114
|
+
X-Request-Id:
|
115
|
+
- 503b3ab6-c71e-4349-9aec-ae5de7d6af24
|
116
|
+
X-Runtime:
|
117
|
+
- '0.222762'
|
118
|
+
Vary:
|
119
|
+
- Origin
|
120
|
+
X-Ratelimit-Limit:
|
121
|
+
- '10'
|
122
|
+
X-Ratelimit-Remaining:
|
123
|
+
- '2'
|
124
|
+
Content-Security-Policy:
|
125
|
+
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
126
|
+
connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
|
127
|
+
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
|
128
|
+
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
129
|
+
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
130
|
+
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
131
|
+
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
132
|
+
X-Content-Type-Options:
|
133
|
+
- nosniff
|
134
|
+
X-Download-Options:
|
135
|
+
- noopen
|
136
|
+
X-Frame-Options:
|
137
|
+
- DENY
|
138
|
+
X-Permitted-Cross-Domain-Policies:
|
139
|
+
- none
|
140
|
+
X-Xss-Protection:
|
141
|
+
- 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
|
+
Transfer-Encoding:
|
151
|
+
- chunked
|
152
|
+
body:
|
153
|
+
encoding: ASCII-8BIT
|
154
|
+
string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
|
155
|
+
http_version:
|
156
|
+
recorded_at: Mon, 09 Oct 2017 14:25:29 GMT
|
157
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,160 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Bugsnag API Ruby Gem 1.0.3
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
X-Version:
|
15
|
+
- '2'
|
16
|
+
Authorization:
|
17
|
+
- token BUGSNAG_AUTH_TOKEN
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
Accept:
|
21
|
+
- "*/*"
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx
|
29
|
+
Date:
|
30
|
+
- Mon, 09 Oct 2017 14:26:30 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Etag:
|
34
|
+
- W/"eca67f6d4d1539baf9ad49d57ffbb90c"
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
37
|
+
X-Request-Id:
|
38
|
+
- f5c41818-b934-4a45-be69-fcfa53aea023
|
39
|
+
X-Runtime:
|
40
|
+
- '0.515723'
|
41
|
+
Vary:
|
42
|
+
- Origin
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '10'
|
45
|
+
X-Ratelimit-Remaining:
|
46
|
+
- '5'
|
47
|
+
Content-Security-Policy:
|
48
|
+
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
49
|
+
connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
|
50
|
+
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
|
51
|
+
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
52
|
+
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
53
|
+
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
54
|
+
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
X-Download-Options:
|
58
|
+
- noopen
|
59
|
+
X-Frame-Options:
|
60
|
+
- DENY
|
61
|
+
X-Permitted-Cross-Domain-Policies:
|
62
|
+
- none
|
63
|
+
X-Xss-Protection:
|
64
|
+
- 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
|
+
Transfer-Encoding:
|
74
|
+
- chunked
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Mon, 09 Oct 2017 14:26:29 GMT
|
80
|
+
- request:
|
81
|
+
method: get
|
82
|
+
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators
|
83
|
+
body:
|
84
|
+
encoding: US-ASCII
|
85
|
+
string: ''
|
86
|
+
headers:
|
87
|
+
User-Agent:
|
88
|
+
- Bugsnag API Ruby Gem 1.0.3
|
89
|
+
Content-Type:
|
90
|
+
- application/json
|
91
|
+
X-Version:
|
92
|
+
- '2'
|
93
|
+
Authorization:
|
94
|
+
- token BUGSNAG_AUTH_TOKEN
|
95
|
+
Accept-Encoding:
|
96
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
97
|
+
Accept:
|
98
|
+
- "*/*"
|
99
|
+
response:
|
100
|
+
status:
|
101
|
+
code: 200
|
102
|
+
message: OK
|
103
|
+
headers:
|
104
|
+
Server:
|
105
|
+
- nginx
|
106
|
+
Date:
|
107
|
+
- Mon, 09 Oct 2017 14:26:30 GMT
|
108
|
+
Content-Type:
|
109
|
+
- application/json; charset=utf-8
|
110
|
+
X-Total-Count:
|
111
|
+
- '5'
|
112
|
+
Etag:
|
113
|
+
- W/"9d1c9062ca10c2258abcdf8bae16ddae"
|
114
|
+
Cache-Control:
|
115
|
+
- max-age=0, private, must-revalidate
|
116
|
+
X-Request-Id:
|
117
|
+
- f53241de-9c93-47ab-881b-3d02854235a0
|
118
|
+
X-Runtime:
|
119
|
+
- '0.257913'
|
120
|
+
Vary:
|
121
|
+
- Origin
|
122
|
+
X-Ratelimit-Limit:
|
123
|
+
- '10'
|
124
|
+
X-Ratelimit-Remaining:
|
125
|
+
- '4'
|
126
|
+
Content-Security-Policy:
|
127
|
+
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
128
|
+
connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
|
129
|
+
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
|
130
|
+
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
131
|
+
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
132
|
+
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
133
|
+
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
134
|
+
X-Content-Type-Options:
|
135
|
+
- nosniff
|
136
|
+
X-Download-Options:
|
137
|
+
- noopen
|
138
|
+
X-Frame-Options:
|
139
|
+
- DENY
|
140
|
+
X-Permitted-Cross-Domain-Policies:
|
141
|
+
- none
|
142
|
+
X-Xss-Protection:
|
143
|
+
- 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
|
+
Transfer-Encoding:
|
153
|
+
- chunked
|
154
|
+
body:
|
155
|
+
encoding: ASCII-8BIT
|
156
|
+
string: '[{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59afb2e65710a800203768ab","name":null,"email":"\u003cbugsnag_collabortator_email\u003e","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T08:33:42.545Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afb2e65710a800203768ab/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":false,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID"],"paid_for":false},{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-05T09:04:10.936Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59ae67b68a0558001a351bcb/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:26:30.635Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59ad646a010e2a001bd7e72f","name":null,"email":"alex.moinet@yahoo.co.uk","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-04T14:34:18.388Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59ad646a010e2a001bd7e72f/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":false,"pending_invitation":true,"last_request_at":null,"project_ids":[],"paid_for":false},{"id":"59844ed2a2ebdd0022a938d3","name":"Alexander
|
157
|
+
Moinet","email":"alex@bugsnag.com","two_factor_enabled":true,"two_factor_enabled_on":"2017-09-05T08:56:21.730Z","password_updated_on":"2017-08-14T10:12:26.692Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59844ed2a2ebdd0022a938d3/projects","heroku":false,"recovery_codes_remaining":5,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:18:45.021Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}]'
|
158
|
+
http_version:
|
159
|
+
recorded_at: Mon, 09 Oct 2017 14:26:29 GMT
|
160
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,160 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.bugsnag.com/organizations/BUGSNAG_ORG_ID/collaborators
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"project_ids":["BUGSNAG_PROJECT_ID"],"email":"BUGSNAG_COLLABORATOR_EMAIL"}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Bugsnag API Ruby Gem 1.0.3
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
X-Version:
|
15
|
+
- '2'
|
16
|
+
Authorization:
|
17
|
+
- token BUGSNAG_AUTH_TOKEN
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
Accept:
|
21
|
+
- "*/*"
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
Server:
|
28
|
+
- nginx
|
29
|
+
Date:
|
30
|
+
- Mon, 09 Oct 2017 14:26:28 GMT
|
31
|
+
Content-Type:
|
32
|
+
- application/json; charset=utf-8
|
33
|
+
Etag:
|
34
|
+
- W/"eca67f6d4d1539baf9ad49d57ffbb90c"
|
35
|
+
Cache-Control:
|
36
|
+
- max-age=0, private, must-revalidate
|
37
|
+
X-Request-Id:
|
38
|
+
- 25abea88-6898-4afd-88f9-3211bf80097b
|
39
|
+
X-Runtime:
|
40
|
+
- '0.432554'
|
41
|
+
Vary:
|
42
|
+
- Origin
|
43
|
+
X-Ratelimit-Limit:
|
44
|
+
- '10'
|
45
|
+
X-Ratelimit-Remaining:
|
46
|
+
- '7'
|
47
|
+
Content-Security-Policy:
|
48
|
+
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
49
|
+
connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
|
50
|
+
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
|
51
|
+
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
52
|
+
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
53
|
+
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
54
|
+
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
55
|
+
X-Content-Type-Options:
|
56
|
+
- nosniff
|
57
|
+
X-Download-Options:
|
58
|
+
- noopen
|
59
|
+
X-Frame-Options:
|
60
|
+
- DENY
|
61
|
+
X-Permitted-Cross-Domain-Policies:
|
62
|
+
- none
|
63
|
+
X-Xss-Protection:
|
64
|
+
- 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
|
+
Transfer-Encoding:
|
74
|
+
- chunked
|
75
|
+
body:
|
76
|
+
encoding: ASCII-8BIT
|
77
|
+
string: '{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}'
|
78
|
+
http_version:
|
79
|
+
recorded_at: Mon, 09 Oct 2017 14:26:27 GMT
|
80
|
+
- request:
|
81
|
+
method: get
|
82
|
+
uri: https://api.bugsnag.com/projects/BUGSNAG_PROJECT_ID/collaborators
|
83
|
+
body:
|
84
|
+
encoding: US-ASCII
|
85
|
+
string: ''
|
86
|
+
headers:
|
87
|
+
User-Agent:
|
88
|
+
- Bugsnag API Ruby Gem 1.0.3
|
89
|
+
Content-Type:
|
90
|
+
- application/json
|
91
|
+
X-Version:
|
92
|
+
- '2'
|
93
|
+
Authorization:
|
94
|
+
- token BUGSNAG_AUTH_TOKEN
|
95
|
+
Accept-Encoding:
|
96
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
97
|
+
Accept:
|
98
|
+
- "*/*"
|
99
|
+
response:
|
100
|
+
status:
|
101
|
+
code: 200
|
102
|
+
message: OK
|
103
|
+
headers:
|
104
|
+
Server:
|
105
|
+
- nginx
|
106
|
+
Date:
|
107
|
+
- Mon, 09 Oct 2017 14:26:29 GMT
|
108
|
+
Content-Type:
|
109
|
+
- application/json; charset=utf-8
|
110
|
+
X-Total-Count:
|
111
|
+
- '4'
|
112
|
+
Etag:
|
113
|
+
- W/"7505bd5ca5daa26778d42ef1ba2a5643"
|
114
|
+
Cache-Control:
|
115
|
+
- max-age=0, private, must-revalidate
|
116
|
+
X-Request-Id:
|
117
|
+
- d9c26df7-6a53-4eda-9181-679809e766ab
|
118
|
+
X-Runtime:
|
119
|
+
- '0.318867'
|
120
|
+
Vary:
|
121
|
+
- Origin
|
122
|
+
X-Ratelimit-Limit:
|
123
|
+
- '10'
|
124
|
+
X-Ratelimit-Remaining:
|
125
|
+
- '6'
|
126
|
+
Content-Security-Policy:
|
127
|
+
- 'default-src ''self''; child-src https://*.stripe.com headway-widget.net;
|
128
|
+
connect-src ''self'' https://api.bugsnag.com https://*.stripe.com https://bugsnag.zendesk.com
|
129
|
+
https://api.lever.co; font-src ''self'' https://maxcdn.bootstrapcdn.com; img-src
|
130
|
+
''self'' data: https://notify.bugsnag.com https://*.stripe.com https://maxcdn.bootstrapcdn.com;
|
131
|
+
script-src ''self'' https://d2wy8f7a9ursnm.cloudfront.net https://*.stripe.com
|
132
|
+
https://maxcdn.bootstrapcdn.com https://code.jquery.com https://assets.zendesk.com
|
133
|
+
https://cdn.headwayapp.co; style-src ''self'' ''unsafe-inline'' https://maxcdn.bootstrapcdn.com'
|
134
|
+
X-Content-Type-Options:
|
135
|
+
- nosniff
|
136
|
+
X-Download-Options:
|
137
|
+
- noopen
|
138
|
+
X-Frame-Options:
|
139
|
+
- DENY
|
140
|
+
X-Permitted-Cross-Domain-Policies:
|
141
|
+
- none
|
142
|
+
X-Xss-Protection:
|
143
|
+
- 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
|
+
Transfer-Encoding:
|
153
|
+
- chunked
|
154
|
+
body:
|
155
|
+
encoding: ASCII-8BIT
|
156
|
+
string: '[{"id":"59afc14140ab4d001de9d7f0","name":null,"email":"BUGSNAG_COLLABORATOR_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T09:34:57.068Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afc14140ab4d001de9d7f0/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59afb2e65710a800203768ab","name":null,"email":"\u003cbugsnag_collabortator_email\u003e","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-06T08:33:42.545Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59afb2e65710a800203768ab/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":false,"pending_invitation":true,"last_request_at":null,"project_ids":["BUGSNAG_PROJECT_ID"],"paid_for":false},{"id":"59ae67b68a0558001a351bcb","name":"AlexTestsM","email":"BUGSNAG_USER_EMAIL","two_factor_enabled":false,"two_factor_enabled_on":null,"password_updated_on":"2017-09-05T09:04:10.936Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59ae67b68a0558001a351bcb/projects","heroku":false,"recovery_codes_remaining":0,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:26:29.269Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false},{"id":"59844ed2a2ebdd0022a938d3","name":"Alexander
|
157
|
+
Moinet","email":"alex@bugsnag.com","two_factor_enabled":true,"two_factor_enabled_on":"2017-09-05T08:56:21.730Z","password_updated_on":"2017-08-14T10:12:26.692Z","show_time_in_utc":true,"projects_url":"https://api.bugsnag.com/users/59844ed2a2ebdd0022a938d3/projects","heroku":false,"recovery_codes_remaining":5,"is_admin":true,"pending_invitation":false,"last_request_at":"2017-10-09T14:18:45.021Z","project_ids":["BUGSNAG_PROJECT_ID","59afb2f8d0e0b8001971def9","59afb2fad0e0b8001e71e05f","59afb2fbbf058b001e55ef61","59afc13ebf058b001e56358a","59afc168bf058b0023562dae","59b01c8cd0e0b8001972b987","59b01c8dd0e0b8001e72b5c8","59b01c8fd0e0b8001972b989","59b01cc3d0e0b8001e72b5ca","59b01cc4d0e0b80023727b93","59b01cc540ab4d001dea69ff","59b01cc9d0e0b8001972ba0b","59db4efc562ced00221047b9","59db858e562ced00271092cd","59db8590c1951b0026d5a314","59db8593c1951b0026d5a316","59db8594562ced002210765c"],"paid_for":false}]'
|
158
|
+
http_version:
|
159
|
+
recorded_at: Mon, 09 Oct 2017 14:26:28 GMT
|
160
|
+
recorded_with: VCR 2.9.3
|