uploadcare-rails 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/config/initializers/uploadcare.rb +4 -4
  3. data/lib/uploadcare-rails.rb +7 -4
  4. data/lib/uploadcare/rails/action_view/include_tags.rb +1 -1
  5. data/lib/uploadcare/rails/active_record/has_file.rb +3 -3
  6. data/lib/uploadcare/rails/active_record/has_group.rb +3 -3
  7. data/lib/uploadcare/rails/formtastic/formtastic.rb +14 -0
  8. data/lib/uploadcare/rails/settings.rb +4 -5
  9. data/lib/uploadcare/rails/version.rb +1 -1
  10. data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +107 -0
  11. data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +107 -0
  12. data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +107 -0
  13. data/spec/cassettes/group_cahsing_file_load.yml +107 -0
  14. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +1283 -0
  15. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +381 -0
  16. data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +523 -0
  17. data/spec/cassettes/has_uploadcare_group_save.yml +543 -0
  18. data/spec/cassettes/load_group.yml +107 -0
  19. data/spec/dummy/db/migrate/20171012001801_create_tables.rb +27 -0
  20. data/spec/dummy/db/schema.rb +14 -15
  21. data/spec/dummy/db/test.sqlite3 +0 -0
  22. data/spec/dummy/log/test.log +2360 -0
  23. data/spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F +0 -0
  24. data/spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F +0 -0
  25. data/spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F +0 -0
  26. data/spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F +0 -0
  27. data/spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F +0 -0
  28. data/spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F +0 -0
  29. data/spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F +0 -0
  30. data/spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F +0 -0
  31. data/spec/generators/uploadcare_config_generator_spec.rb +39 -0
  32. data/spec/helpers/form_helpers_has_file_spec.rb +5 -5
  33. data/spec/helpers/form_helpers_has_group_spec.rb +6 -6
  34. data/spec/helpers/form_helpers_spec.rb +5 -5
  35. data/spec/helpers/formtastic_spec.rb +19 -26
  36. data/spec/helpers/include_tags_spec.rb +7 -7
  37. data/spec/helpers/simple_form_spec.rb +19 -27
  38. data/spec/helpers/uploader_tags_spec.rb +11 -5
  39. data/spec/objects/group_spec.rb +4 -4
  40. data/spec/support/generators.rb +38 -0
  41. data/spec/tmp/config/uploadcare.yml +71 -0
  42. data/spec/uploadcare/rails/settings_spec.rb +136 -0
  43. metadata +254 -198
  44. data/spec/dummy/db/migrate/20131119080328_create_posts.rb +0 -10
  45. data/spec/dummy/db/migrate/20131220083857_create_post_with_collections.rb +0 -10
  46. data/spec/dummy/db/migrate/20140320092807_create_posts_with_collection_and_files.rb +0 -10
@@ -0,0 +1,381 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: https://api.uploadcare.com/files/913a5ee4-123c-4076-bc66-3ff5a3966ac0/storage/
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/vnd.uploadcare-v0.3+json
12
+ User-Agent:
13
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
14
+ Content-Type:
15
+ - application/x-www-form-urlencoded
16
+ Date:
17
+ - Sat, 21 Oct 2017 13:40:31 -0000
18
+ Authorization:
19
+ - Uploadcare demopublickey:732d2dd7c30e41748072791c3701076c240ddefb
20
+ Accept-Encoding:
21
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Date:
28
+ - Sat, 21 Oct 2017 13:40:31 GMT
29
+ Content-Type:
30
+ - application/vnd.uploadcare-v0.3+json
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Server:
36
+ - nginx
37
+ X-Xss-Protection:
38
+ - 1; mode=block
39
+ X-Content-Type-Options:
40
+ - nosniff
41
+ Vary:
42
+ - Accept
43
+ Warning:
44
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
45
+ version 0.5, not 0.3'
46
+ Allow:
47
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
48
+ Access-Control-Allow-Origin:
49
+ - https://uploadcare.com
50
+ X-Frame-Options:
51
+ - DENY
52
+ body:
53
+ encoding: UTF-8
54
+ string: '{"uuid":"913a5ee4-123c-4076-bc66-3ff5a3966ac0","original_file_url":"https://ucarecdn.com/913a5ee4-123c-4076-bc66-3ff5a3966ac0/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":"2017-10-21T13:40:31.943380Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/913a5ee4-123c-4076-bc66-3ff5a3966ac0/","original_filename":"view.png","datetime_uploaded":"2017-10-21T13:40:26.646680Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
55
+ http_version:
56
+ recorded_at: Sat, 21 Oct 2017 13:40:32 GMT
57
+ - request:
58
+ method: put
59
+ uri: https://api.uploadcare.com/files/39b34128-a001-46fd-9773-1b6ad46e6b9e/storage/
60
+ body:
61
+ encoding: UTF-8
62
+ string: ''
63
+ headers:
64
+ Accept:
65
+ - application/vnd.uploadcare-v0.3+json
66
+ User-Agent:
67
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
68
+ Content-Type:
69
+ - application/x-www-form-urlencoded
70
+ Date:
71
+ - Sun, 29 Oct 2017 17:15:31 -0000
72
+ Authorization:
73
+ - Uploadcare demopublickey:a6a35356059f9fc36d416c92fb7a1bc8cc7bb6f0
74
+ Accept-Encoding:
75
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
76
+ response:
77
+ status:
78
+ code: 200
79
+ message: OK
80
+ headers:
81
+ Date:
82
+ - Sun, 29 Oct 2017 17:15:32 GMT
83
+ Content-Type:
84
+ - application/vnd.uploadcare-v0.3+json
85
+ Transfer-Encoding:
86
+ - chunked
87
+ Connection:
88
+ - keep-alive
89
+ Server:
90
+ - nginx
91
+ X-Xss-Protection:
92
+ - 1; mode=block
93
+ X-Content-Type-Options:
94
+ - nosniff
95
+ Vary:
96
+ - Accept
97
+ Warning:
98
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
99
+ version 0.5, not 0.3'
100
+ Allow:
101
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
102
+ Access-Control-Allow-Origin:
103
+ - https://uploadcare.com
104
+ X-Frame-Options:
105
+ - DENY
106
+ body:
107
+ encoding: UTF-8
108
+ string: '{"uuid":"39b34128-a001-46fd-9773-1b6ad46e6b9e","original_file_url":"https://ucarecdn.com/39b34128-a001-46fd-9773-1b6ad46e6b9e/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":"2017-10-29T17:15:32.176898Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/39b34128-a001-46fd-9773-1b6ad46e6b9e/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:15:28.147830Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
109
+ http_version:
110
+ recorded_at: Sun, 29 Oct 2017 17:15:32 GMT
111
+ - request:
112
+ method: put
113
+ uri: https://api.uploadcare.com/files/595319d0-a113-459f-91bd-b29c7183467b/storage/
114
+ body:
115
+ encoding: UTF-8
116
+ string: ''
117
+ headers:
118
+ Accept:
119
+ - application/vnd.uploadcare-v0.3+json
120
+ User-Agent:
121
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
122
+ Content-Type:
123
+ - application/x-www-form-urlencoded
124
+ Date:
125
+ - Sun, 29 Oct 2017 17:17:11 -0000
126
+ Authorization:
127
+ - Uploadcare demopublickey:4eebb29636509ebb03dcb479c65a3e8754f1b835
128
+ Accept-Encoding:
129
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
130
+ response:
131
+ status:
132
+ code: 200
133
+ message: OK
134
+ headers:
135
+ Date:
136
+ - Sun, 29 Oct 2017 17:17:12 GMT
137
+ Content-Type:
138
+ - application/vnd.uploadcare-v0.3+json
139
+ Transfer-Encoding:
140
+ - chunked
141
+ Connection:
142
+ - keep-alive
143
+ Server:
144
+ - nginx
145
+ X-Xss-Protection:
146
+ - 1; mode=block
147
+ X-Content-Type-Options:
148
+ - nosniff
149
+ Vary:
150
+ - Accept
151
+ Warning:
152
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
153
+ version 0.5, not 0.3'
154
+ Allow:
155
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
156
+ Access-Control-Allow-Origin:
157
+ - https://uploadcare.com
158
+ X-Frame-Options:
159
+ - DENY
160
+ body:
161
+ encoding: UTF-8
162
+ string: '{"uuid":"595319d0-a113-459f-91bd-b29c7183467b","original_file_url":"https://ucarecdn.com/595319d0-a113-459f-91bd-b29c7183467b/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":"2017-10-29T17:17:12.432336Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/595319d0-a113-459f-91bd-b29c7183467b/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:17:08.532242Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
163
+ http_version:
164
+ recorded_at: Sun, 29 Oct 2017 17:17:13 GMT
165
+ - request:
166
+ method: put
167
+ uri: https://api.uploadcare.com/files/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/storage/
168
+ body:
169
+ encoding: UTF-8
170
+ string: ''
171
+ headers:
172
+ Accept:
173
+ - application/vnd.uploadcare-v0.3+json
174
+ User-Agent:
175
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
176
+ Content-Type:
177
+ - application/x-www-form-urlencoded
178
+ Date:
179
+ - Sun, 29 Oct 2017 17:19:16 -0000
180
+ Authorization:
181
+ - Uploadcare demopublickey:3f45d495a312123df69df3c44960474c57939503
182
+ Accept-Encoding:
183
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
184
+ response:
185
+ status:
186
+ code: 200
187
+ message: OK
188
+ headers:
189
+ Date:
190
+ - Sun, 29 Oct 2017 17:19:17 GMT
191
+ Content-Type:
192
+ - application/vnd.uploadcare-v0.3+json
193
+ Transfer-Encoding:
194
+ - chunked
195
+ Connection:
196
+ - keep-alive
197
+ Server:
198
+ - nginx
199
+ X-Xss-Protection:
200
+ - 1; mode=block
201
+ X-Content-Type-Options:
202
+ - nosniff
203
+ Vary:
204
+ - Accept
205
+ Warning:
206
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
207
+ version 0.5, not 0.3'
208
+ Allow:
209
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
210
+ Access-Control-Allow-Origin:
211
+ - https://uploadcare.com
212
+ X-Frame-Options:
213
+ - DENY
214
+ body:
215
+ encoding: UTF-8
216
+ string: '{"uuid":"c3f0464b-ce9a-4281-8eaa-5c55783ccedf","original_file_url":"https://ucarecdn.com/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":"2017-10-29T17:19:17.199860Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:19:13.268781Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
217
+ http_version:
218
+ recorded_at: Sun, 29 Oct 2017 17:19:17 GMT
219
+ - request:
220
+ method: put
221
+ uri: https://api.uploadcare.com/files/81332043-fa2c-452f-936b-737d87ab2ae2/storage/
222
+ body:
223
+ encoding: UTF-8
224
+ string: ''
225
+ headers:
226
+ Accept:
227
+ - application/vnd.uploadcare-v0.3+json
228
+ User-Agent:
229
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
230
+ Content-Type:
231
+ - application/x-www-form-urlencoded
232
+ Date:
233
+ - Sun, 29 Oct 2017 17:19:41 -0000
234
+ Authorization:
235
+ - Uploadcare demopublickey:90a583a069d2a0cebd6188f0e29f5af78d6b645b
236
+ Accept-Encoding:
237
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
238
+ response:
239
+ status:
240
+ code: 200
241
+ message: OK
242
+ headers:
243
+ Date:
244
+ - Sun, 29 Oct 2017 17:19:42 GMT
245
+ Content-Type:
246
+ - application/vnd.uploadcare-v0.3+json
247
+ Transfer-Encoding:
248
+ - chunked
249
+ Connection:
250
+ - keep-alive
251
+ Server:
252
+ - nginx
253
+ X-Xss-Protection:
254
+ - 1; mode=block
255
+ X-Content-Type-Options:
256
+ - nosniff
257
+ Vary:
258
+ - Accept
259
+ Warning:
260
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
261
+ version 0.5, not 0.3'
262
+ Allow:
263
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
264
+ Access-Control-Allow-Origin:
265
+ - https://uploadcare.com
266
+ X-Frame-Options:
267
+ - DENY
268
+ body:
269
+ encoding: UTF-8
270
+ string: '{"uuid":"81332043-fa2c-452f-936b-737d87ab2ae2","original_file_url":"https://ucarecdn.com/81332043-fa2c-452f-936b-737d87ab2ae2/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":"2017-10-29T17:19:41.772104Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/81332043-fa2c-452f-936b-737d87ab2ae2/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:19:37.985219Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
271
+ http_version:
272
+ recorded_at: Sun, 29 Oct 2017 17:19:42 GMT
273
+ - request:
274
+ method: put
275
+ uri: https://api.uploadcare.com/files/7eb0161b-cebe-4316-946b-694de6f77ef9/storage/
276
+ body:
277
+ encoding: UTF-8
278
+ string: ''
279
+ headers:
280
+ Accept:
281
+ - application/vnd.uploadcare-v0.3+json
282
+ User-Agent:
283
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
284
+ Content-Type:
285
+ - application/x-www-form-urlencoded
286
+ Date:
287
+ - Sun, 29 Oct 2017 17:21:00 -0000
288
+ Authorization:
289
+ - Uploadcare demopublickey:0f8eaf1ab1a496c399d2debc37d78ef1a73b8edd
290
+ Accept-Encoding:
291
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
292
+ response:
293
+ status:
294
+ code: 200
295
+ message: OK
296
+ headers:
297
+ Date:
298
+ - Sun, 29 Oct 2017 17:21:01 GMT
299
+ Content-Type:
300
+ - application/vnd.uploadcare-v0.3+json
301
+ Transfer-Encoding:
302
+ - chunked
303
+ Connection:
304
+ - keep-alive
305
+ Server:
306
+ - nginx
307
+ X-Xss-Protection:
308
+ - 1; mode=block
309
+ X-Content-Type-Options:
310
+ - nosniff
311
+ Vary:
312
+ - Accept
313
+ Warning:
314
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
315
+ version 0.5, not 0.3'
316
+ Allow:
317
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
318
+ Access-Control-Allow-Origin:
319
+ - https://uploadcare.com
320
+ X-Frame-Options:
321
+ - DENY
322
+ body:
323
+ encoding: UTF-8
324
+ string: '{"uuid":"7eb0161b-cebe-4316-946b-694de6f77ef9","original_file_url":"https://ucarecdn.com/7eb0161b-cebe-4316-946b-694de6f77ef9/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":"2017-10-29T17:21:01.809574Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/7eb0161b-cebe-4316-946b-694de6f77ef9/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:20:57.720104Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
325
+ http_version:
326
+ recorded_at: Sun, 29 Oct 2017 17:21:02 GMT
327
+ - request:
328
+ method: put
329
+ uri: https://api.uploadcare.com/files/f6536fd7-fc46-4563-ba22-89062c277b5d/storage/
330
+ body:
331
+ encoding: UTF-8
332
+ string: ''
333
+ headers:
334
+ Accept:
335
+ - application/vnd.uploadcare-v0.3+json
336
+ User-Agent:
337
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
338
+ Content-Type:
339
+ - application/x-www-form-urlencoded
340
+ Date:
341
+ - Sun, 05 Nov 2017 09:23:02 -0000
342
+ Authorization:
343
+ - Uploadcare demopublickey:e4c661d144a79a3ac54b356de67f8e522f643906
344
+ Accept-Encoding:
345
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
346
+ response:
347
+ status:
348
+ code: 200
349
+ message: OK
350
+ headers:
351
+ Date:
352
+ - Sun, 05 Nov 2017 09:23:04 GMT
353
+ Content-Type:
354
+ - application/vnd.uploadcare-v0.3+json
355
+ Transfer-Encoding:
356
+ - chunked
357
+ Connection:
358
+ - keep-alive
359
+ Server:
360
+ - nginx
361
+ X-Xss-Protection:
362
+ - 1; mode=block
363
+ X-Content-Type-Options:
364
+ - nosniff
365
+ Vary:
366
+ - Accept
367
+ Warning:
368
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
369
+ version 0.5, not 0.3'
370
+ Allow:
371
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
372
+ Access-Control-Allow-Origin:
373
+ - https://uploadcare.com
374
+ X-Frame-Options:
375
+ - DENY
376
+ body:
377
+ encoding: UTF-8
378
+ string: '{"uuid":"f6536fd7-fc46-4563-ba22-89062c277b5d","original_file_url":"https://ucarecdn.com/f6536fd7-fc46-4563-ba22-89062c277b5d/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":"2017-11-05T09:23:03.368234Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/f6536fd7-fc46-4563-ba22-89062c277b5d/","original_filename":"view.png","datetime_uploaded":"2017-11-05T09:22:56.619173Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
379
+ http_version:
380
+ recorded_at: Sun, 05 Nov 2017 09:23:04 GMT
381
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,523 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.uploadcare.com/groups/a1b1bb40-bd89-4f9c-b809-e84920f24a01~2/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/vnd.uploadcare-v0.3+json
12
+ User-Agent:
13
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
14
+ Date:
15
+ - Sat, 21 Oct 2017 13:40:35 -0000
16
+ Authorization:
17
+ - Uploadcare demopublickey:a498218dcac8ba412e871af54b341b0722e8c86d
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Date:
26
+ - Sat, 21 Oct 2017 13:40:35 GMT
27
+ Content-Type:
28
+ - application/vnd.uploadcare-v0.3+json
29
+ Transfer-Encoding:
30
+ - chunked
31
+ Connection:
32
+ - keep-alive
33
+ Server:
34
+ - nginx
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Content-Type-Options:
38
+ - nosniff
39
+ Vary:
40
+ - Accept
41
+ Warning:
42
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
43
+ version 0.5, not 0.3'
44
+ Allow:
45
+ - GET, HEAD, OPTIONS
46
+ Access-Control-Allow-Origin:
47
+ - https://uploadcare.com
48
+ X-Frame-Options:
49
+ - DENY
50
+ body:
51
+ encoding: UTF-8
52
+ string: '{"id":"a1b1bb40-bd89-4f9c-b809-e84920f24a01~2","datetime_created":"2017-10-21T13:40:29.035828Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/a1b1bb40-bd89-4f9c-b809-e84920f24a01~2/","url":"https://api.uploadcare.com/groups/a1b1bb40-bd89-4f9c-b809-e84920f24a01~2/","files":[{"uuid":"83ce550d-f67e-4c1a-a4da-3d550224a8a5","original_file_url":"https://ucarecdn.com/83ce550d-f67e-4c1a-a4da-3d550224a8a5/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/83ce550d-f67e-4c1a-a4da-3d550224a8a5/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-21T13:40:28.343956Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"8bd4d6b5-e844-42a7-b2b1-8814aa4ca713","original_file_url":"https://ucarecdn.com/8bd4d6b5-e844-42a7-b2b1-8814aa4ca713/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/8bd4d6b5-e844-42a7-b2b1-8814aa4ca713/","original_filename":"view.png","datetime_uploaded":"2017-10-21T13:40:28.362231Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
53
+ http_version:
54
+ recorded_at: Sat, 21 Oct 2017 13:40:35 GMT
55
+ - request:
56
+ method: get
57
+ uri: https://api.uploadcare.com/groups/79463a55-f7ab-4972-8d94-679c96a027a7~2/
58
+ body:
59
+ encoding: US-ASCII
60
+ string: ''
61
+ headers:
62
+ Accept:
63
+ - application/vnd.uploadcare-v0.3+json
64
+ User-Agent:
65
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
66
+ Date:
67
+ - Sun, 29 Oct 2017 17:04:29 -0000
68
+ Authorization:
69
+ - Uploadcare demopublickey:e18ec84422895cadd13e844171158d5314960317
70
+ Accept-Encoding:
71
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
72
+ response:
73
+ status:
74
+ code: 200
75
+ message: OK
76
+ headers:
77
+ Date:
78
+ - Sun, 29 Oct 2017 17:04:30 GMT
79
+ Content-Type:
80
+ - application/vnd.uploadcare-v0.3+json
81
+ Transfer-Encoding:
82
+ - chunked
83
+ Connection:
84
+ - keep-alive
85
+ Server:
86
+ - nginx
87
+ X-Xss-Protection:
88
+ - 1; mode=block
89
+ X-Content-Type-Options:
90
+ - nosniff
91
+ Vary:
92
+ - Accept
93
+ Warning:
94
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
95
+ version 0.5, not 0.3'
96
+ Allow:
97
+ - GET, HEAD, OPTIONS
98
+ Access-Control-Allow-Origin:
99
+ - https://uploadcare.com
100
+ X-Frame-Options:
101
+ - DENY
102
+ body:
103
+ encoding: UTF-8
104
+ string: '{"id":"79463a55-f7ab-4972-8d94-679c96a027a7~2","datetime_created":"2017-10-29T17:04:28.886711Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/79463a55-f7ab-4972-8d94-679c96a027a7~2/","url":"https://api.uploadcare.com/groups/79463a55-f7ab-4972-8d94-679c96a027a7~2/","files":[{"uuid":"13ffdae7-efaf-4704-903c-b7d221560068","original_file_url":"https://ucarecdn.com/13ffdae7-efaf-4704-903c-b7d221560068/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/13ffdae7-efaf-4704-903c-b7d221560068/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:04:28.146741Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"7211b55e-4a7c-4fad-946e-d36198221f2c","original_file_url":"https://ucarecdn.com/7211b55e-4a7c-4fad-946e-d36198221f2c/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/7211b55e-4a7c-4fad-946e-d36198221f2c/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:04:28.166745Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
105
+ http_version:
106
+ recorded_at: Sun, 29 Oct 2017 17:04:30 GMT
107
+ - request:
108
+ method: get
109
+ uri: https://api.uploadcare.com/groups/90b67d93-d46f-46f1-9c12-689ca8bbdb12~2/
110
+ body:
111
+ encoding: US-ASCII
112
+ string: ''
113
+ headers:
114
+ Accept:
115
+ - application/vnd.uploadcare-v0.3+json
116
+ User-Agent:
117
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
118
+ Date:
119
+ - Sun, 29 Oct 2017 17:05:39 -0000
120
+ Authorization:
121
+ - Uploadcare demopublickey:8f902c37da78192f330186157e52d664d518eea8
122
+ Accept-Encoding:
123
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
124
+ response:
125
+ status:
126
+ code: 200
127
+ message: OK
128
+ headers:
129
+ Date:
130
+ - Sun, 29 Oct 2017 17:05:40 GMT
131
+ Content-Type:
132
+ - application/vnd.uploadcare-v0.3+json
133
+ Transfer-Encoding:
134
+ - chunked
135
+ Connection:
136
+ - keep-alive
137
+ Server:
138
+ - nginx
139
+ X-Xss-Protection:
140
+ - 1; mode=block
141
+ X-Content-Type-Options:
142
+ - nosniff
143
+ Vary:
144
+ - Accept
145
+ Warning:
146
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
147
+ version 0.5, not 0.3'
148
+ Allow:
149
+ - GET, HEAD, OPTIONS
150
+ Access-Control-Allow-Origin:
151
+ - https://uploadcare.com
152
+ X-Frame-Options:
153
+ - DENY
154
+ body:
155
+ encoding: UTF-8
156
+ string: '{"id":"90b67d93-d46f-46f1-9c12-689ca8bbdb12~2","datetime_created":"2017-10-29T17:05:38.830326Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/90b67d93-d46f-46f1-9c12-689ca8bbdb12~2/","url":"https://api.uploadcare.com/groups/90b67d93-d46f-46f1-9c12-689ca8bbdb12~2/","files":[{"uuid":"5c8226ca-3989-4cfa-88be-56e540c7a481","original_file_url":"https://ucarecdn.com/5c8226ca-3989-4cfa-88be-56e540c7a481/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/5c8226ca-3989-4cfa-88be-56e540c7a481/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:05:38.063152Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"00ea08f8-8f14-409b-8e63-d4fdf28007f0","original_file_url":"https://ucarecdn.com/00ea08f8-8f14-409b-8e63-d4fdf28007f0/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/00ea08f8-8f14-409b-8e63-d4fdf28007f0/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:05:38.080825Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
157
+ http_version:
158
+ recorded_at: Sun, 29 Oct 2017 17:05:40 GMT
159
+ - request:
160
+ method: get
161
+ uri: https://api.uploadcare.com/groups/37415ae9-f604-4c81-9281-96c04e7ca79b~2/
162
+ body:
163
+ encoding: US-ASCII
164
+ string: ''
165
+ headers:
166
+ Accept:
167
+ - application/vnd.uploadcare-v0.3+json
168
+ User-Agent:
169
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
170
+ Date:
171
+ - Sun, 29 Oct 2017 17:06:08 -0000
172
+ Authorization:
173
+ - Uploadcare demopublickey:6df0d0e6814078269236c56235e9ac97e583b36a
174
+ Accept-Encoding:
175
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
176
+ response:
177
+ status:
178
+ code: 200
179
+ message: OK
180
+ headers:
181
+ Date:
182
+ - Sun, 29 Oct 2017 17:06:09 GMT
183
+ Content-Type:
184
+ - application/vnd.uploadcare-v0.3+json
185
+ Transfer-Encoding:
186
+ - chunked
187
+ Connection:
188
+ - keep-alive
189
+ Server:
190
+ - nginx
191
+ X-Xss-Protection:
192
+ - 1; mode=block
193
+ X-Content-Type-Options:
194
+ - nosniff
195
+ Vary:
196
+ - Accept
197
+ Warning:
198
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
199
+ version 0.5, not 0.3'
200
+ Allow:
201
+ - GET, HEAD, OPTIONS
202
+ Access-Control-Allow-Origin:
203
+ - https://uploadcare.com
204
+ X-Frame-Options:
205
+ - DENY
206
+ body:
207
+ encoding: UTF-8
208
+ string: '{"id":"37415ae9-f604-4c81-9281-96c04e7ca79b~2","datetime_created":"2017-10-29T17:06:08.369557Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/37415ae9-f604-4c81-9281-96c04e7ca79b~2/","url":"https://api.uploadcare.com/groups/37415ae9-f604-4c81-9281-96c04e7ca79b~2/","files":[{"uuid":"fb03a35a-6aca-4d10-bfe0-0a2a487fac65","original_file_url":"https://ucarecdn.com/fb03a35a-6aca-4d10-bfe0-0a2a487fac65/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/fb03a35a-6aca-4d10-bfe0-0a2a487fac65/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:06:07.590590Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"58d53833-0e27-4c7e-b248-99e75a97cf42","original_file_url":"https://ucarecdn.com/58d53833-0e27-4c7e-b248-99e75a97cf42/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/58d53833-0e27-4c7e-b248-99e75a97cf42/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:06:07.624529Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
209
+ http_version:
210
+ recorded_at: Sun, 29 Oct 2017 17:06:09 GMT
211
+ - request:
212
+ method: get
213
+ uri: https://api.uploadcare.com/groups/e918cbe4-6e85-423d-9680-b3b2f046f612~2/
214
+ body:
215
+ encoding: US-ASCII
216
+ string: ''
217
+ headers:
218
+ Accept:
219
+ - application/vnd.uploadcare-v0.3+json
220
+ User-Agent:
221
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
222
+ Date:
223
+ - Sun, 29 Oct 2017 17:15:34 -0000
224
+ Authorization:
225
+ - Uploadcare demopublickey:7ee30e3516ecc9a04c025f17a47623bc92bcb75f
226
+ Accept-Encoding:
227
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
228
+ response:
229
+ status:
230
+ code: 200
231
+ message: OK
232
+ headers:
233
+ Date:
234
+ - Sun, 29 Oct 2017 17:15:35 GMT
235
+ Content-Type:
236
+ - application/vnd.uploadcare-v0.3+json
237
+ Transfer-Encoding:
238
+ - chunked
239
+ Connection:
240
+ - keep-alive
241
+ Server:
242
+ - nginx
243
+ X-Xss-Protection:
244
+ - 1; mode=block
245
+ X-Content-Type-Options:
246
+ - nosniff
247
+ Vary:
248
+ - Accept
249
+ Warning:
250
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
251
+ version 0.5, not 0.3'
252
+ Allow:
253
+ - GET, HEAD, OPTIONS
254
+ Access-Control-Allow-Origin:
255
+ - https://uploadcare.com
256
+ X-Frame-Options:
257
+ - DENY
258
+ body:
259
+ encoding: UTF-8
260
+ string: '{"id":"e918cbe4-6e85-423d-9680-b3b2f046f612~2","datetime_created":"2017-10-29T17:15:31.042669Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/e918cbe4-6e85-423d-9680-b3b2f046f612~2/","url":"https://api.uploadcare.com/groups/e918cbe4-6e85-423d-9680-b3b2f046f612~2/","files":[{"uuid":"de0cec37-66de-4dd8-9ffd-b9584e6774f3","original_file_url":"https://ucarecdn.com/de0cec37-66de-4dd8-9ffd-b9584e6774f3/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/de0cec37-66de-4dd8-9ffd-b9584e6774f3/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:15:30.178400Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"444ae6b6-6f16-4965-92b5-08fa02d67e89","original_file_url":"https://ucarecdn.com/444ae6b6-6f16-4965-92b5-08fa02d67e89/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/444ae6b6-6f16-4965-92b5-08fa02d67e89/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:15:30.204922Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
261
+ http_version:
262
+ recorded_at: Sun, 29 Oct 2017 17:15:35 GMT
263
+ - request:
264
+ method: get
265
+ uri: https://api.uploadcare.com/groups/fea2a5ba-a109-47d2-adba-2c5f4a9d5231~2/
266
+ body:
267
+ encoding: US-ASCII
268
+ string: ''
269
+ headers:
270
+ Accept:
271
+ - application/vnd.uploadcare-v0.3+json
272
+ User-Agent:
273
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
274
+ Date:
275
+ - Sun, 29 Oct 2017 17:17:15 -0000
276
+ Authorization:
277
+ - Uploadcare demopublickey:8aa1af23551593014bc500b4c82b6e3647916584
278
+ Accept-Encoding:
279
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
280
+ response:
281
+ status:
282
+ code: 200
283
+ message: OK
284
+ headers:
285
+ Date:
286
+ - Sun, 29 Oct 2017 17:17:16 GMT
287
+ Content-Type:
288
+ - application/vnd.uploadcare-v0.3+json
289
+ Transfer-Encoding:
290
+ - chunked
291
+ Connection:
292
+ - keep-alive
293
+ Server:
294
+ - nginx
295
+ X-Xss-Protection:
296
+ - 1; mode=block
297
+ X-Content-Type-Options:
298
+ - nosniff
299
+ Vary:
300
+ - Accept
301
+ Warning:
302
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
303
+ version 0.5, not 0.3'
304
+ Allow:
305
+ - GET, HEAD, OPTIONS
306
+ Access-Control-Allow-Origin:
307
+ - https://uploadcare.com
308
+ X-Frame-Options:
309
+ - DENY
310
+ body:
311
+ encoding: UTF-8
312
+ string: '{"id":"fea2a5ba-a109-47d2-adba-2c5f4a9d5231~2","datetime_created":"2017-10-29T17:17:11.270418Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/fea2a5ba-a109-47d2-adba-2c5f4a9d5231~2/","url":"https://api.uploadcare.com/groups/fea2a5ba-a109-47d2-adba-2c5f4a9d5231~2/","files":[{"uuid":"4c7e5b99-7ea2-412d-8c08-9f817c7de0ba","original_file_url":"https://ucarecdn.com/4c7e5b99-7ea2-412d-8c08-9f817c7de0ba/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/4c7e5b99-7ea2-412d-8c08-9f817c7de0ba/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:17:10.529803Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"2d504cf6-ccdd-4818-b95b-3aaeb7072cd4","original_file_url":"https://ucarecdn.com/2d504cf6-ccdd-4818-b95b-3aaeb7072cd4/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/2d504cf6-ccdd-4818-b95b-3aaeb7072cd4/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:17:10.556083Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
313
+ http_version:
314
+ recorded_at: Sun, 29 Oct 2017 17:17:16 GMT
315
+ - request:
316
+ method: get
317
+ uri: https://api.uploadcare.com/groups/240441d8-a877-4713-99b8-ea083b8973b8~2/
318
+ body:
319
+ encoding: US-ASCII
320
+ string: ''
321
+ headers:
322
+ Accept:
323
+ - application/vnd.uploadcare-v0.3+json
324
+ User-Agent:
325
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
326
+ Date:
327
+ - Sun, 29 Oct 2017 17:19:20 -0000
328
+ Authorization:
329
+ - Uploadcare demopublickey:86651a9817a17135de7bc1995229120fa602f641
330
+ Accept-Encoding:
331
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
332
+ response:
333
+ status:
334
+ code: 200
335
+ message: OK
336
+ headers:
337
+ Date:
338
+ - Sun, 29 Oct 2017 17:19:21 GMT
339
+ Content-Type:
340
+ - application/vnd.uploadcare-v0.3+json
341
+ Transfer-Encoding:
342
+ - chunked
343
+ Connection:
344
+ - keep-alive
345
+ Server:
346
+ - nginx
347
+ X-Xss-Protection:
348
+ - 1; mode=block
349
+ X-Content-Type-Options:
350
+ - nosniff
351
+ Vary:
352
+ - Accept
353
+ Warning:
354
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
355
+ version 0.5, not 0.3'
356
+ Allow:
357
+ - GET, HEAD, OPTIONS
358
+ Access-Control-Allow-Origin:
359
+ - https://uploadcare.com
360
+ X-Frame-Options:
361
+ - DENY
362
+ body:
363
+ encoding: UTF-8
364
+ string: '{"id":"240441d8-a877-4713-99b8-ea083b8973b8~2","datetime_created":"2017-10-29T17:19:15.986814Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/240441d8-a877-4713-99b8-ea083b8973b8~2/","url":"https://api.uploadcare.com/groups/240441d8-a877-4713-99b8-ea083b8973b8~2/","files":[{"uuid":"a9569ad5-5d18-4099-8172-4c6eb901331d","original_file_url":"https://ucarecdn.com/a9569ad5-5d18-4099-8172-4c6eb901331d/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/a9569ad5-5d18-4099-8172-4c6eb901331d/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:19:15.240534Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"a32292fd-9d68-46e5-b7b5-771a97138586","original_file_url":"https://ucarecdn.com/a32292fd-9d68-46e5-b7b5-771a97138586/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/a32292fd-9d68-46e5-b7b5-771a97138586/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:19:15.259087Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
365
+ http_version:
366
+ recorded_at: Sun, 29 Oct 2017 17:19:21 GMT
367
+ - request:
368
+ method: get
369
+ uri: https://api.uploadcare.com/groups/5c0c992f-36aa-4bb9-994c-8f7ea9764933~2/
370
+ body:
371
+ encoding: US-ASCII
372
+ string: ''
373
+ headers:
374
+ Accept:
375
+ - application/vnd.uploadcare-v0.3+json
376
+ User-Agent:
377
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
378
+ Date:
379
+ - Sun, 29 Oct 2017 17:19:45 -0000
380
+ Authorization:
381
+ - Uploadcare demopublickey:825c3236f39112368a3383eade68dc1e6c5a6227
382
+ Accept-Encoding:
383
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
384
+ response:
385
+ status:
386
+ code: 200
387
+ message: OK
388
+ headers:
389
+ Date:
390
+ - Sun, 29 Oct 2017 17:19:46 GMT
391
+ Content-Type:
392
+ - application/vnd.uploadcare-v0.3+json
393
+ Transfer-Encoding:
394
+ - chunked
395
+ Connection:
396
+ - keep-alive
397
+ Server:
398
+ - nginx
399
+ X-Xss-Protection:
400
+ - 1; mode=block
401
+ X-Content-Type-Options:
402
+ - nosniff
403
+ Vary:
404
+ - Accept
405
+ Warning:
406
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
407
+ version 0.5, not 0.3'
408
+ Allow:
409
+ - GET, HEAD, OPTIONS
410
+ Access-Control-Allow-Origin:
411
+ - https://uploadcare.com
412
+ X-Frame-Options:
413
+ - DENY
414
+ body:
415
+ encoding: UTF-8
416
+ string: '{"id":"5c0c992f-36aa-4bb9-994c-8f7ea9764933~2","datetime_created":"2017-10-29T17:19:40.638031Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/5c0c992f-36aa-4bb9-994c-8f7ea9764933~2/","url":"https://api.uploadcare.com/groups/5c0c992f-36aa-4bb9-994c-8f7ea9764933~2/","files":[{"uuid":"2ccab9b3-c7c9-46d7-9c39-4d9eff70013b","original_file_url":"https://ucarecdn.com/2ccab9b3-c7c9-46d7-9c39-4d9eff70013b/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/2ccab9b3-c7c9-46d7-9c39-4d9eff70013b/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:19:39.897520Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"e02cea6f-cd43-4aea-ae1d-dff01a2dafb0","original_file_url":"https://ucarecdn.com/e02cea6f-cd43-4aea-ae1d-dff01a2dafb0/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/e02cea6f-cd43-4aea-ae1d-dff01a2dafb0/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:19:39.915651Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
417
+ http_version:
418
+ recorded_at: Sun, 29 Oct 2017 17:19:46 GMT
419
+ - request:
420
+ method: get
421
+ uri: https://api.uploadcare.com/groups/26b1a366-21e7-4a3b-82fa-730ddd591f48~2/
422
+ body:
423
+ encoding: US-ASCII
424
+ string: ''
425
+ headers:
426
+ Accept:
427
+ - application/vnd.uploadcare-v0.3+json
428
+ User-Agent:
429
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
430
+ Date:
431
+ - Sun, 29 Oct 2017 17:21:05 -0000
432
+ Authorization:
433
+ - Uploadcare demopublickey:472d1cb1b00627f3c781558228336b87052a2e86
434
+ Accept-Encoding:
435
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
436
+ response:
437
+ status:
438
+ code: 200
439
+ message: OK
440
+ headers:
441
+ Date:
442
+ - Sun, 29 Oct 2017 17:21:06 GMT
443
+ Content-Type:
444
+ - application/vnd.uploadcare-v0.3+json
445
+ Transfer-Encoding:
446
+ - chunked
447
+ Connection:
448
+ - keep-alive
449
+ Server:
450
+ - nginx
451
+ X-Xss-Protection:
452
+ - 1; mode=block
453
+ X-Content-Type-Options:
454
+ - nosniff
455
+ Vary:
456
+ - Accept
457
+ Warning:
458
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
459
+ version 0.5, not 0.3'
460
+ Allow:
461
+ - GET, HEAD, OPTIONS
462
+ Access-Control-Allow-Origin:
463
+ - https://uploadcare.com
464
+ X-Frame-Options:
465
+ - DENY
466
+ body:
467
+ encoding: UTF-8
468
+ string: '{"id":"26b1a366-21e7-4a3b-82fa-730ddd591f48~2","datetime_created":"2017-10-29T17:21:00.358467Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/26b1a366-21e7-4a3b-82fa-730ddd591f48~2/","url":"https://api.uploadcare.com/groups/26b1a366-21e7-4a3b-82fa-730ddd591f48~2/","files":[{"uuid":"ebc555fd-7588-4df3-8e6e-63f6e543350c","original_file_url":"https://ucarecdn.com/ebc555fd-7588-4df3-8e6e-63f6e543350c/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/ebc555fd-7588-4df3-8e6e-63f6e543350c/","original_filename":"view2.jpg","datetime_uploaded":"2017-10-29T17:20:59.608444Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"7d4d525b-a665-463c-a7e8-485d546ceffa","original_file_url":"https://ucarecdn.com/7d4d525b-a665-463c-a7e8-485d546ceffa/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/7d4d525b-a665-463c-a7e8-485d546ceffa/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:20:59.628814Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
469
+ http_version:
470
+ recorded_at: Sun, 29 Oct 2017 17:21:06 GMT
471
+ - request:
472
+ method: get
473
+ uri: https://api.uploadcare.com/groups/d6c785a8-9761-4602-88de-65ddb04ddc6a~2/
474
+ body:
475
+ encoding: US-ASCII
476
+ string: ''
477
+ headers:
478
+ Accept:
479
+ - application/vnd.uploadcare-v0.3+json
480
+ User-Agent:
481
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
482
+ Date:
483
+ - Sun, 05 Nov 2017 09:23:07 -0000
484
+ Authorization:
485
+ - Uploadcare demopublickey:ae2d361f33a902dff9f4f8a370212d7dcd9c07e4
486
+ Accept-Encoding:
487
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
488
+ response:
489
+ status:
490
+ code: 200
491
+ message: OK
492
+ headers:
493
+ Date:
494
+ - Sun, 05 Nov 2017 09:23:07 GMT
495
+ Content-Type:
496
+ - application/vnd.uploadcare-v0.3+json
497
+ Transfer-Encoding:
498
+ - chunked
499
+ Connection:
500
+ - keep-alive
501
+ Server:
502
+ - nginx
503
+ X-Xss-Protection:
504
+ - 1; mode=block
505
+ X-Content-Type-Options:
506
+ - nosniff
507
+ Vary:
508
+ - Accept
509
+ Warning:
510
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
511
+ version 0.5, not 0.3'
512
+ Allow:
513
+ - GET, HEAD, OPTIONS
514
+ Access-Control-Allow-Origin:
515
+ - https://uploadcare.com
516
+ X-Frame-Options:
517
+ - DENY
518
+ body:
519
+ encoding: UTF-8
520
+ string: '{"id":"d6c785a8-9761-4602-88de-65ddb04ddc6a~2","datetime_created":"2017-11-05T09:22:59.302130Z","datetime_stored":null,"files_count":2,"cdn_url":"http://www.ucarecdn.com/d6c785a8-9761-4602-88de-65ddb04ddc6a~2/","url":"https://api.uploadcare.com/groups/d6c785a8-9761-4602-88de-65ddb04ddc6a~2/","files":[{"uuid":"0b37b745-6637-49a1-9c00-3d8281a383e3","original_file_url":"https://ucarecdn.com/0b37b745-6637-49a1-9c00-3d8281a383e3/view2.jpg","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"datetime_stored":null,"mime_type":"image/jpeg","is_ready":true,"url":"https://api.uploadcare.com/files/0b37b745-6637-49a1-9c00-3d8281a383e3/","original_filename":"view2.jpg","datetime_uploaded":"2017-11-05T09:22:58.509252Z","size":255570,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""},{"uuid":"f839e2df-ddf8-4c10-9e7d-5a0777eddc93","original_file_url":"https://ucarecdn.com/f839e2df-ddf8-4c10-9e7d-5a0777eddc93/view.png","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"datetime_stored":null,"mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/f839e2df-ddf8-4c10-9e7d-5a0777eddc93/","original_filename":"view.png","datetime_uploaded":"2017-11-05T09:22:58.526374Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null,"default_effects":""}]}'
521
+ http_version:
522
+ recorded_at: Sun, 05 Nov 2017 09:23:08 GMT
523
+ recorded_with: VCR 3.0.3