cloudapp-service 1.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/CHANGELOG.md +34 -0
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +56 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +14 -0
  6. data/Rakefile +148 -0
  7. data/cloudapp-service.gemspec +115 -0
  8. data/lib/cloudapp/collection_json.rb +3 -0
  9. data/lib/cloudapp/collection_json/item.rb +20 -0
  10. data/lib/cloudapp/collection_json/representation.rb +74 -0
  11. data/lib/cloudapp/collection_json/template.rb +17 -0
  12. data/lib/cloudapp/collection_json/tint.rb +11 -0
  13. data/lib/cloudapp/service.rb +204 -0
  14. data/lib/cloudapp/service/authorized_representation.rb +17 -0
  15. data/lib/cloudapp/service/drop.rb +44 -0
  16. data/lib/cloudapp/service/drop_collection.rb +39 -0
  17. data/spec/cassettes/account_token.yml +88 -0
  18. data/spec/cassettes/create_bookmark.yml +132 -0
  19. data/spec/cassettes/create_bookmark_with_name.yml +133 -0
  20. data/spec/cassettes/create_bookmark_with_privacy.yml +133 -0
  21. data/spec/cassettes/delete_drop.yml +215 -0
  22. data/spec/cassettes/list_drops.yml +488 -0
  23. data/spec/cassettes/list_drops_with_bad_token.yml +45 -0
  24. data/spec/cassettes/list_drops_with_filter.yml +345 -0
  25. data/spec/cassettes/list_drops_with_limit.yml +129 -0
  26. data/spec/cassettes/privatize_drop.yml +222 -0
  27. data/spec/cassettes/publicize_drop.yml +222 -0
  28. data/spec/cassettes/purge_drops.yml +764 -0
  29. data/spec/cassettes/recover_drop.yml +309 -0
  30. data/spec/cassettes/rename_drop.yml +222 -0
  31. data/spec/cassettes/token_for_account.yml +88 -0
  32. data/spec/cassettes/token_for_account_with_bad_credentials.yml +86 -0
  33. data/spec/cassettes/trash_drop.yml +222 -0
  34. data/spec/cassettes/update_drop_bookmark_url.yml +222 -0
  35. data/spec/cassettes/update_file.yml +365 -0
  36. data/spec/cassettes/upload_file.yml +276 -0
  37. data/spec/cassettes/upload_file_with_name.yml +278 -0
  38. data/spec/cassettes/upload_file_with_privacy.yml +277 -0
  39. data/spec/cassettes/view_drop.yml +174 -0
  40. data/spec/cloudapp/authorized_representation_spec.rb +32 -0
  41. data/spec/cloudapp/collection_json/item_spec.rb +45 -0
  42. data/spec/cloudapp/collection_json/representation_spec.rb +118 -0
  43. data/spec/cloudapp/collection_json/template_spec.rb +53 -0
  44. data/spec/cloudapp/drop_collection_spec.rb +148 -0
  45. data/spec/cloudapp/drop_spec.rb +186 -0
  46. data/spec/cloudapp/service_spec.rb +321 -0
  47. data/spec/helper.rb +8 -0
  48. data/spec/integration_spec.rb +77 -0
  49. data/spec/support/files/favicon.ico +0 -0
  50. data/spec/support/stub_class_or_module.rb +22 -0
  51. data/spec/support/vcr.rb +24 -0
  52. metadata +194 -0
@@ -0,0 +1,88 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.getcloudapp.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
12
+ text/plain
13
+ Accept-Encoding:
14
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
15
+ User-Agent:
16
+ - Ruby
17
+ response:
18
+ status:
19
+ code: 401
20
+ message: Unauthorized
21
+ headers:
22
+ Cache-Control:
23
+ - no-cache
24
+ Content-Type:
25
+ - application/vnd.collection+json; charset=utf-8
26
+ Server:
27
+ - thin 1.4.1 codename Chromeo
28
+ Www-Authenticate:
29
+ - Token realm="CloudApp"
30
+ X-Runtime:
31
+ - '0.004063'
32
+ X-Ua-Compatible:
33
+ - IE=Edge,chrome=1
34
+ Transfer-Encoding:
35
+ - chunked
36
+ Connection:
37
+ - keep-alive
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/account/token","links":[{"rel":"root","href":"https://api.getcloudapp.com/"}],"template":{"data":[{"name":"email","value":null},{"name":"password","value":null}]}}}'
41
+ http_version:
42
+ recorded_at: Tue, 11 Sep 2012 15:46:40 GMT
43
+ - request:
44
+ method: post
45
+ uri: https://api.getcloudapp.com/account/token
46
+ body:
47
+ encoding: UTF-8
48
+ string: ! '{"email":"arthur@dent.com","password":"towel"}'
49
+ headers:
50
+ Content-Type:
51
+ - application/json
52
+ Accept:
53
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
54
+ text/plain
55
+ User-Agent:
56
+ - Ruby
57
+ response:
58
+ status:
59
+ code: 201
60
+ message: Created
61
+ headers:
62
+ Cache-Control:
63
+ - max-age=0, private, must-revalidate
64
+ Content-Type:
65
+ - application/vnd.collection+json; charset=utf-8
66
+ Etag:
67
+ - ! '"4438a3f4f703a01c251b7ecc1feab772"'
68
+ Server:
69
+ - thin 1.4.1 codename Chromeo
70
+ Set-Cookie:
71
+ - _engine_session=BAh7CEkiFXVzZXJfY3JlZGVudGlhbHMGOgZFRkkiAYBhOGUwNDBkMDY3YWJkMTEyZGM1NTJhOTlkMjYyNmU1NzU0Y2FmZjc3MDEzZTc0ZDU5NTFjMTI2M2QxYTEyMGQxNThjZjI3ZDgzNmVmN2QyMmEwZjQzN2RlMjg3NGE3OWQwMWM4NWViOWFmYTVmMzQ1ZGFjZjQyZDAxNjlkMTY4MwY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkDp4EBSSIPc2Vzc2lvbl9pZAY7AEZJIiU3NDg4MDFmYjNjNTgwNGVlNDczNjJlZmNmZjYxNmIzMQY7AFQ%3D--13f1473430220ec26908aaa10e3746d488ea982c;
72
+ path=/; HttpOnly
73
+ - user_credentials=a8e040d067abd112dc552a99d2626e5754caff77013e74d5951c1263d1a120d158cf27d836ef7d22a0f437de2874a79d01c85eb9afa5f345dacf42d0169d1683%3A%3A98727;
74
+ path=/; expires=Tue, 11-Dec-2012 15:46:42 GMT
75
+ X-Runtime:
76
+ - '0.020635'
77
+ X-Ua-Compatible:
78
+ - IE=Edge,chrome=1
79
+ Transfer-Encoding:
80
+ - chunked
81
+ Connection:
82
+ - keep-alive
83
+ body:
84
+ encoding: US-ASCII
85
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/account/token","links":[{"rel":"root","href":"https://api.getcloudapp.com/"}],"items":[{"href":"https://api.getcloudapp.com/account/token","data":[{"name":"token","value":"abc123"}]}]}}'
86
+ http_version:
87
+ recorded_at: Tue, 11 Sep 2012 15:46:41 GMT
88
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,86 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.getcloudapp.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
12
+ text/plain
13
+ Accept-Encoding:
14
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
15
+ User-Agent:
16
+ - Ruby
17
+ response:
18
+ status:
19
+ code: 401
20
+ message: Unauthorized
21
+ headers:
22
+ Cache-Control:
23
+ - no-cache
24
+ Content-Type:
25
+ - application/vnd.collection+json; charset=utf-8
26
+ Server:
27
+ - thin 1.4.1 codename Chromeo
28
+ Www-Authenticate:
29
+ - Token realm="CloudApp"
30
+ X-Runtime:
31
+ - '0.002722'
32
+ X-Ua-Compatible:
33
+ - IE=Edge,chrome=1
34
+ Content-Length:
35
+ - '231'
36
+ Connection:
37
+ - keep-alive
38
+ body:
39
+ encoding: US-ASCII
40
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/account/token","links":[{"rel":"root","href":"https://api.getcloudapp.com/"}],"template":{"data":[{"name":"email","value":null},{"name":"password","value":null}]}}}'
41
+ http_version:
42
+ recorded_at: Tue, 11 Sep 2012 15:46:41 GMT
43
+ - request:
44
+ method: post
45
+ uri: https://api.getcloudapp.com/account/token
46
+ body:
47
+ encoding: UTF-8
48
+ string: ! '{"email":"arthur@dent.com","password":"wrong"}'
49
+ headers:
50
+ Content-Type:
51
+ - application/json
52
+ Accept:
53
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
54
+ text/plain
55
+ User-Agent:
56
+ - Ruby
57
+ response:
58
+ status:
59
+ code: 401
60
+ message: Unauthorized
61
+ headers:
62
+ Cache-Control:
63
+ - no-cache
64
+ Content-Type:
65
+ - application/vnd.collection+json; charset=utf-8
66
+ Server:
67
+ - thin 1.4.1 codename Chromeo
68
+ Set-Cookie:
69
+ - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTMxYmI5ZTYzZGU5ZmE5MDViYmQ1OGY5ZjE2MmQwODZmBjsAVA%3D%3D--61c1275c795d028f7be1fd85f70087757b725af6;
70
+ path=/; HttpOnly
71
+ Www-Authenticate:
72
+ - Token realm="CloudApp"
73
+ X-Runtime:
74
+ - '0.009006'
75
+ X-Ua-Compatible:
76
+ - IE=Edge,chrome=1
77
+ Transfer-Encoding:
78
+ - chunked
79
+ Connection:
80
+ - keep-alive
81
+ body:
82
+ encoding: US-ASCII
83
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/account/token","links":[{"rel":"root","href":"https://api.getcloudapp.com/"}],"template":{"data":[{"name":"email","value":null},{"name":"password","value":null}]}}}'
84
+ http_version:
85
+ recorded_at: Tue, 11 Sep 2012 15:46:41 GMT
86
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,222 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.getcloudapp.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - Token token="abc123"
12
+ Accept:
13
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
14
+ text/plain
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ User-Agent:
18
+ - Ruby
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Cache-Control:
25
+ - max-age=0, private, must-revalidate
26
+ Content-Type:
27
+ - application/vnd.collection+json; charset=utf-8
28
+ Etag:
29
+ - ! '"44e8e003e0f1b5e38f7ca916ff4497d7"'
30
+ Server:
31
+ - thin 1.4.1 codename Chromeo
32
+ X-Runtime:
33
+ - '0.009680'
34
+ X-Ua-Compatible:
35
+ - IE=Edge,chrome=1
36
+ Transfer-Encoding:
37
+ - chunked
38
+ Connection:
39
+ - keep-alive
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/","links":[{"rel":"drops","href":"https://api.getcloudapp.com/drops"}]}}'
43
+ http_version:
44
+ recorded_at: Tue, 11 Sep 2012 15:47:10 GMT
45
+ - request:
46
+ method: get
47
+ uri: https://api.getcloudapp.com/drops
48
+ body:
49
+ encoding: US-ASCII
50
+ string: ''
51
+ headers:
52
+ Authorization:
53
+ - Token token="abc123"
54
+ Accept:
55
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
56
+ text/plain
57
+ Accept-Encoding:
58
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
59
+ User-Agent:
60
+ - Ruby
61
+ response:
62
+ status:
63
+ code: 200
64
+ message: OK
65
+ headers:
66
+ Cache-Control:
67
+ - max-age=0, private, must-revalidate
68
+ Content-Type:
69
+ - application/vnd.collection+json; charset=utf-8
70
+ Etag:
71
+ - ! '"f9afa92f138bd050b4fbc69e7cb517bc"'
72
+ Server:
73
+ - thin 1.4.1 codename Chromeo
74
+ X-Runtime:
75
+ - '0.086744'
76
+ X-Ua-Compatible:
77
+ - IE=Edge,chrome=1
78
+ Transfer-Encoding:
79
+ - chunked
80
+ Connection:
81
+ - keep-alive
82
+ body:
83
+ encoding: US-ASCII
84
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907698","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/JOI3"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907698},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:11Z"}]},{"href":"https://api.getcloudapp.com/drops/21907697","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/3U1Q170u0g2b"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907697},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:09Z"}]},{"href":"https://api.getcloudapp.com/drops/21907695","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/3Q313d440a3B"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/3Q313d440a3B"},{"rel":"embed","href":"http://cl.ly/image/3Q313d440a3B/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/3Q313d440a3B/download/favicon.ico"}],"data":[{"name":"id","value":21907695},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:06Z"}]},{"href":"https://api.getcloudapp.com/drops/21907694","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/02073a0O3m0F"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907694},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:04Z"}]},{"href":"https://api.getcloudapp.com/drops/21907693","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/JNym"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907693},{"name":"name","value":"New
85
+ Drop Name"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:02Z"}]},{"href":"https://api.getcloudapp.com/drops/21907691","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/JNxB"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/JNxB"},{"rel":"embed","href":"http://cl.ly/JNxB/favicon.ico"},{"rel":"download","href":"http://cl.ly/JNxB/download/favicon.ico"}],"data":[{"name":"id","value":21907691},{"name":"name","value":"favicon.ico"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:01Z"}]},{"href":"https://api.getcloudapp.com/drops/21907690","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/1o3e271l1G0n"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/1o3e271l1G0n"},{"rel":"embed","href":"http://cl.ly/image/1o3e271l1G0n/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/1o3e271l1G0n/download/favicon.ico"}],"data":[{"name":"id","value":21907690},{"name":"name","value":"New
86
+ File"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:59Z"}]},{"href":"https://api.getcloudapp.com/drops/21907688","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/0o2S0W1n2L30"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/0o2S0W1n2L30"},{"rel":"embed","href":"http://cl.ly/image/0o2S0W1n2L30/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/0o2S0W1n2L30/download/favicon.ico"}],"data":[{"name":"id","value":21907688},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:57Z"}]},{"href":"https://api.getcloudapp.com/drops/21907686","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/JNXA"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907686},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:56Z"}]},{"href":"https://api.getcloudapp.com/drops/21907685","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/2k1L0G2U2z0I"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907685},{"name":"name","value":"New
87
+ Bookmark"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:55Z"}]},{"href":"https://api.getcloudapp.com/drops/21907683","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/0e0E2w0w0T0U"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907683},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:54Z"}]},{"href":"https://api.getcloudapp.com/drops/21907682","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/2x3S331L1a3o"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907682},{"name":"name","value":"http://cl.ly"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:52Z"}]},{"href":"https://api.getcloudapp.com/drops/21907679","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/1G282W04401a"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907679},{"name":"name","value":"http://cl.ly"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:47Z"}]},{"href":"https://api.getcloudapp.com/drops/21907678","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/1u232n412l14"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/1u232n412l14"},{"rel":"embed","href":"http://cl.ly/image/1u232n412l14/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/1u232n412l14/download/favicon.ico"}],"data":[{"name":"id","value":21907678},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:45Z"}]}]}}'
88
+ http_version:
89
+ recorded_at: Tue, 11 Sep 2012 15:47:11 GMT
90
+ - request:
91
+ method: post
92
+ uri: https://api.getcloudapp.com/drops
93
+ body:
94
+ encoding: UTF-8
95
+ string: ! '{"name":null,"private":true,"trash":false,"bookmark_url":"http://getcloudapp.com","file_size":null}'
96
+ headers:
97
+ Authorization:
98
+ - Token token="abc123"
99
+ Content-Type:
100
+ - application/json
101
+ Accept:
102
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
103
+ text/plain
104
+ User-Agent:
105
+ - Ruby
106
+ response:
107
+ status:
108
+ code: 201
109
+ message: Created
110
+ headers:
111
+ Cache-Control:
112
+ - max-age=0, private, must-revalidate
113
+ Content-Type:
114
+ - application/vnd.collection+json; charset=utf-8
115
+ Etag:
116
+ - ! '"96c4cfe17f73242ed39bcc7832adc167"'
117
+ Server:
118
+ - thin 1.4.1 codename Chromeo
119
+ Set-Cookie:
120
+ - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWQwZTc4NzcyOTgyZTA2NTFmYTViNzAwZWY4NjMzZDJmBjsAVA%3D%3D--eea458bc241996dc2166b89dc392e8fd71ada479;
121
+ path=/; HttpOnly
122
+ X-Runtime:
123
+ - '0.050464'
124
+ X-Ua-Compatible:
125
+ - IE=Edge,chrome=1
126
+ Transfer-Encoding:
127
+ - chunked
128
+ Connection:
129
+ - keep-alive
130
+ body:
131
+ encoding: US-ASCII
132
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907699","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/0y3v3S1l390q"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907699},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:13Z"}]}]}}'
133
+ http_version:
134
+ recorded_at: Tue, 11 Sep 2012 15:47:11 GMT
135
+ - request:
136
+ method: get
137
+ uri: https://api.getcloudapp.com/drops/21907699
138
+ body:
139
+ encoding: US-ASCII
140
+ string: ''
141
+ headers:
142
+ Authorization:
143
+ - Token token="abc123"
144
+ Accept:
145
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
146
+ text/plain
147
+ Accept-Encoding:
148
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
149
+ User-Agent:
150
+ - Ruby
151
+ response:
152
+ status:
153
+ code: 200
154
+ message: OK
155
+ headers:
156
+ Cache-Control:
157
+ - max-age=0, private, must-revalidate
158
+ Content-Type:
159
+ - application/vnd.collection+json; charset=utf-8
160
+ Etag:
161
+ - ! '"96c4cfe17f73242ed39bcc7832adc167"'
162
+ Server:
163
+ - thin 1.4.1 codename Chromeo
164
+ X-Runtime:
165
+ - '0.013804'
166
+ X-Ua-Compatible:
167
+ - IE=Edge,chrome=1
168
+ Content-Length:
169
+ - '1005'
170
+ Connection:
171
+ - keep-alive
172
+ body:
173
+ encoding: US-ASCII
174
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907699","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/0y3v3S1l390q"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907699},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:13Z"}]}]}}'
175
+ http_version:
176
+ recorded_at: Tue, 11 Sep 2012 15:47:12 GMT
177
+ - request:
178
+ method: put
179
+ uri: https://api.getcloudapp.com/drops/21907699
180
+ body:
181
+ encoding: UTF-8
182
+ string: ! '{"name":"http://getcloudapp.com","private":true,"trash":true,"bookmark_url":null,"file_size":null}'
183
+ headers:
184
+ Authorization:
185
+ - Token token="abc123"
186
+ Content-Type:
187
+ - application/json
188
+ Accept:
189
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
190
+ text/plain
191
+ User-Agent:
192
+ - Ruby
193
+ response:
194
+ status:
195
+ code: 200
196
+ message: OK
197
+ headers:
198
+ Cache-Control:
199
+ - max-age=0, private, must-revalidate
200
+ Content-Type:
201
+ - application/vnd.collection+json; charset=utf-8
202
+ Etag:
203
+ - ! '"a8f31af233e0e345b02caf81e485c3a6"'
204
+ Server:
205
+ - thin 1.4.1 codename Chromeo
206
+ Set-Cookie:
207
+ - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTllN2YxZjYzMTNkNjU3ZmJjMDg2MWYzZjRjY2QzMjY0BjsAVA%3D%3D--d647c19821448d93bcfdd9ba96834e74536df31b;
208
+ path=/; HttpOnly
209
+ X-Runtime:
210
+ - '0.097633'
211
+ X-Ua-Compatible:
212
+ - IE=Edge,chrome=1
213
+ Content-Length:
214
+ - '1004'
215
+ Connection:
216
+ - keep-alive
217
+ body:
218
+ encoding: US-ASCII
219
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907699","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/0y3v3S1l390q"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907699},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":true},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:13Z"}]}]}}'
220
+ http_version:
221
+ recorded_at: Tue, 11 Sep 2012 15:47:12 GMT
222
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,222 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.getcloudapp.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - Token token="abc123"
12
+ Accept:
13
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
14
+ text/plain
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ User-Agent:
18
+ - Ruby
19
+ response:
20
+ status:
21
+ code: 200
22
+ message: OK
23
+ headers:
24
+ Cache-Control:
25
+ - max-age=0, private, must-revalidate
26
+ Content-Type:
27
+ - application/vnd.collection+json; charset=utf-8
28
+ Etag:
29
+ - ! '"44e8e003e0f1b5e38f7ca916ff4497d7"'
30
+ Server:
31
+ - thin 1.4.1 codename Chromeo
32
+ X-Runtime:
33
+ - '0.005514'
34
+ X-Ua-Compatible:
35
+ - IE=Edge,chrome=1
36
+ Content-Length:
37
+ - '139'
38
+ Connection:
39
+ - keep-alive
40
+ body:
41
+ encoding: US-ASCII
42
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/","links":[{"rel":"drops","href":"https://api.getcloudapp.com/drops"}]}}'
43
+ http_version:
44
+ recorded_at: Tue, 11 Sep 2012 15:47:02 GMT
45
+ - request:
46
+ method: get
47
+ uri: https://api.getcloudapp.com/drops
48
+ body:
49
+ encoding: US-ASCII
50
+ string: ''
51
+ headers:
52
+ Authorization:
53
+ - Token token="abc123"
54
+ Accept:
55
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
56
+ text/plain
57
+ Accept-Encoding:
58
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
59
+ User-Agent:
60
+ - Ruby
61
+ response:
62
+ status:
63
+ code: 200
64
+ message: OK
65
+ headers:
66
+ Cache-Control:
67
+ - max-age=0, private, must-revalidate
68
+ Content-Type:
69
+ - application/vnd.collection+json; charset=utf-8
70
+ Etag:
71
+ - ! '"4ca5601819d68b75d520afb923f4c1c6"'
72
+ Server:
73
+ - thin 1.4.1 codename Chromeo
74
+ X-Runtime:
75
+ - '0.034237'
76
+ X-Ua-Compatible:
77
+ - IE=Edge,chrome=1
78
+ Transfer-Encoding:
79
+ - chunked
80
+ Connection:
81
+ - keep-alive
82
+ body:
83
+ encoding: US-ASCII
84
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907693","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/JNym"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907693},{"name":"name","value":"New
85
+ Drop Name"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:02Z"}]},{"href":"https://api.getcloudapp.com/drops/21907691","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/JNxB"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/JNxB"},{"rel":"embed","href":"http://cl.ly/JNxB/favicon.ico"},{"rel":"download","href":"http://cl.ly/JNxB/download/favicon.ico"}],"data":[{"name":"id","value":21907691},{"name":"name","value":"favicon.ico"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:01Z"}]},{"href":"https://api.getcloudapp.com/drops/21907690","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/1o3e271l1G0n"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/1o3e271l1G0n"},{"rel":"embed","href":"http://cl.ly/image/1o3e271l1G0n/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/1o3e271l1G0n/download/favicon.ico"}],"data":[{"name":"id","value":21907690},{"name":"name","value":"New
86
+ File"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:59Z"}]},{"href":"https://api.getcloudapp.com/drops/21907688","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/0o2S0W1n2L30"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/0o2S0W1n2L30"},{"rel":"embed","href":"http://cl.ly/image/0o2S0W1n2L30/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/0o2S0W1n2L30/download/favicon.ico"}],"data":[{"name":"id","value":21907688},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:57Z"}]},{"href":"https://api.getcloudapp.com/drops/21907686","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/JNXA"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907686},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":false},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:56Z"}]},{"href":"https://api.getcloudapp.com/drops/21907685","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/2k1L0G2U2z0I"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907685},{"name":"name","value":"New
87
+ Bookmark"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:55Z"}]},{"href":"https://api.getcloudapp.com/drops/21907683","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/0e0E2w0w0T0U"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907683},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:54Z"}]},{"href":"https://api.getcloudapp.com/drops/21907682","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/2x3S331L1a3o"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907682},{"name":"name","value":"http://cl.ly"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:52Z"}]},{"href":"https://api.getcloudapp.com/drops/21907679","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/1G282W04401a"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907679},{"name":"name","value":"http://cl.ly"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:47Z"}]},{"href":"https://api.getcloudapp.com/drops/21907678","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/image/1u232n412l14"},{"rel":"icon","href":"https://thumbs.getcloudapp.com/1u232n412l14"},{"rel":"embed","href":"http://cl.ly/image/1u232n412l14/favicon.ico"},{"rel":"download","href":"http://cl.ly/image/1u232n412l14/download/favicon.ico"}],"data":[{"name":"id","value":21907678},{"name":"name","value":"favicon.ico"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:46:45Z"}]}]}}'
88
+ http_version:
89
+ recorded_at: Tue, 11 Sep 2012 15:47:02 GMT
90
+ - request:
91
+ method: post
92
+ uri: https://api.getcloudapp.com/drops
93
+ body:
94
+ encoding: UTF-8
95
+ string: ! '{"name":null,"private":true,"trash":false,"bookmark_url":"http://getcloudapp.com","file_size":null}'
96
+ headers:
97
+ Authorization:
98
+ - Token token="abc123"
99
+ Content-Type:
100
+ - application/json
101
+ Accept:
102
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
103
+ text/plain
104
+ User-Agent:
105
+ - Ruby
106
+ response:
107
+ status:
108
+ code: 201
109
+ message: Created
110
+ headers:
111
+ Cache-Control:
112
+ - max-age=0, private, must-revalidate
113
+ Content-Type:
114
+ - application/vnd.collection+json; charset=utf-8
115
+ Etag:
116
+ - ! '"3ed6c0db48dc6a36f241d9921791a2db"'
117
+ Server:
118
+ - thin 1.4.1 codename Chromeo
119
+ Set-Cookie:
120
+ - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJTJhNzgwYmQwOTYwYjc4YjY4YmM4MjA2MTBmNGIzZjY1BjsAVA%3D%3D--aaf9df835ae57e6fbfe9c6a8d1e0709199079110;
121
+ path=/; HttpOnly
122
+ X-Runtime:
123
+ - '0.067213'
124
+ X-Ua-Compatible:
125
+ - IE=Edge,chrome=1
126
+ Transfer-Encoding:
127
+ - chunked
128
+ Connection:
129
+ - keep-alive
130
+ body:
131
+ encoding: US-ASCII
132
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907694","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/02073a0O3m0F"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907694},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:04Z"}]}]}}'
133
+ http_version:
134
+ recorded_at: Tue, 11 Sep 2012 15:47:03 GMT
135
+ - request:
136
+ method: get
137
+ uri: https://api.getcloudapp.com/drops/21907694
138
+ body:
139
+ encoding: US-ASCII
140
+ string: ''
141
+ headers:
142
+ Authorization:
143
+ - Token token="abc123"
144
+ Accept:
145
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
146
+ text/plain
147
+ Accept-Encoding:
148
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
149
+ User-Agent:
150
+ - Ruby
151
+ response:
152
+ status:
153
+ code: 200
154
+ message: OK
155
+ headers:
156
+ Cache-Control:
157
+ - max-age=0, private, must-revalidate
158
+ Content-Type:
159
+ - application/vnd.collection+json; charset=utf-8
160
+ Etag:
161
+ - ! '"3ed6c0db48dc6a36f241d9921791a2db"'
162
+ Server:
163
+ - thin 1.4.1 codename Chromeo
164
+ X-Runtime:
165
+ - '0.013793'
166
+ X-Ua-Compatible:
167
+ - IE=Edge,chrome=1
168
+ Transfer-Encoding:
169
+ - chunked
170
+ Connection:
171
+ - keep-alive
172
+ body:
173
+ encoding: US-ASCII
174
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907694","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/02073a0O3m0F"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907694},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:04Z"}]}]}}'
175
+ http_version:
176
+ recorded_at: Tue, 11 Sep 2012 15:47:03 GMT
177
+ - request:
178
+ method: put
179
+ uri: https://api.getcloudapp.com/drops/21907694
180
+ body:
181
+ encoding: UTF-8
182
+ string: ! '{"name":"http://getcloudapp.com","private":true,"trash":false,"bookmark_url":"http://example.org","file_size":null}'
183
+ headers:
184
+ Authorization:
185
+ - Token token="abc123"
186
+ Content-Type:
187
+ - application/json
188
+ Accept:
189
+ - application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
190
+ text/plain
191
+ User-Agent:
192
+ - Ruby
193
+ response:
194
+ status:
195
+ code: 200
196
+ message: OK
197
+ headers:
198
+ Cache-Control:
199
+ - max-age=0, private, must-revalidate
200
+ Content-Type:
201
+ - application/vnd.collection+json; charset=utf-8
202
+ Etag:
203
+ - ! '"3ed6c0db48dc6a36f241d9921791a2db"'
204
+ Server:
205
+ - thin 1.4.1 codename Chromeo
206
+ Set-Cookie:
207
+ - _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRkkiJWIwMmE3OTJjNDcxMzI0OGQyMTFhOWIwMTI1YzkyNWZjBjsAVA%3D%3D--5e288de35e2bd8d289a3cc36f157bcced54db04b;
208
+ path=/; HttpOnly
209
+ X-Runtime:
210
+ - '0.065467'
211
+ X-Ua-Compatible:
212
+ - IE=Edge,chrome=1
213
+ Transfer-Encoding:
214
+ - chunked
215
+ Connection:
216
+ - keep-alive
217
+ body:
218
+ encoding: US-ASCII
219
+ string: ! '{"collection":{"version":"1.0","href":"https://api.getcloudapp.com/drops","links":[{"rel":"drops-stream","href":"https://api.getcloudapp.com/drops/stream"}],"queries":[{"href":"https://api.getcloudapp.com/drops","rel":"drops-list","data":[{"name":"filter","value":"active"},{"name":"limit","value":20}]}],"template":{"data":[{"name":"name","value":null},{"name":"private","value":true},{"name":"trash","value":false},{"name":"bookmark_url","value":null},{"name":"file_size","value":null}]},"items":[{"href":"https://api.getcloudapp.com/drops/21907694","links":[{"rel":"collection","href":"https://api.getcloudapp.com/drops"},{"rel":"canonical","href":"http://cl.ly/02073a0O3m0F"},{"rel":"icon","href":"https://d9yac136u048z.cloudfront.net/images/thumbnails/bookmark.png"}],"data":[{"name":"id","value":21907694},{"name":"name","value":"http://getcloudapp.com"},{"name":"private","value":true},{"name":"trash","value":false},{"name":"views","value":0},{"name":"created","value":"2012-09-11T15:47:04Z"}]}]}}'
220
+ http_version:
221
+ recorded_at: Tue, 11 Sep 2012 15:47:03 GMT
222
+ recorded_with: VCR 2.0.1