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
data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_project_on_an_account.yml
DELETED
@@ -1,50 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/accounts/<BUGSNAG_ACCOUNT_ID>/projects
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"name":"Example"}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem 1.0.0
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- '*/*'
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 201
|
21
|
-
message: Created
|
22
|
-
headers:
|
23
|
-
X-Frame-Options:
|
24
|
-
- SAMEORIGIN
|
25
|
-
X-Xss-Protection:
|
26
|
-
- 1; mode=block
|
27
|
-
X-Content-Type-Options:
|
28
|
-
- nosniff
|
29
|
-
Location:
|
30
|
-
- https://api.bugsnag.com/projects/5405303c646573a55900001a
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
Etag:
|
34
|
-
- '"b4d21eefa68ec6cee2432340b79a0f40"'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0, private, must-revalidate
|
37
|
-
X-Request-Id:
|
38
|
-
- 52d515ed-15d4-4a03-b94b-9486953fc023
|
39
|
-
X-Runtime:
|
40
|
-
- '0.133453'
|
41
|
-
Date:
|
42
|
-
- Tue, 02 Sep 2014 02:49:32 GMT
|
43
|
-
Connection:
|
44
|
-
- close
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '{"id":"5405303c646573a55900001a","name":"Example","type":"other","created_at":"2014-09-02T02:49:32.800Z","updated_at":"2014-09-02T02:49:32.800Z","release_stages":[],"api_key":"37d671bec6d4290b9c194d42749c16d9","errors":0,"url":"https://api.bugsnag.com/projects/5405303c646573a55900001a","errors_url":"https://api.bugsnag.com/projects/5405303c646573a55900001a/errors","events_url":"https://api.bugsnag.com/projects/5405303c646573a55900001a/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-44","icon":"http://bugsnag.dev/assets/frameworks/other.png"}'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Tue, 02 Sep 2014 02:49:32 GMT
|
50
|
-
recorded_with: VCR 2.9.2
|
data/spec/cassettes/Bugsnag_Api_Client_Projects/_user_projects/returns_all_projects_for_a_user.yml
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/users/<BUGSNAG_USER_ID>/projects
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem 1.0.0
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- '*/*'
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
X-Frame-Options:
|
24
|
-
- SAMEORIGIN
|
25
|
-
X-Xss-Protection:
|
26
|
-
- 1; mode=block
|
27
|
-
X-Content-Type-Options:
|
28
|
-
- nosniff
|
29
|
-
Link:
|
30
|
-
- <https://api.bugsnag.com/users/<BUGSNAG_USER_ID>/projects?direction=desc&offset=5404f2a364657377ae0000ad&per_page=30&sort=created_at>;
|
31
|
-
rel="next"
|
32
|
-
Content-Type:
|
33
|
-
- application/json; charset=utf-8
|
34
|
-
Etag:
|
35
|
-
- '"062bf83e35805172fb260f1eb1ad7d55"'
|
36
|
-
Cache-Control:
|
37
|
-
- max-age=0, private, must-revalidate
|
38
|
-
X-Request-Id:
|
39
|
-
- ec1585e8-99c9-4cf3-923f-d216b7e7311e
|
40
|
-
X-Runtime:
|
41
|
-
- '0.588697'
|
42
|
-
Date:
|
43
|
-
- Tue, 02 Sep 2014 02:49:33 GMT
|
44
|
-
Connection:
|
45
|
-
- close
|
46
|
-
body:
|
47
|
-
encoding: UTF-8
|
48
|
-
string: '[{"id":"5405303c646573a55900001a","name":"Example","type":"other","created_at":"2014-09-02T02:49:32.800Z","updated_at":"2014-09-02T02:49:32.800Z","release_stages":[],"api_key":"37d671bec6d4290b9c194d42749c16d9","errors":0,"url":"https://api.bugsnag.com/projects/5405303c646573a55900001a","errors_url":"https://api.bugsnag.com/projects/5405303c646573a55900001a/errors","events_url":"https://api.bugsnag.com/projects/5405303c646573a55900001a/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-44","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"54053013646573a55900000b","name":"Example","type":"other","created_at":"2014-09-02T02:48:51.151Z","updated_at":"2014-09-02T02:48:51.151Z","release_stages":[],"api_key":"de2eb797753512efa7df31fe769f3383","errors":0,"url":"https://api.bugsnag.com/projects/54053013646573a55900000b","errors_url":"https://api.bugsnag.com/projects/54053013646573a55900000b/errors","events_url":"https://api.bugsnag.com/projects/54053013646573a55900000b/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-43","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"54053011646573a559000009","name":"New
|
49
|
-
project name","type":"other","created_at":"2014-09-02T02:48:49.597Z","updated_at":"2014-09-02T02:48:49.741Z","release_stages":[],"api_key":"b3fb3256a08ab8ee130b1da962670558","errors":0,"url":"https://api.bugsnag.com/projects/54053011646573a559000009","errors_url":"https://api.bugsnag.com/projects/54053011646573a559000009/errors","events_url":"https://api.bugsnag.com/projects/54053011646573a559000009/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-8","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"54053011646573a559000007","name":"Example","type":"other","created_at":"2014-09-02T02:48:49.310Z","updated_at":"2014-09-02T02:48:49.310Z","release_stages":[],"api_key":"1333cc6bff16c0569a15e432bd0ffb37","errors":0,"url":"https://api.bugsnag.com/projects/54053011646573a559000007","errors_url":"https://api.bugsnag.com/projects/54053011646573a559000007/errors","events_url":"https://api.bugsnag.com/projects/54053011646573a559000007/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-41","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5405022064657392d2000060","name":"New
|
50
|
-
project name","type":"other","created_at":"2014-09-01T23:32:48.793Z","updated_at":"2014-09-01T23:32:48.943Z","release_stages":[],"api_key":"bcb0cff6ade96ec6ff056fa25991cafc","errors":0,"url":"https://api.bugsnag.com/projects/5405022064657392d2000060","errors_url":"https://api.bugsnag.com/projects/5405022064657392d2000060/errors","events_url":"https://api.bugsnag.com/projects/5405022064657392d2000060/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-7","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5405022064657392d200005c","name":"Example","type":"other","created_at":"2014-09-01T23:32:48.263Z","updated_at":"2014-09-01T23:32:48.263Z","release_stages":[],"api_key":"268546df26fa6fe09bb39370979d3189","errors":0,"url":"https://api.bugsnag.com/projects/5405022064657392d200005c","errors_url":"https://api.bugsnag.com/projects/5405022064657392d200005c/errors","events_url":"https://api.bugsnag.com/projects/5405022064657392d200005c/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-37","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5405022064657392d200005a","name":"Example","type":"other","created_at":"2014-09-01T23:32:48.113Z","updated_at":"2014-09-01T23:32:48.113Z","release_stages":[],"api_key":"57aa60eb3c222a68548790f964cf7440","errors":0,"url":"https://api.bugsnag.com/projects/5405022064657392d200005a","errors_url":"https://api.bugsnag.com/projects/5405022064657392d200005a/errors","events_url":"https://api.bugsnag.com/projects/5405022064657392d200005a/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-36","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"540500ab64657392d200004a","name":"Example","type":"other","created_at":"2014-09-01T23:26:35.548Z","updated_at":"2014-09-01T23:26:35.548Z","release_stages":[],"api_key":"ec49611a3378463db857644379c071ee","errors":0,"url":"https://api.bugsnag.com/projects/540500ab64657392d200004a","errors_url":"https://api.bugsnag.com/projects/540500ab64657392d200004a/errors","events_url":"https://api.bugsnag.com/projects/540500ab64657392d200004a/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-35","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"540500ab64657392d2000046","name":"Example","type":"other","created_at":"2014-09-01T23:26:35.024Z","updated_at":"2014-09-01T23:26:35.024Z","release_stages":[],"api_key":"7f1308cd37cc18772045ba6ee7de3a13","errors":0,"url":"https://api.bugsnag.com/projects/540500ab64657392d2000046","errors_url":"https://api.bugsnag.com/projects/540500ab64657392d2000046/errors","events_url":"https://api.bugsnag.com/projects/540500ab64657392d2000046/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-33","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"540500aa64657392d2000044","name":"New
|
51
|
-
project name","type":"other","created_at":"2014-09-01T23:26:34.711Z","updated_at":"2014-09-01T23:26:34.855Z","release_stages":[],"api_key":"5fee4fcc1d57ea24a1b7747ddfa15813","errors":0,"url":"https://api.bugsnag.com/projects/540500aa64657392d2000044","errors_url":"https://api.bugsnag.com/projects/540500aa64657392d2000044/errors","events_url":"https://api.bugsnag.com/projects/540500aa64657392d2000044/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-6","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe7d64657392d200003e","name":"Example","type":"other","created_at":"2014-09-01T23:17:17.776Z","updated_at":"2014-09-01T23:17:17.776Z","release_stages":[],"api_key":"23a14cd898a8286f34b9eada14a0ba75","errors":0,"url":"https://api.bugsnag.com/projects/5404fe7d64657392d200003e","errors_url":"https://api.bugsnag.com/projects/5404fe7d64657392d200003e/errors","events_url":"https://api.bugsnag.com/projects/5404fe7d64657392d200003e/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-31","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe7c64657392d200003c","name":"New
|
52
|
-
project name","type":"other","created_at":"2014-09-01T23:17:16.479Z","updated_at":"2014-09-01T23:17:16.633Z","release_stages":[],"api_key":"d3c3c8165d5ae607e07db92c72fa585f","errors":0,"url":"https://api.bugsnag.com/projects/5404fe7c64657392d200003c","errors_url":"https://api.bugsnag.com/projects/5404fe7c64657392d200003c/errors","events_url":"https://api.bugsnag.com/projects/5404fe7c64657392d200003c/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-5","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe7c64657392d200003a","name":"Example","type":"other","created_at":"2014-09-01T23:17:16.184Z","updated_at":"2014-09-01T23:17:16.184Z","release_stages":[],"api_key":"a7f480b542e9dc5408d000844c207d8d","errors":0,"url":"https://api.bugsnag.com/projects/5404fe7c64657392d200003a","errors_url":"https://api.bugsnag.com/projects/5404fe7c64657392d200003a/errors","events_url":"https://api.bugsnag.com/projects/5404fe7c64657392d200003a/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-29","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe5f64657392d2000028","name":"Example","type":"other","created_at":"2014-09-01T23:16:47.430Z","updated_at":"2014-09-01T23:16:47.430Z","release_stages":[],"api_key":"912025b71b986bd74573ebdbec9e66c7","errors":0,"url":"https://api.bugsnag.com/projects/5404fe5f64657392d2000028","errors_url":"https://api.bugsnag.com/projects/5404fe5f64657392d2000028/errors","events_url":"https://api.bugsnag.com/projects/5404fe5f64657392d2000028/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-27","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe5f64657392d2000026","name":"Example","type":"other","created_at":"2014-09-01T23:16:47.146Z","updated_at":"2014-09-01T23:16:47.146Z","release_stages":[],"api_key":"419645b497f2a8c89fcd7abaad5f6c10","errors":0,"url":"https://api.bugsnag.com/projects/5404fe5f64657392d2000026","errors_url":"https://api.bugsnag.com/projects/5404fe5f64657392d2000026/errors","events_url":"https://api.bugsnag.com/projects/5404fe5f64657392d2000026/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-26","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe5e64657392d2000024","name":"New
|
53
|
-
project name","type":"other","created_at":"2014-09-01T23:16:46.838Z","updated_at":"2014-09-01T23:16:46.993Z","release_stages":[],"api_key":"b4bb159828be65636162a891f774f3e3","errors":0,"url":"https://api.bugsnag.com/projects/5404fe5e64657392d2000024","errors_url":"https://api.bugsnag.com/projects/5404fe5e64657392d2000024/errors","events_url":"https://api.bugsnag.com/projects/5404fe5e64657392d2000024/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-4","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe2c64657392d2000017","name":"Example","type":"other","created_at":"2014-09-01T23:15:56.161Z","updated_at":"2014-09-01T23:15:56.161Z","release_stages":[],"api_key":"38068ee0ec7b213d1ce67dec2714a989","errors":0,"url":"https://api.bugsnag.com/projects/5404fe2c64657392d2000017","errors_url":"https://api.bugsnag.com/projects/5404fe2c64657392d2000017/errors","events_url":"https://api.bugsnag.com/projects/5404fe2c64657392d2000017/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-23","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe2b64657392d2000015","name":"New
|
54
|
-
project name","type":"other","created_at":"2014-09-01T23:15:55.842Z","updated_at":"2014-09-01T23:15:56.011Z","release_stages":[],"api_key":"e8ac3d90c39dbe02099f6a38dbc3f94e","errors":0,"url":"https://api.bugsnag.com/projects/5404fe2b64657392d2000015","errors_url":"https://api.bugsnag.com/projects/5404fe2b64657392d2000015/errors","events_url":"https://api.bugsnag.com/projects/5404fe2b64657392d2000015/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-3","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fe2a64657392d2000011","name":"Example","type":"other","created_at":"2014-09-01T23:15:54.254Z","updated_at":"2014-09-01T23:15:54.254Z","release_stages":[],"api_key":"7e64544fdb68a612f6137fe222e62b84","errors":0,"url":"https://api.bugsnag.com/projects/5404fe2a64657392d2000011","errors_url":"https://api.bugsnag.com/projects/5404fe2a64657392d2000011/errors","events_url":"https://api.bugsnag.com/projects/5404fe2a64657392d2000011/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-20","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fdd164657392d200000f","name":"Example","type":"other","created_at":"2014-09-01T23:14:25.366Z","updated_at":"2014-09-01T23:14:25.366Z","release_stages":[],"api_key":"0c08a9591215d1dfe01a54267efe6eb1","errors":0,"url":"https://api.bugsnag.com/projects/5404fdd164657392d200000f","errors_url":"https://api.bugsnag.com/projects/5404fdd164657392d200000f/errors","events_url":"https://api.bugsnag.com/projects/5404fdd164657392d200000f/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-19","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fdd164657392d200000d","name":"New
|
55
|
-
project name","type":"other","created_at":"2014-09-01T23:14:25.072Z","updated_at":"2014-09-01T23:14:25.216Z","release_stages":[],"api_key":"c27a5bee5dcddd4d6532506206d97f31","errors":0,"url":"https://api.bugsnag.com/projects/5404fdd164657392d200000d","errors_url":"https://api.bugsnag.com/projects/5404fdd164657392d200000d/errors","events_url":"https://api.bugsnag.com/projects/5404fdd164657392d200000d/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-2","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404fdcf64657392d2000009","name":"Example","type":"other","created_at":"2014-09-01T23:14:23.613Z","updated_at":"2014-09-01T23:14:23.613Z","release_stages":[],"api_key":"bb4221edf193842fdd58d7fff48571dc","errors":0,"url":"https://api.bugsnag.com/projects/5404fdcf64657392d2000009","errors_url":"https://api.bugsnag.com/projects/5404fdcf64657392d2000009/errors","events_url":"https://api.bugsnag.com/projects/5404fdcf64657392d2000009/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-16","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f48764657377ae0000c2","name":"New
|
56
|
-
project name","type":"other","created_at":"2014-09-01T22:34:47.326Z","updated_at":"2014-09-01T22:34:47.470Z","release_stages":[],"api_key":"d6ed73132c00716ab941a3c1210f19dc","errors":0,"url":"https://api.bugsnag.com/projects/5404f48764657377ae0000c2","errors_url":"https://api.bugsnag.com/projects/5404f48764657377ae0000c2/errors","events_url":"https://api.bugsnag.com/projects/5404f48764657377ae0000c2/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-1","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f48664657377ae0000be","name":"Example","type":"other","created_at":"2014-09-01T22:34:46.800Z","updated_at":"2014-09-01T22:34:46.800Z","release_stages":[],"api_key":"09ba263b1208979778483c0b883959b2","errors":0,"url":"https://api.bugsnag.com/projects/5404f48664657377ae0000be","errors_url":"https://api.bugsnag.com/projects/5404f48664657377ae0000be/errors","events_url":"https://api.bugsnag.com/projects/5404f48664657377ae0000be/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-13","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f48664657377ae0000bc","name":"Example","type":"other","created_at":"2014-09-01T22:34:46.334Z","updated_at":"2014-09-01T22:34:46.334Z","release_stages":[],"api_key":"336e7604b06a0fb151eaf27948e31a3e","errors":0,"url":"https://api.bugsnag.com/projects/5404f48664657377ae0000bc","errors_url":"https://api.bugsnag.com/projects/5404f48664657377ae0000bc/errors","events_url":"https://api.bugsnag.com/projects/5404f48664657377ae0000bc/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-12","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f38764657377ae0000ba","name":"Example","type":"other","created_at":"2014-09-01T22:30:31.694Z","updated_at":"2014-09-01T22:30:31.694Z","release_stages":[],"api_key":"0eb284756368a6452eb2be0b00fb78e3","errors":0,"url":"https://api.bugsnag.com/projects/5404f38764657377ae0000ba","errors_url":"https://api.bugsnag.com/projects/5404f38764657377ae0000ba/errors","events_url":"https://api.bugsnag.com/projects/5404f38764657377ae0000ba/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-11","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f38764657377ae0000b8","name":"New
|
57
|
-
project name","type":"other","created_at":"2014-09-01T22:30:31.410Z","updated_at":"2014-09-01T22:30:31.549Z","release_stages":[],"api_key":"f5238ccbd6e65babc579e58530fb7b88","errors":0,"url":"https://api.bugsnag.com/projects/5404f38764657377ae0000b8","errors_url":"https://api.bugsnag.com/projects/5404f38764657377ae0000b8/errors","events_url":"https://api.bugsnag.com/projects/5404f38764657377ae0000b8/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f38664657377ae0000b4","name":"Example","type":"other","created_at":"2014-09-01T22:30:30.403Z","updated_at":"2014-09-01T22:30:30.403Z","release_stages":[],"api_key":"7e1d58c9fda05c83c51ba1283a669612","errors":0,"url":"https://api.bugsnag.com/projects/5404f38664657377ae0000b4","errors_url":"https://api.bugsnag.com/projects/5404f38664657377ae0000b4/errors","events_url":"https://api.bugsnag.com/projects/5404f38664657377ae0000b4/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-8","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f2a464657377ae0000b1","name":"Baron
|
58
|
-
Leuschke","type":"other","created_at":"2014-09-01T22:26:44.210Z","updated_at":"2014-09-01T22:26:44.606Z","release_stages":[],"api_key":"55d1d7a8848c757cf1cd206ba1e92165","errors":0,"url":"https://api.bugsnag.com/projects/5404f2a464657377ae0000b1","errors_url":"https://api.bugsnag.com/projects/5404f2a464657377ae0000b1/errors","events_url":"https://api.bugsnag.com/projects/5404f2a464657377ae0000b1/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/baron-leuschke","icon":"http://bugsnag.dev/assets/frameworks/other.png"},{"id":"5404f2a364657377ae0000ad","name":"Example","type":"other","created_at":"2014-09-01T22:26:43.661Z","updated_at":"2014-09-01T22:26:43.661Z","release_stages":[],"api_key":"ac6eba5995ab3c039a12fa8d3fb30e78","errors":0,"url":"https://api.bugsnag.com/projects/5404f2a364657377ae0000ad","errors_url":"https://api.bugsnag.com/projects/5404f2a364657377ae0000ad/errors","events_url":"https://api.bugsnag.com/projects/5404f2a364657377ae0000ad/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-5","icon":"http://bugsnag.dev/assets/frameworks/other.png"}]'
|
59
|
-
http_version:
|
60
|
-
recorded_at: Tue, 02 Sep 2014 02:49:33 GMT
|
61
|
-
recorded_with: VCR 2.9.2
|
@@ -1,91 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/accounts/<BUGSNAG_ACCOUNT_ID>/projects
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"name":"Example"}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem 1.0.0
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- '*/*'
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 201
|
21
|
-
message: Created
|
22
|
-
headers:
|
23
|
-
X-Frame-Options:
|
24
|
-
- SAMEORIGIN
|
25
|
-
X-Xss-Protection:
|
26
|
-
- 1; mode=block
|
27
|
-
X-Content-Type-Options:
|
28
|
-
- nosniff
|
29
|
-
Location:
|
30
|
-
- https://api.bugsnag.com/projects/5405303d646573a55900001e
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
Etag:
|
34
|
-
- '"8ed8cc783377b7a1d53ab17cb553a6cc"'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0, private, must-revalidate
|
37
|
-
X-Request-Id:
|
38
|
-
- bc9f0d6c-3864-4091-97a7-09a3116e0710
|
39
|
-
X-Runtime:
|
40
|
-
- '0.133712'
|
41
|
-
Date:
|
42
|
-
- Tue, 02 Sep 2014 02:49:33 GMT
|
43
|
-
Connection:
|
44
|
-
- close
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '{"id":"5405303d646573a55900001e","name":"Example","type":"other","created_at":"2014-09-02T02:49:33.887Z","updated_at":"2014-09-02T02:49:33.887Z","release_stages":[],"api_key":"8addb629c59a43640dc84c0e3fd8f64f","errors":0,"url":"https://api.bugsnag.com/projects/5405303d646573a55900001e","errors_url":"https://api.bugsnag.com/projects/5405303d646573a55900001e/errors","events_url":"https://api.bugsnag.com/projects/5405303d646573a55900001e/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-46","icon":"http://bugsnag.dev/assets/frameworks/other.png"}'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Tue, 02 Sep 2014 02:49:33 GMT
|
50
|
-
- request:
|
51
|
-
method: delete
|
52
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/projects/5405303d646573a55900001e
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{}'
|
56
|
-
headers:
|
57
|
-
User-Agent:
|
58
|
-
- Bugsnag API Ruby Gem 1.0.0
|
59
|
-
Content-Type:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
63
|
-
Accept:
|
64
|
-
- '*/*'
|
65
|
-
response:
|
66
|
-
status:
|
67
|
-
code: 204
|
68
|
-
message: No Content
|
69
|
-
headers:
|
70
|
-
X-Frame-Options:
|
71
|
-
- SAMEORIGIN
|
72
|
-
X-Xss-Protection:
|
73
|
-
- 1; mode=block
|
74
|
-
X-Content-Type-Options:
|
75
|
-
- nosniff
|
76
|
-
Cache-Control:
|
77
|
-
- no-cache
|
78
|
-
X-Request-Id:
|
79
|
-
- 498e44cf-2907-463a-a80f-12fd231d8afa
|
80
|
-
X-Runtime:
|
81
|
-
- '0.082773'
|
82
|
-
Date:
|
83
|
-
- Tue, 02 Sep 2014 02:49:34 GMT
|
84
|
-
Connection:
|
85
|
-
- close
|
86
|
-
body:
|
87
|
-
encoding: UTF-8
|
88
|
-
string: ''
|
89
|
-
http_version:
|
90
|
-
recorded_at: Tue, 02 Sep 2014 02:49:34 GMT
|
91
|
-
recorded_with: VCR 2.9.2
|
@@ -1,95 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/accounts/<BUGSNAG_ACCOUNT_ID>/projects
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"name":"Example"}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem 1.0.0
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- '*/*'
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 201
|
21
|
-
message: Created
|
22
|
-
headers:
|
23
|
-
X-Frame-Options:
|
24
|
-
- SAMEORIGIN
|
25
|
-
X-Xss-Protection:
|
26
|
-
- 1; mode=block
|
27
|
-
X-Content-Type-Options:
|
28
|
-
- nosniff
|
29
|
-
Location:
|
30
|
-
- https://api.bugsnag.com/projects/5405303e646573a559000020
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
Etag:
|
34
|
-
- '"335125519a0789b8c49d03846759ee5c"'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0, private, must-revalidate
|
37
|
-
X-Request-Id:
|
38
|
-
- 96277b47-467c-4975-8b4d-ccad599d119f
|
39
|
-
X-Runtime:
|
40
|
-
- '0.133943'
|
41
|
-
Date:
|
42
|
-
- Tue, 02 Sep 2014 02:49:34 GMT
|
43
|
-
Connection:
|
44
|
-
- close
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '{"id":"5405303e646573a559000020","name":"Example","type":"other","created_at":"2014-09-02T02:49:34.132Z","updated_at":"2014-09-02T02:49:34.132Z","release_stages":[],"api_key":"341518c5e3e53a6ba496e8b41557bd8b","errors":0,"url":"https://api.bugsnag.com/projects/5405303e646573a559000020","errors_url":"https://api.bugsnag.com/projects/5405303e646573a559000020/errors","events_url":"https://api.bugsnag.com/projects/5405303e646573a559000020/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-47","icon":"http://bugsnag.dev/assets/frameworks/other.png"}'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Tue, 02 Sep 2014 02:49:34 GMT
|
50
|
-
- request:
|
51
|
-
method: get
|
52
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/projects/5405303e646573a559000020
|
53
|
-
body:
|
54
|
-
encoding: US-ASCII
|
55
|
-
string: ''
|
56
|
-
headers:
|
57
|
-
User-Agent:
|
58
|
-
- Bugsnag API Ruby Gem 1.0.0
|
59
|
-
Content-Type:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
63
|
-
Accept:
|
64
|
-
- '*/*'
|
65
|
-
response:
|
66
|
-
status:
|
67
|
-
code: 200
|
68
|
-
message: OK
|
69
|
-
headers:
|
70
|
-
X-Frame-Options:
|
71
|
-
- SAMEORIGIN
|
72
|
-
X-Xss-Protection:
|
73
|
-
- 1; mode=block
|
74
|
-
X-Content-Type-Options:
|
75
|
-
- nosniff
|
76
|
-
Content-Type:
|
77
|
-
- application/json; charset=utf-8
|
78
|
-
Etag:
|
79
|
-
- '"335125519a0789b8c49d03846759ee5c"'
|
80
|
-
Cache-Control:
|
81
|
-
- max-age=0, private, must-revalidate
|
82
|
-
X-Request-Id:
|
83
|
-
- b986a49d-6c68-4cf2-9e09-acfc5ab4261e
|
84
|
-
X-Runtime:
|
85
|
-
- '0.116603'
|
86
|
-
Date:
|
87
|
-
- Tue, 02 Sep 2014 02:49:34 GMT
|
88
|
-
Connection:
|
89
|
-
- close
|
90
|
-
body:
|
91
|
-
encoding: UTF-8
|
92
|
-
string: '{"id":"5405303e646573a559000020","name":"Example","type":"other","created_at":"2014-09-02T02:49:34.132Z","updated_at":"2014-09-02T02:49:34.132Z","release_stages":[],"api_key":"341518c5e3e53a6ba496e8b41557bd8b","errors":0,"url":"https://api.bugsnag.com/projects/5405303e646573a559000020","errors_url":"https://api.bugsnag.com/projects/5405303e646573a559000020/errors","events_url":"https://api.bugsnag.com/projects/5405303e646573a559000020/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-47","icon":"http://bugsnag.dev/assets/frameworks/other.png"}'
|
93
|
-
http_version:
|
94
|
-
recorded_at: Tue, 02 Sep 2014 02:49:34 GMT
|
95
|
-
recorded_with: VCR 2.9.2
|
@@ -1,95 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/accounts/<BUGSNAG_ACCOUNT_ID>/projects
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"name":"Example"}'
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem 1.0.0
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- '*/*'
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 201
|
21
|
-
message: Created
|
22
|
-
headers:
|
23
|
-
X-Frame-Options:
|
24
|
-
- SAMEORIGIN
|
25
|
-
X-Xss-Protection:
|
26
|
-
- 1; mode=block
|
27
|
-
X-Content-Type-Options:
|
28
|
-
- nosniff
|
29
|
-
Location:
|
30
|
-
- https://api.bugsnag.com/projects/5405303d646573a55900001c
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
Etag:
|
34
|
-
- '"46abfc9ce482fc5089cd1d891ffcb1ae"'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0, private, must-revalidate
|
37
|
-
X-Request-Id:
|
38
|
-
- d6671d4d-ae87-42b2-9f80-e69451634ae3
|
39
|
-
X-Runtime:
|
40
|
-
- '0.138510'
|
41
|
-
Date:
|
42
|
-
- Tue, 02 Sep 2014 02:49:33 GMT
|
43
|
-
Connection:
|
44
|
-
- close
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '{"id":"5405303d646573a55900001c","name":"Example","type":"other","created_at":"2014-09-02T02:49:33.596Z","updated_at":"2014-09-02T02:49:33.596Z","release_stages":[],"api_key":"ada3e64667cad729b8077bccec86e8be","errors":0,"url":"https://api.bugsnag.com/projects/5405303d646573a55900001c","errors_url":"https://api.bugsnag.com/projects/5405303d646573a55900001c/errors","events_url":"https://api.bugsnag.com/projects/5405303d646573a55900001c/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/example-45","icon":"http://bugsnag.dev/assets/frameworks/other.png"}'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Tue, 02 Sep 2014 02:49:33 GMT
|
50
|
-
- request:
|
51
|
-
method: patch
|
52
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/projects/5405303d646573a55900001c
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"name":"New project name"}'
|
56
|
-
headers:
|
57
|
-
User-Agent:
|
58
|
-
- Bugsnag API Ruby Gem 1.0.0
|
59
|
-
Content-Type:
|
60
|
-
- application/json
|
61
|
-
Accept-Encoding:
|
62
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
63
|
-
Accept:
|
64
|
-
- '*/*'
|
65
|
-
response:
|
66
|
-
status:
|
67
|
-
code: 200
|
68
|
-
message: OK
|
69
|
-
headers:
|
70
|
-
X-Frame-Options:
|
71
|
-
- SAMEORIGIN
|
72
|
-
X-Xss-Protection:
|
73
|
-
- 1; mode=block
|
74
|
-
X-Content-Type-Options:
|
75
|
-
- nosniff
|
76
|
-
Content-Type:
|
77
|
-
- application/json; charset=utf-8
|
78
|
-
Etag:
|
79
|
-
- '"548747dbad561d14be17b91007391b8c"'
|
80
|
-
Cache-Control:
|
81
|
-
- max-age=0, private, must-revalidate
|
82
|
-
X-Request-Id:
|
83
|
-
- c66ebc66-70c4-4cd2-a0f7-cb26f0b4977f
|
84
|
-
X-Runtime:
|
85
|
-
- '0.127956'
|
86
|
-
Date:
|
87
|
-
- Tue, 02 Sep 2014 02:49:33 GMT
|
88
|
-
Connection:
|
89
|
-
- close
|
90
|
-
body:
|
91
|
-
encoding: UTF-8
|
92
|
-
string: '{"id":"5405303d646573a55900001c","name":"New project name","type":"other","created_at":"2014-09-02T02:49:33.596Z","updated_at":"2014-09-02T02:49:33.738Z","release_stages":[],"api_key":"ada3e64667cad729b8077bccec86e8be","errors":0,"url":"https://api.bugsnag.com/projects/5405303d646573a55900001c","errors_url":"https://api.bugsnag.com/projects/5405303d646573a55900001c/errors","events_url":"https://api.bugsnag.com/projects/5405303d646573a55900001c/events","html_url":"http://bugsnag.dev/<BUGSNAG_ACCOUNT_ID>/new-project-name-9","icon":"http://bugsnag.dev/assets/frameworks/other.png"}'
|
93
|
-
http_version:
|
94
|
-
recorded_at: Tue, 02 Sep 2014 02:49:33 GMT
|
95
|
-
recorded_with: VCR 2.9.2
|
data/spec/cassettes/Bugsnag_Api_Client_Users/_account_users/returns_all_users_on_an_account.yml
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/accounts/<BUGSNAG_ACCOUNT_ID>/users
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem 1.0.0
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
-
Accept:
|
17
|
-
- '*/*'
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
X-Frame-Options:
|
24
|
-
- SAMEORIGIN
|
25
|
-
X-Xss-Protection:
|
26
|
-
- 1; mode=block
|
27
|
-
X-Content-Type-Options:
|
28
|
-
- nosniff
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
Etag:
|
32
|
-
- '"3a733fd3c2867b314fadd37f7c3ac1b5"'
|
33
|
-
Cache-Control:
|
34
|
-
- max-age=0, private, must-revalidate
|
35
|
-
X-Request-Id:
|
36
|
-
- 8a048183-5e76-4791-a88d-41d82b2ea95c
|
37
|
-
X-Runtime:
|
38
|
-
- '0.135438'
|
39
|
-
Date:
|
40
|
-
- Tue, 02 Sep 2014 02:49:28 GMT
|
41
|
-
Connection:
|
42
|
-
- close
|
43
|
-
body:
|
44
|
-
encoding: UTF-8
|
45
|
-
string: '[{"id":"5404dc9c64657377ae000009","email":"example@example.com","name":null,"gravatar_id":"23463b99b62a72f26ed677cc556c44e8","gravatar_url":"https://secure.gravatar.com/avatar/23463b99b62a72f26ed677cc556c44e8","url":"https://api.bugsnag.com/users/5404dc9c64657377ae000009","projects_url":"https://api.bugsnag.com/users/5404dc9c64657377ae000009/projects","account_admin":true,"html_url":"http://bugsnag.dev/accounts/test-account/collaborators/5404dc9c64657377ae000009/edit"},{"id":"<BUGSNAG_USER_ID>","email":"<BUGSNAG_EMAIL>","name":"James
|
46
|
-
Smith","gravatar_id":"8cbca651e77dc253a98e545590ed3387","gravatar_url":"https://secure.gravatar.com/avatar/8cbca651e77dc253a98e545590ed3387","url":"https://api.bugsnag.com/users/<BUGSNAG_USER_ID>","projects_url":"https://api.bugsnag.com/users/<BUGSNAG_USER_ID>/projects","account_admin":true,"html_url":"http://bugsnag.dev/accounts/test-account/collaborators/<BUGSNAG_USER_ID>/edit"}]'
|
47
|
-
http_version:
|
48
|
-
recorded_at: Tue, 02 Sep 2014 02:49:28 GMT
|
49
|
-
recorded_with: VCR 2.9.2
|
@@ -1,51 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.bugsnag.com/account/users
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
User-Agent:
|
11
|
-
- Bugsnag API Ruby Gem 1.0.0
|
12
|
-
Content-Type:
|
13
|
-
- application/json
|
14
|
-
Authorization:
|
15
|
-
- token <BUGSNAG_AUTH_TOKEN>
|
16
|
-
Accept-Encoding:
|
17
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
-
Accept:
|
19
|
-
- '*/*'
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
X-Frame-Options:
|
26
|
-
- SAMEORIGIN
|
27
|
-
X-Xss-Protection:
|
28
|
-
- 1; mode=block
|
29
|
-
X-Content-Type-Options:
|
30
|
-
- nosniff
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
Etag:
|
34
|
-
- '"a6733c0e281e0fab08dc9d26c5152440"'
|
35
|
-
Cache-Control:
|
36
|
-
- max-age=0, private, must-revalidate
|
37
|
-
X-Request-Id:
|
38
|
-
- 7514ca8a-4050-4acf-b7b9-357679b328fd
|
39
|
-
X-Runtime:
|
40
|
-
- '0.070611'
|
41
|
-
Date:
|
42
|
-
- Tue, 02 Sep 2014 02:49:28 GMT
|
43
|
-
Connection:
|
44
|
-
- close
|
45
|
-
body:
|
46
|
-
encoding: UTF-8
|
47
|
-
string: '[{"id":"5404dc9c64657377ae000009","email":"example@example.com","name":null,"gravatar_id":"23463b99b62a72f26ed677cc556c44e8","gravatar_url":"https://secure.gravatar.com/avatar/23463b99b62a72f26ed677cc556c44e8","account_admin":true,"url":"https://api.bugsnag.com/users/5404dc9c64657377ae000009","projects_url":"https://api.bugsnag.com/users/5404dc9c64657377ae000009/projects","html_url":"http://bugsnag.dev/accounts/test-account/collaborators/5404dc9c64657377ae000009/edit"},{"id":"<BUGSNAG_USER_ID>","email":"<BUGSNAG_EMAIL>","name":"James
|
48
|
-
Smith","gravatar_id":"8cbca651e77dc253a98e545590ed3387","gravatar_url":"https://secure.gravatar.com/avatar/8cbca651e77dc253a98e545590ed3387","account_admin":true,"url":"https://api.bugsnag.com/users/<BUGSNAG_USER_ID>","projects_url":"https://api.bugsnag.com/users/<BUGSNAG_USER_ID>/projects","html_url":"http://bugsnag.dev/accounts/test-account/collaborators/<BUGSNAG_USER_ID>/edit"}]'
|
49
|
-
http_version:
|
50
|
-
recorded_at: Tue, 02 Sep 2014 02:49:28 GMT
|
51
|
-
recorded_with: VCR 2.9.2
|