bugsnag-api 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rspec +2 -0
- data/.travis.yml +8 -0
- data/.yardopts +4 -0
- data/CHANGELOG.md +11 -0
- data/README.md +12 -4
- data/Rakefile +9 -0
- data/bugsnag-api.gemspec +5 -0
- data/lib/bugsnag/api.rb +20 -4
- data/lib/bugsnag/api/client.rb +47 -42
- data/lib/bugsnag/api/client/accounts.rb +8 -1
- data/lib/bugsnag/api/client/comments.rb +1 -1
- data/lib/bugsnag/api/client/errors.rb +1 -1
- data/lib/bugsnag/api/client/events.rb +3 -3
- data/lib/bugsnag/api/client/projects.rb +15 -4
- data/lib/bugsnag/api/client/users.rb +22 -4
- data/lib/bugsnag/api/configuration.rb +9 -6
- data/lib/bugsnag/api/error.rb +11 -1
- data/lib/bugsnag/api/version.rb +1 -1
- data/spec/bugsnag/api/client/accounts_spec.rb +45 -0
- data/spec/bugsnag/api/client/comments_spec.rb +58 -0
- data/spec/bugsnag/api/client/errors_spec.rb +69 -0
- data/spec/bugsnag/api/client/events_spec.rb +52 -0
- data/spec/bugsnag/api/client/projects_spec.rb +87 -0
- data/spec/bugsnag/api/client/users_spec.rb +105 -0
- data/spec/bugsnag/api/client_spec.rb +130 -0
- data/spec/bugsnag/api_spec.rb +44 -0
- data/spec/cassettes/Bugsnag_Api_Client/_get/handles_query_params.yml +56 -0
- data/spec/cassettes/Bugsnag_Api_Client/_last_response/caches_the_last_agent_response.yml +56 -0
- data/spec/cassettes/Bugsnag_Api_Client_Accounts/_account/returns_the_requested_account.yml +49 -0
- data/spec/cassettes/Bugsnag_Api_Client_Accounts/_account/when_using_account_credentials/returns_the_account.yml +51 -0
- data/spec/cassettes/Bugsnag_Api_Client_Accounts/_accounts/returns_all_accounts.yml +49 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/_comments/returns_all_comments_on_an_error.yml +107 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/_create_comment/created_a_comment.yml +51 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/with_comment/_comment/returns_a_comment.yml +97 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/with_comment/_delete_comment/deletes_an_existing_comment.yml +92 -0
- data/spec/cassettes/Bugsnag_Api_Client_Comments/with_comment/_update_comment/updates_an_existing_comment.yml +97 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/_errors/returns_all_errors_on_an_project.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_error/returns_an_error.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_reopen_error/reopens_the_error.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_resolve_error/resolves_the_error.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_update_error/updates_the_error.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Events/_error_events/returns_all_events_on_an_error.yml +64 -0
- data/spec/cassettes/Bugsnag_Api_Client_Events/_project_events/returns_all_events_on_a_project.yml +64 -0
- data/spec/cassettes/Bugsnag_Api_Client_Events/with_event/_event/returns_an_event.yml +56 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_account_projects/returns_all_projects_on_an_account.yml +61 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_account_projects/when_using_account_credentials/returns_all_projects.yml +63 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_project_on_an_account.yml +50 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/_user_projects/returns_all_projects_for_a_user.yml +61 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/with_project/_delete_project/deletes_an_existing_project.yml +91 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/with_project/_project/returns_a_project.yml +95 -0
- data/spec/cassettes/Bugsnag_Api_Client_Projects/with_project/_update_project/updates_an_existing_project.yml +95 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/_account_users/returns_all_users_on_an_account.yml +49 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/_account_users/when_using_account_credentials/returns_all_users.yml +51 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/_invite_user/invites_a_user_to_an_account.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/_project_users/returns_all_users_for_a_project.yml +49 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/_user/returns_a_user.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/_user/when_using_user_credentials/returns_the_authed_user.yml +48 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/with_user/_remove_user/removes_a_user_from_an_account.yml +89 -0
- data/spec/cassettes/Bugsnag_Api_Client_Users/with_user/_update_user_permissions/updates_a_users_permissions.yml +93 -0
- data/spec/spec_helper.rb +122 -0
- metadata +161 -4
data/spec/cassettes/Bugsnag_Api_Client_Errors/with_error/_resolve_error/resolves_the_error.yml
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: patch
|
5
|
+
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"resolved":true}'
|
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
|
+
- '"2c50a1e9532111895f48cd6d8ed4a85e"'
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- 602917da-147f-4be3-99e7-7c5c0ad88c28
|
37
|
+
X-Runtime:
|
38
|
+
- '0.124666'
|
39
|
+
Date:
|
40
|
+
- Tue, 02 Sep 2014 02:49:27 GMT
|
41
|
+
Connection:
|
42
|
+
- close
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"id":"<BUGSNAG_ERROR_ID>","last_message":"Bugsnag test exception","class":"RuntimeError","occurrences":2,"release_stages":{"development":2},"last_context":"rake#test_exception","resolved":true,"first_received":"2014-09-01T21:10:28.000Z","last_received":"2014-09-01T21:10:44.625Z","severity":"warning","comments":27,"app_versions":{},"url":"https://api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>","events_url":"https://api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>/events","html_url":"http://bugsnag.dev/test-account/example-dot-com/errors/<BUGSNAG_ERROR_ID>","comments_url":"https://api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>/comments"}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Tue, 02 Sep 2014 02:49:27 GMT
|
48
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: patch
|
5
|
+
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"resolved":true}'
|
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
|
+
- '"2c50a1e9532111895f48cd6d8ed4a85e"'
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- 014f5c4a-6d95-4de3-b48d-9030da1772fb
|
37
|
+
X-Runtime:
|
38
|
+
- '0.125075'
|
39
|
+
Date:
|
40
|
+
- Tue, 02 Sep 2014 02:49:27 GMT
|
41
|
+
Connection:
|
42
|
+
- close
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"id":"<BUGSNAG_ERROR_ID>","last_message":"Bugsnag test exception","class":"RuntimeError","occurrences":2,"release_stages":{"development":2},"last_context":"rake#test_exception","resolved":true,"first_received":"2014-09-01T21:10:28.000Z","last_received":"2014-09-01T21:10:44.625Z","severity":"warning","comments":27,"app_versions":{},"url":"https://api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>","events_url":"https://api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>/events","html_url":"http://bugsnag.dev/test-account/example-dot-com/errors/<BUGSNAG_ERROR_ID>","comments_url":"https://api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>/comments"}'
|
46
|
+
http_version:
|
47
|
+
recorded_at: Tue, 02 Sep 2014 02:49:27 GMT
|
48
|
+
recorded_with: VCR 2.9.2
|
data/spec/cassettes/Bugsnag_Api_Client_Events/_error_events/returns_all_events_on_an_error.yml
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/errors/<BUGSNAG_ERROR_ID>/events
|
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
|
+
- '"c0e5e8ae9c6aed38326fcfbcb5babedf"'
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- a5553fdc-7159-4ba8-84f8-14eb76753093
|
37
|
+
X-Runtime:
|
38
|
+
- '0.139534'
|
39
|
+
Date:
|
40
|
+
- Tue, 02 Sep 2014 02:49:30 GMT
|
41
|
+
Connection:
|
42
|
+
- close
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '[{"id":"5404e0d4fd9c7c077b000002","received_at":"2014-09-01T21:10:44.000Z","context":"rake#test_exception","meta_data":{"App":{"releaseStage":"development","type":"rake"},"Device":{"hostname":"destroyer.local"},"Rake
|
46
|
+
Task":{"arguments":null,"description":"Send a test exception to Bugsnag.","name":"bugsnag:test_exception"}},"severity":"warning","url":"https://api.bugsnag.com/events/5404e0d4fd9c7c077b000002","html_url":"http://bugsnag.dev/test-account/example-dot-com/errors/<BUGSNAG_ERROR_ID>?event_id=5404e0d4fd9c7c077b000002","exceptions":[{"class":"RuntimeError","message":"Bugsnag
|
47
|
+
test exception","stacktrace":[{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"call"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"block
|
48
|
+
in execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":179,"method":"block
|
49
|
+
in invoke_with_call_chain"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/monitor.rb","line":211,"method":"mon_synchronize"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":172,"method":"invoke_with_call_chain"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":165,"method":"invoke"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":150,"method":"invoke_task"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
50
|
+
(2 levels) in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
51
|
+
in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":115,"method":"run_with_threads"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":100,"method":"top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":78,"method":"block
|
52
|
+
in run"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":176,"method":"standard_exception_handling"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":75,"method":"run"},{"file":"gems/rake-10.3.2/bin/rake","line":33,"method":"<top
|
53
|
+
(required)>"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"load"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"<main>"}]}]},{"id":"<BUGSNAG_EVENT_ID>","received_at":"2014-09-01T21:10:28.000Z","context":"rake#test_exception","meta_data":{"App":{"releaseStage":"development","type":"rake"},"Device":{"hostname":"destroyer.local"},"Rake
|
54
|
+
Task":{"arguments":null,"description":"Send a test exception to Bugsnag.","name":"bugsnag:test_exception"}},"severity":"warning","url":"https://api.bugsnag.com/events/<BUGSNAG_EVENT_ID>","html_url":"http://bugsnag.dev/test-account/example-dot-com/errors/<BUGSNAG_ERROR_ID>?event_id=<BUGSNAG_EVENT_ID>","exceptions":[{"class":"RuntimeError","message":"Bugsnag
|
55
|
+
test exception","stacktrace":[{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"call"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"block
|
56
|
+
in execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":179,"method":"block
|
57
|
+
in invoke_with_call_chain"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/monitor.rb","line":211,"method":"mon_synchronize"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":172,"method":"invoke_with_call_chain"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":165,"method":"invoke"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":150,"method":"invoke_task"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
58
|
+
(2 levels) in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
59
|
+
in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":115,"method":"run_with_threads"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":100,"method":"top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":78,"method":"block
|
60
|
+
in run"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":176,"method":"standard_exception_handling"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":75,"method":"run"},{"file":"gems/rake-10.3.2/bin/rake","line":33,"method":"<top
|
61
|
+
(required)>"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"load"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"<main>"}]}]}]'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Tue, 02 Sep 2014 02:49:30 GMT
|
64
|
+
recorded_with: VCR 2.9.2
|
data/spec/cassettes/Bugsnag_Api_Client_Events/_project_events/returns_all_events_on_a_project.yml
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/projects/<BUGSNAG_PROJECT_ID>/events
|
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
|
+
- '"c0e5e8ae9c6aed38326fcfbcb5babedf"'
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- 1edd5685-fd4d-4fa1-8bd1-080f2bae7575
|
37
|
+
X-Runtime:
|
38
|
+
- '0.138125'
|
39
|
+
Date:
|
40
|
+
- Tue, 02 Sep 2014 02:49:30 GMT
|
41
|
+
Connection:
|
42
|
+
- close
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '[{"id":"5404e0d4fd9c7c077b000002","received_at":"2014-09-01T21:10:44.000Z","context":"rake#test_exception","meta_data":{"App":{"releaseStage":"development","type":"rake"},"Device":{"hostname":"destroyer.local"},"Rake
|
46
|
+
Task":{"arguments":null,"description":"Send a test exception to Bugsnag.","name":"bugsnag:test_exception"}},"severity":"warning","url":"https://api.bugsnag.com/events/5404e0d4fd9c7c077b000002","html_url":"http://bugsnag.dev/test-account/example-dot-com/errors/<BUGSNAG_ERROR_ID>?event_id=5404e0d4fd9c7c077b000002","exceptions":[{"class":"RuntimeError","message":"Bugsnag
|
47
|
+
test exception","stacktrace":[{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"call"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"block
|
48
|
+
in execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":179,"method":"block
|
49
|
+
in invoke_with_call_chain"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/monitor.rb","line":211,"method":"mon_synchronize"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":172,"method":"invoke_with_call_chain"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":165,"method":"invoke"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":150,"method":"invoke_task"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
50
|
+
(2 levels) in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
51
|
+
in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":115,"method":"run_with_threads"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":100,"method":"top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":78,"method":"block
|
52
|
+
in run"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":176,"method":"standard_exception_handling"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":75,"method":"run"},{"file":"gems/rake-10.3.2/bin/rake","line":33,"method":"<top
|
53
|
+
(required)>"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"load"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"<main>"}]}]},{"id":"<BUGSNAG_EVENT_ID>","received_at":"2014-09-01T21:10:28.000Z","context":"rake#test_exception","meta_data":{"App":{"releaseStage":"development","type":"rake"},"Device":{"hostname":"destroyer.local"},"Rake
|
54
|
+
Task":{"arguments":null,"description":"Send a test exception to Bugsnag.","name":"bugsnag:test_exception"}},"severity":"warning","url":"https://api.bugsnag.com/events/<BUGSNAG_EVENT_ID>","html_url":"http://bugsnag.dev/test-account/example-dot-com/errors/<BUGSNAG_ERROR_ID>?event_id=<BUGSNAG_EVENT_ID>","exceptions":[{"class":"RuntimeError","message":"Bugsnag
|
55
|
+
test exception","stacktrace":[{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"call"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"block
|
56
|
+
in execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":179,"method":"block
|
57
|
+
in invoke_with_call_chain"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/monitor.rb","line":211,"method":"mon_synchronize"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":172,"method":"invoke_with_call_chain"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":165,"method":"invoke"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":150,"method":"invoke_task"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
58
|
+
(2 levels) in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
59
|
+
in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":115,"method":"run_with_threads"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":100,"method":"top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":78,"method":"block
|
60
|
+
in run"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":176,"method":"standard_exception_handling"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":75,"method":"run"},{"file":"gems/rake-10.3.2/bin/rake","line":33,"method":"<top
|
61
|
+
(required)>"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"load"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"<main>"}]}]}]'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Tue, 02 Sep 2014 02:49:30 GMT
|
64
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/events/<BUGSNAG_EVENT_ID>
|
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
|
+
- '"72ad1efa31954277f4601c0c28085b43"'
|
33
|
+
Cache-Control:
|
34
|
+
- max-age=0, private, must-revalidate
|
35
|
+
X-Request-Id:
|
36
|
+
- d45b4eaa-5911-4b09-9bfc-cd78c8038c3c
|
37
|
+
X-Runtime:
|
38
|
+
- '0.120034'
|
39
|
+
Date:
|
40
|
+
- Tue, 02 Sep 2014 02:49:30 GMT
|
41
|
+
Connection:
|
42
|
+
- close
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '{"id":"<BUGSNAG_EVENT_ID>","received_at":"2014-09-01T21:10:28.000Z","context":"rake#test_exception","meta_data":{"App":{"releaseStage":"development","type":"rake"},"Device":{"hostname":"destroyer.local"},"Rake
|
46
|
+
Task":{"arguments":null,"description":"Send a test exception to Bugsnag.","name":"bugsnag:test_exception"}},"severity":"warning","url":"https://api.bugsnag.com/events/<BUGSNAG_EVENT_ID>","html_url":"http://bugsnag.dev/test-account/example-dot-com/errors/<BUGSNAG_ERROR_ID>?event_id=<BUGSNAG_EVENT_ID>","exceptions":[{"class":"RuntimeError","message":"Bugsnag
|
47
|
+
test exception","stacktrace":[{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"call"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":240,"method":"block
|
48
|
+
in execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":235,"method":"execute"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":179,"method":"block
|
49
|
+
in invoke_with_call_chain"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/monitor.rb","line":211,"method":"mon_synchronize"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":172,"method":"invoke_with_call_chain"},{"file":"gems/rake-10.3.2/lib/rake/task.rb","line":165,"method":"invoke"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":150,"method":"invoke_task"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
50
|
+
(2 levels) in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"each"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":106,"method":"block
|
51
|
+
in top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":115,"method":"run_with_threads"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":100,"method":"top_level"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":78,"method":"block
|
52
|
+
in run"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":176,"method":"standard_exception_handling"},{"file":"gems/rake-10.3.2/lib/rake/application.rb","line":75,"method":"run"},{"file":"gems/rake-10.3.2/bin/rake","line":33,"method":"<top
|
53
|
+
(required)>"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"load"},{"file":"/Users/james/.rbenv/versions/2.0.0-p353/bin/rake","line":23,"method":"<main>"}]}]}'
|
54
|
+
http_version:
|
55
|
+
recorded_at: Tue, 02 Sep 2014 02:49:30 GMT
|
56
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://<BUGSNAG_LOGIN>:<BUGSNAG_PASSWORD>@api.bugsnag.com/accounts/<BUGSNAG_ACCOUNT_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/accounts/<BUGSNAG_ACCOUNT_ID>/projects?direction=desc&offset=5404f38664657377ae0000b4&per_page=30&sort=created_at>;
|
31
|
+
rel="next"
|
32
|
+
Content-Type:
|
33
|
+
- application/json; charset=utf-8
|
34
|
+
Etag:
|
35
|
+
- '"f5fb89469d2bfd5a3c20ff9feef29f74"'
|
36
|
+
Cache-Control:
|
37
|
+
- max-age=0, private, must-revalidate
|
38
|
+
X-Request-Id:
|
39
|
+
- 171b1185-3d20-4c5f-85bd-1fdd5cd5547a
|
40
|
+
X-Runtime:
|
41
|
+
- '0.599361'
|
42
|
+
Date:
|
43
|
+
- Tue, 02 Sep 2014 02:49:34 GMT
|
44
|
+
Connection:
|
45
|
+
- close
|
46
|
+
body:
|
47
|
+
encoding: UTF-8
|
48
|
+
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"},{"id":"5405303d646573a55900001c","name":"New
|
49
|
+
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"},{"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
|
50
|
+
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
|
51
|
+
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
|
52
|
+
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
|
53
|
+
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
|
54
|
+
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
|
55
|
+
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
|
56
|
+
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
|
57
|
+
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
|
58
|
+
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"}]'
|
59
|
+
http_version:
|
60
|
+
recorded_at: Tue, 02 Sep 2014 02:49:34 GMT
|
61
|
+
recorded_with: VCR 2.9.2
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://api.bugsnag.com/account/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
|
+
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
|
+
Link:
|
32
|
+
- <https://api.bugsnag.com/accounts/<BUGSNAG_ACCOUNT_ID>/projects?direction=desc&offset=5404f38664657377ae0000b4&per_page=30&sort=created_at>;
|
33
|
+
rel="next"
|
34
|
+
Content-Type:
|
35
|
+
- application/json; charset=utf-8
|
36
|
+
Etag:
|
37
|
+
- '"f5fb89469d2bfd5a3c20ff9feef29f74"'
|
38
|
+
Cache-Control:
|
39
|
+
- max-age=0, private, must-revalidate
|
40
|
+
X-Request-Id:
|
41
|
+
- 01f1eb74-daf7-41c4-80d5-1dbe36289f03
|
42
|
+
X-Runtime:
|
43
|
+
- '0.523558'
|
44
|
+
Date:
|
45
|
+
- Tue, 02 Sep 2014 02:49:35 GMT
|
46
|
+
Connection:
|
47
|
+
- close
|
48
|
+
body:
|
49
|
+
encoding: UTF-8
|
50
|
+
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"},{"id":"5405303d646573a55900001c","name":"New
|
51
|
+
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"},{"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
|
52
|
+
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
|
53
|
+
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
|
54
|
+
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
|
55
|
+
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
|
56
|
+
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
|
57
|
+
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
|
58
|
+
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
|
59
|
+
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
|
60
|
+
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"}]'
|
61
|
+
http_version:
|
62
|
+
recorded_at: Tue, 02 Sep 2014 02:49:35 GMT
|
63
|
+
recorded_with: VCR 2.9.2
|
data/spec/cassettes/Bugsnag_Api_Client_Projects/_create_project/creates_a_project_on_an_account.yml
ADDED
@@ -0,0 +1,50 @@
|
|
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
|