uploadcare-rails 1.2.0.pre.alpha → 1.2.0.pre.alpha3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +5 -5
  2. data/lib/uploadcare-rails.rb +9 -2
  3. data/lib/uploadcare/rails/version.rb +1 -1
  4. data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +263 -0
  5. data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +263 -0
  6. data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +263 -0
  7. data/spec/cassettes/group_cahsing_file_load.yml +263 -0
  8. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +1763 -0
  9. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +543 -0
  10. data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +679 -0
  11. data/spec/cassettes/has_uploadcare_group_save.yml +705 -0
  12. data/spec/cassettes/load_group.yml +263 -0
  13. data/spec/dummy/db/test.sqlite3 +0 -0
  14. data/spec/dummy/log/development.log +0 -0
  15. data/spec/dummy/log/test.log +3276 -0
  16. data/spec/dummy/tmp/cache/293/091/https%3A%2F%2Fucarecdn.com%2F19073296-2315-4726-817b-46398b2c7431%7E2%2F +0 -0
  17. data/spec/dummy/tmp/cache/2AF/761/https%3A%2F%2Fucarecdn.com%2F595319d0-a113-459f-91bd-b29c7183467b%2F +0 -0
  18. data/spec/dummy/tmp/cache/301/D41/https%3A%2F%2Fucarecdn.com%2F81332043-fa2c-452f-936b-737d87ab2ae2%2F +0 -0
  19. data/spec/dummy/tmp/cache/30A/7C1/https%3A%2F%2Fucarecdn.com%2F39b34128-a001-46fd-9773-1b6ad46e6b9e%2F +0 -0
  20. data/spec/dummy/tmp/cache/340/A41/https%3A%2F%2Fucarecdn.com%2F090bcb5f-6d19-456c-b4a3-d753e690926f%2F +0 -0
  21. data/spec/dummy/tmp/cache/3AB/5A1/https%3A%2F%2Fucarecdn.com%2F7eb0161b-cebe-4316-946b-694de6f77ef9%2F +0 -0
  22. data/spec/dummy/tmp/cache/3FC/5C1/https%3A%2F%2Fucarecdn.com%2Fc3f0464b-ce9a-4281-8eaa-5c55783ccedf%2F +0 -0
  23. data/spec/dummy/tmp/cache/431/5C1/https%3A%2F%2Fucarecdn.com%2Fa1b1bb40-bd89-4f9c-b809-e84920f24a01%7E2%2F +0 -0
  24. data/spec/dummy/tmp/cache/44B/7A1/https%3A%2F%2Fucarecdn.com%2Fd6c785a8-9761-4602-88de-65ddb04ddc6a%7E2%2F +0 -0
  25. data/spec/dummy/tmp/cache/45B/F31/https%3A%2F%2Fucarecdn.com%2F73e3cdbc-6495-4cf2-bbd1-413e6cb70004%7E2%2F +0 -0
  26. data/spec/dummy/tmp/cache/461/AA1/https%3A%2F%2Fucarecdn.com%2Fc50e9a53-0b95-48ac-a4a9-6744052dbdab%7E2%2F +0 -0
  27. data/spec/tmp/config/uploadcare.yml +71 -0
  28. data/spec/uploadcare_rails_settings_spec.rb +8 -2
  29. metadata +130 -83
  30. data/spec/dummy/app/assets/javascripts/uploadcare-1.5.5.min.js +0 -16
@@ -0,0 +1,1763 @@
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:32 -0000
18
+ Authorization:
19
+ - Uploadcare demopublickey:e7c3100b0bba2b2e0d84239f2623ffe2d19607b2
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:32 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: delete
59
+ uri: https://api.uploadcare.com/files/913a5ee4-123c-4076-bc66-3ff5a3966ac0/storage/
60
+ body:
61
+ encoding: US-ASCII
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
+ Date:
69
+ - Sat, 21 Oct 2017 13:40:32 -0000
70
+ Authorization:
71
+ - Uploadcare demopublickey:01a56a3b39abc00b40d4cefb7f634214da09edae
72
+ Accept-Encoding:
73
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
74
+ response:
75
+ status:
76
+ code: 302
77
+ message: Found
78
+ headers:
79
+ Date:
80
+ - Sat, 21 Oct 2017 13:40:34 GMT
81
+ Content-Type:
82
+ - text/html; charset=utf-8
83
+ Transfer-Encoding:
84
+ - chunked
85
+ Connection:
86
+ - keep-alive
87
+ Server:
88
+ - nginx
89
+ X-Xss-Protection:
90
+ - 1; mode=block
91
+ X-Content-Type-Options:
92
+ - nosniff
93
+ Vary:
94
+ - Accept
95
+ Warning:
96
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
97
+ version 0.5, not 0.3'
98
+ Location:
99
+ - "/files/913a5ee4-123c-4076-bc66-3ff5a3966ac0/"
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: ''
109
+ http_version:
110
+ recorded_at: Sat, 21 Oct 2017 13:40:34 GMT
111
+ - request:
112
+ method: get
113
+ uri: https://api.uploadcare.com/files/913a5ee4-123c-4076-bc66-3ff5a3966ac0/
114
+ body:
115
+ encoding: US-ASCII
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
+ Date:
123
+ - Sat, 21 Oct 2017 13:40:34 -0000
124
+ Authorization:
125
+ - Uploadcare demopublickey:7e5363a7ce2cd7e764756f82d901667d89178db7
126
+ Accept-Encoding:
127
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
128
+ response:
129
+ status:
130
+ code: 200
131
+ message: OK
132
+ headers:
133
+ Date:
134
+ - Sat, 21 Oct 2017 13:40:34 GMT
135
+ Content-Type:
136
+ - application/vnd.uploadcare-v0.3+json
137
+ Transfer-Encoding:
138
+ - chunked
139
+ Connection:
140
+ - keep-alive
141
+ Server:
142
+ - nginx
143
+ X-Xss-Protection:
144
+ - 1; mode=block
145
+ X-Content-Type-Options:
146
+ - nosniff
147
+ Vary:
148
+ - Accept
149
+ Warning:
150
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
151
+ version 0.5, not 0.3'
152
+ Allow:
153
+ - GET, DELETE, HEAD, OPTIONS
154
+ Access-Control-Allow-Origin:
155
+ - https://uploadcare.com
156
+ X-Frame-Options:
157
+ - DENY
158
+ body:
159
+ encoding: UTF-8
160
+ string: '{"uuid":"913a5ee4-123c-4076-bc66-3ff5a3966ac0","original_file_url":null,"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/913a5ee4-123c-4076-bc66-3ff5a3966ac0/","original_filename":"view.png","datetime_uploaded":"2017-10-21T13:40:26.646680Z","size":2785,"is_image":true,"datetime_removed":"2017-10-21T13:40:33.349320Z","source":null,"variations":null}'
161
+ http_version:
162
+ recorded_at: Sat, 21 Oct 2017 13:40:35 GMT
163
+ - request:
164
+ method: put
165
+ uri: https://api.uploadcare.com/files/090bcb5f-6d19-456c-b4a3-d753e690926f/storage/
166
+ body:
167
+ encoding: UTF-8
168
+ string: ''
169
+ headers:
170
+ Accept:
171
+ - application/vnd.uploadcare-v0.3+json
172
+ User-Agent:
173
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
174
+ Content-Type:
175
+ - application/x-www-form-urlencoded
176
+ Date:
177
+ - Sun, 29 Oct 2017 17:15:11 -0000
178
+ Authorization:
179
+ - Uploadcare demopublickey:86db5dfcf74f38c93df3a5197418ac7627f95a97
180
+ Accept-Encoding:
181
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
182
+ response:
183
+ status:
184
+ code: 200
185
+ message: OK
186
+ headers:
187
+ Date:
188
+ - Sun, 29 Oct 2017 17:15:12 GMT
189
+ Content-Type:
190
+ - application/vnd.uploadcare-v0.3+json
191
+ Transfer-Encoding:
192
+ - chunked
193
+ Connection:
194
+ - keep-alive
195
+ Server:
196
+ - nginx
197
+ X-Xss-Protection:
198
+ - 1; mode=block
199
+ X-Content-Type-Options:
200
+ - nosniff
201
+ Vary:
202
+ - Accept
203
+ Warning:
204
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
205
+ version 0.5, not 0.3'
206
+ Allow:
207
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
208
+ Access-Control-Allow-Origin:
209
+ - https://uploadcare.com
210
+ X-Frame-Options:
211
+ - DENY
212
+ body:
213
+ encoding: UTF-8
214
+ string: '{"uuid":"090bcb5f-6d19-456c-b4a3-d753e690926f","original_file_url":"https://ucarecdn.com/090bcb5f-6d19-456c-b4a3-d753e690926f/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:12.530355Z","mime_type":"image/png","is_ready":true,"url":"https://api.uploadcare.com/files/090bcb5f-6d19-456c-b4a3-d753e690926f/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:15:08.189266Z","size":2785,"is_image":true,"datetime_removed":null,"source":null,"variations":null}'
215
+ http_version:
216
+ recorded_at: Sun, 29 Oct 2017 17:15:13 GMT
217
+ - request:
218
+ method: delete
219
+ uri: https://api.uploadcare.com/files/090bcb5f-6d19-456c-b4a3-d753e690926f/storage/
220
+ body:
221
+ encoding: US-ASCII
222
+ string: ''
223
+ headers:
224
+ Accept:
225
+ - application/vnd.uploadcare-v0.3+json
226
+ User-Agent:
227
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
228
+ Date:
229
+ - Sun, 29 Oct 2017 17:15:13 -0000
230
+ Authorization:
231
+ - Uploadcare demopublickey:5b3e903ed7b9b55e0f2e6e7f87ca0806acd86b97
232
+ Accept-Encoding:
233
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
234
+ response:
235
+ status:
236
+ code: 302
237
+ message: Found
238
+ headers:
239
+ Date:
240
+ - Sun, 29 Oct 2017 17:15:14 GMT
241
+ Content-Type:
242
+ - text/html; charset=utf-8
243
+ Transfer-Encoding:
244
+ - chunked
245
+ Connection:
246
+ - keep-alive
247
+ Server:
248
+ - nginx
249
+ X-Xss-Protection:
250
+ - 1; mode=block
251
+ X-Content-Type-Options:
252
+ - nosniff
253
+ Vary:
254
+ - Accept
255
+ Warning:
256
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
257
+ version 0.5, not 0.3'
258
+ Location:
259
+ - "/files/090bcb5f-6d19-456c-b4a3-d753e690926f/"
260
+ Allow:
261
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
262
+ Access-Control-Allow-Origin:
263
+ - https://uploadcare.com
264
+ X-Frame-Options:
265
+ - DENY
266
+ body:
267
+ encoding: UTF-8
268
+ string: ''
269
+ http_version:
270
+ recorded_at: Sun, 29 Oct 2017 17:15:14 GMT
271
+ - request:
272
+ method: get
273
+ uri: https://api.uploadcare.com/files/090bcb5f-6d19-456c-b4a3-d753e690926f/
274
+ body:
275
+ encoding: US-ASCII
276
+ string: ''
277
+ headers:
278
+ Accept:
279
+ - application/vnd.uploadcare-v0.3+json
280
+ User-Agent:
281
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
282
+ Date:
283
+ - Sun, 29 Oct 2017 17:15:14 -0000
284
+ Authorization:
285
+ - Uploadcare demopublickey:2287dbcc2e6d9c870a2fe4e19dd4708e0f1663c0
286
+ Accept-Encoding:
287
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
288
+ response:
289
+ status:
290
+ code: 200
291
+ message: OK
292
+ headers:
293
+ Date:
294
+ - Sun, 29 Oct 2017 17:15:15 GMT
295
+ Content-Type:
296
+ - application/vnd.uploadcare-v0.3+json
297
+ Transfer-Encoding:
298
+ - chunked
299
+ Connection:
300
+ - keep-alive
301
+ Server:
302
+ - nginx
303
+ X-Xss-Protection:
304
+ - 1; mode=block
305
+ X-Content-Type-Options:
306
+ - nosniff
307
+ Vary:
308
+ - Accept
309
+ Warning:
310
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
311
+ version 0.5, not 0.3'
312
+ Allow:
313
+ - GET, DELETE, HEAD, OPTIONS
314
+ Access-Control-Allow-Origin:
315
+ - https://uploadcare.com
316
+ X-Frame-Options:
317
+ - DENY
318
+ body:
319
+ encoding: UTF-8
320
+ string: '{"uuid":"090bcb5f-6d19-456c-b4a3-d753e690926f","original_file_url":null,"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/090bcb5f-6d19-456c-b4a3-d753e690926f/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:15:08.189266Z","size":2785,"is_image":true,"datetime_removed":"2017-10-29T17:15:13.873291Z","source":null,"variations":null}'
321
+ http_version:
322
+ recorded_at: Sun, 29 Oct 2017 17:15:15 GMT
323
+ - request:
324
+ method: put
325
+ uri: https://api.uploadcare.com/files/39b34128-a001-46fd-9773-1b6ad46e6b9e/storage/
326
+ body:
327
+ encoding: UTF-8
328
+ string: ''
329
+ headers:
330
+ Accept:
331
+ - application/vnd.uploadcare-v0.3+json
332
+ User-Agent:
333
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
334
+ Content-Type:
335
+ - application/x-www-form-urlencoded
336
+ Date:
337
+ - Sun, 29 Oct 2017 17:15:32 -0000
338
+ Authorization:
339
+ - Uploadcare demopublickey:ddfa4cc1fcfe94e3f0ee46649a7c61fbb6ce5263
340
+ Accept-Encoding:
341
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
342
+ response:
343
+ status:
344
+ code: 200
345
+ message: OK
346
+ headers:
347
+ Date:
348
+ - Sun, 29 Oct 2017 17:15:33 GMT
349
+ Content-Type:
350
+ - application/vnd.uploadcare-v0.3+json
351
+ Transfer-Encoding:
352
+ - chunked
353
+ Connection:
354
+ - keep-alive
355
+ Server:
356
+ - nginx
357
+ X-Xss-Protection:
358
+ - 1; mode=block
359
+ X-Content-Type-Options:
360
+ - nosniff
361
+ Vary:
362
+ - Accept
363
+ Warning:
364
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
365
+ version 0.5, not 0.3'
366
+ Allow:
367
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
368
+ Access-Control-Allow-Origin:
369
+ - https://uploadcare.com
370
+ X-Frame-Options:
371
+ - DENY
372
+ body:
373
+ encoding: UTF-8
374
+ 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}'
375
+ http_version:
376
+ recorded_at: Sun, 29 Oct 2017 17:15:33 GMT
377
+ - request:
378
+ method: delete
379
+ uri: https://api.uploadcare.com/files/39b34128-a001-46fd-9773-1b6ad46e6b9e/storage/
380
+ body:
381
+ encoding: US-ASCII
382
+ string: ''
383
+ headers:
384
+ Accept:
385
+ - application/vnd.uploadcare-v0.3+json
386
+ User-Agent:
387
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
388
+ Date:
389
+ - Sun, 29 Oct 2017 17:15:33 -0000
390
+ Authorization:
391
+ - Uploadcare demopublickey:f31d99e820c9f75214c15c78376969b9ae03bef1
392
+ Accept-Encoding:
393
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
394
+ response:
395
+ status:
396
+ code: 302
397
+ message: Found
398
+ headers:
399
+ Date:
400
+ - Sun, 29 Oct 2017 17:15:34 GMT
401
+ Content-Type:
402
+ - text/html; charset=utf-8
403
+ Transfer-Encoding:
404
+ - chunked
405
+ Connection:
406
+ - keep-alive
407
+ Server:
408
+ - nginx
409
+ X-Xss-Protection:
410
+ - 1; mode=block
411
+ X-Content-Type-Options:
412
+ - nosniff
413
+ Vary:
414
+ - Accept
415
+ Warning:
416
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
417
+ version 0.5, not 0.3'
418
+ Location:
419
+ - "/files/39b34128-a001-46fd-9773-1b6ad46e6b9e/"
420
+ Allow:
421
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
422
+ Access-Control-Allow-Origin:
423
+ - https://uploadcare.com
424
+ X-Frame-Options:
425
+ - DENY
426
+ body:
427
+ encoding: UTF-8
428
+ string: ''
429
+ http_version:
430
+ recorded_at: Sun, 29 Oct 2017 17:15:34 GMT
431
+ - request:
432
+ method: get
433
+ uri: https://api.uploadcare.com/files/39b34128-a001-46fd-9773-1b6ad46e6b9e/
434
+ body:
435
+ encoding: US-ASCII
436
+ string: ''
437
+ headers:
438
+ Accept:
439
+ - application/vnd.uploadcare-v0.3+json
440
+ User-Agent:
441
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
442
+ Date:
443
+ - Sun, 29 Oct 2017 17:15:34 -0000
444
+ Authorization:
445
+ - Uploadcare demopublickey:445515638d3ddeb9e50f7f093a548f5cbe0b8ba5
446
+ Accept-Encoding:
447
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
448
+ response:
449
+ status:
450
+ code: 200
451
+ message: OK
452
+ headers:
453
+ Date:
454
+ - Sun, 29 Oct 2017 17:15:34 GMT
455
+ Content-Type:
456
+ - application/vnd.uploadcare-v0.3+json
457
+ Transfer-Encoding:
458
+ - chunked
459
+ Connection:
460
+ - keep-alive
461
+ Server:
462
+ - nginx
463
+ X-Xss-Protection:
464
+ - 1; mode=block
465
+ X-Content-Type-Options:
466
+ - nosniff
467
+ Vary:
468
+ - Accept
469
+ Warning:
470
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
471
+ version 0.5, not 0.3'
472
+ Allow:
473
+ - GET, DELETE, HEAD, OPTIONS
474
+ Access-Control-Allow-Origin:
475
+ - https://uploadcare.com
476
+ X-Frame-Options:
477
+ - DENY
478
+ body:
479
+ encoding: UTF-8
480
+ string: '{"uuid":"39b34128-a001-46fd-9773-1b6ad46e6b9e","original_file_url":null,"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/39b34128-a001-46fd-9773-1b6ad46e6b9e/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:15:28.147830Z","size":2785,"is_image":true,"datetime_removed":"2017-10-29T17:15:34.025271Z","source":null,"variations":null}'
481
+ http_version:
482
+ recorded_at: Sun, 29 Oct 2017 17:15:34 GMT
483
+ - request:
484
+ method: put
485
+ uri: https://api.uploadcare.com/files/595319d0-a113-459f-91bd-b29c7183467b/storage/
486
+ body:
487
+ encoding: UTF-8
488
+ string: ''
489
+ headers:
490
+ Accept:
491
+ - application/vnd.uploadcare-v0.3+json
492
+ User-Agent:
493
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
494
+ Content-Type:
495
+ - application/x-www-form-urlencoded
496
+ Date:
497
+ - Sun, 29 Oct 2017 17:17:13 -0000
498
+ Authorization:
499
+ - Uploadcare demopublickey:568f9e5406cda288790a28e89fbbac98237663ab
500
+ Accept-Encoding:
501
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
502
+ response:
503
+ status:
504
+ code: 200
505
+ message: OK
506
+ headers:
507
+ Date:
508
+ - Sun, 29 Oct 2017 17:17:13 GMT
509
+ Content-Type:
510
+ - application/vnd.uploadcare-v0.3+json
511
+ Transfer-Encoding:
512
+ - chunked
513
+ Connection:
514
+ - keep-alive
515
+ Server:
516
+ - nginx
517
+ X-Xss-Protection:
518
+ - 1; mode=block
519
+ X-Content-Type-Options:
520
+ - nosniff
521
+ Vary:
522
+ - Accept
523
+ Warning:
524
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
525
+ version 0.5, not 0.3'
526
+ Allow:
527
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
528
+ Access-Control-Allow-Origin:
529
+ - https://uploadcare.com
530
+ X-Frame-Options:
531
+ - DENY
532
+ body:
533
+ encoding: UTF-8
534
+ 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}'
535
+ http_version:
536
+ recorded_at: Sun, 29 Oct 2017 17:17:13 GMT
537
+ - request:
538
+ method: delete
539
+ uri: https://api.uploadcare.com/files/595319d0-a113-459f-91bd-b29c7183467b/storage/
540
+ body:
541
+ encoding: US-ASCII
542
+ string: ''
543
+ headers:
544
+ Accept:
545
+ - application/vnd.uploadcare-v0.3+json
546
+ User-Agent:
547
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
548
+ Date:
549
+ - Sun, 29 Oct 2017 17:17:13 -0000
550
+ Authorization:
551
+ - Uploadcare demopublickey:8b4892295e29c7062356b7e51dcb7f2ece0f5913
552
+ Accept-Encoding:
553
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
554
+ response:
555
+ status:
556
+ code: 302
557
+ message: Found
558
+ headers:
559
+ Date:
560
+ - Sun, 29 Oct 2017 17:17:14 GMT
561
+ Content-Type:
562
+ - text/html; charset=utf-8
563
+ Transfer-Encoding:
564
+ - chunked
565
+ Connection:
566
+ - keep-alive
567
+ Server:
568
+ - nginx
569
+ X-Xss-Protection:
570
+ - 1; mode=block
571
+ X-Content-Type-Options:
572
+ - nosniff
573
+ Vary:
574
+ - Accept
575
+ Warning:
576
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
577
+ version 0.5, not 0.3'
578
+ Location:
579
+ - "/files/595319d0-a113-459f-91bd-b29c7183467b/"
580
+ Allow:
581
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
582
+ Access-Control-Allow-Origin:
583
+ - https://uploadcare.com
584
+ X-Frame-Options:
585
+ - DENY
586
+ body:
587
+ encoding: UTF-8
588
+ string: ''
589
+ http_version:
590
+ recorded_at: Sun, 29 Oct 2017 17:17:14 GMT
591
+ - request:
592
+ method: get
593
+ uri: https://api.uploadcare.com/files/595319d0-a113-459f-91bd-b29c7183467b/
594
+ body:
595
+ encoding: US-ASCII
596
+ string: ''
597
+ headers:
598
+ Accept:
599
+ - application/vnd.uploadcare-v0.3+json
600
+ User-Agent:
601
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
602
+ Date:
603
+ - Sun, 29 Oct 2017 17:17:14 -0000
604
+ Authorization:
605
+ - Uploadcare demopublickey:65934cbb52f889cf4a82a6f6150227137d0ba2c6
606
+ Accept-Encoding:
607
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
608
+ response:
609
+ status:
610
+ code: 200
611
+ message: OK
612
+ headers:
613
+ Date:
614
+ - Sun, 29 Oct 2017 17:17:15 GMT
615
+ Content-Type:
616
+ - application/vnd.uploadcare-v0.3+json
617
+ Transfer-Encoding:
618
+ - chunked
619
+ Connection:
620
+ - keep-alive
621
+ Server:
622
+ - nginx
623
+ X-Xss-Protection:
624
+ - 1; mode=block
625
+ X-Content-Type-Options:
626
+ - nosniff
627
+ Vary:
628
+ - Accept
629
+ Warning:
630
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
631
+ version 0.5, not 0.3'
632
+ Allow:
633
+ - GET, DELETE, HEAD, OPTIONS
634
+ Access-Control-Allow-Origin:
635
+ - https://uploadcare.com
636
+ X-Frame-Options:
637
+ - DENY
638
+ body:
639
+ encoding: UTF-8
640
+ string: '{"uuid":"595319d0-a113-459f-91bd-b29c7183467b","original_file_url":null,"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/595319d0-a113-459f-91bd-b29c7183467b/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:17:08.532242Z","size":2785,"is_image":true,"datetime_removed":"2017-10-29T17:17:14.410486Z","source":null,"variations":null}'
641
+ http_version:
642
+ recorded_at: Sun, 29 Oct 2017 17:17:15 GMT
643
+ - request:
644
+ method: put
645
+ uri: https://api.uploadcare.com/files/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/storage/
646
+ body:
647
+ encoding: UTF-8
648
+ string: ''
649
+ headers:
650
+ Accept:
651
+ - application/vnd.uploadcare-v0.3+json
652
+ User-Agent:
653
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
654
+ Content-Type:
655
+ - application/x-www-form-urlencoded
656
+ Date:
657
+ - Sun, 29 Oct 2017 17:19:17 -0000
658
+ Authorization:
659
+ - Uploadcare demopublickey:e1d3e9069c016a626fd8f8aee6fbfe1811938351
660
+ Accept-Encoding:
661
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
662
+ response:
663
+ status:
664
+ code: 200
665
+ message: OK
666
+ headers:
667
+ Date:
668
+ - Sun, 29 Oct 2017 17:19:18 GMT
669
+ Content-Type:
670
+ - application/vnd.uploadcare-v0.3+json
671
+ Transfer-Encoding:
672
+ - chunked
673
+ Connection:
674
+ - keep-alive
675
+ Server:
676
+ - nginx
677
+ X-Xss-Protection:
678
+ - 1; mode=block
679
+ X-Content-Type-Options:
680
+ - nosniff
681
+ Vary:
682
+ - Accept
683
+ Warning:
684
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
685
+ version 0.5, not 0.3'
686
+ Allow:
687
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
688
+ Access-Control-Allow-Origin:
689
+ - https://uploadcare.com
690
+ X-Frame-Options:
691
+ - DENY
692
+ body:
693
+ encoding: UTF-8
694
+ 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}'
695
+ http_version:
696
+ recorded_at: Sun, 29 Oct 2017 17:19:18 GMT
697
+ - request:
698
+ method: delete
699
+ uri: https://api.uploadcare.com/files/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/storage/
700
+ body:
701
+ encoding: US-ASCII
702
+ string: ''
703
+ headers:
704
+ Accept:
705
+ - application/vnd.uploadcare-v0.3+json
706
+ User-Agent:
707
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
708
+ Date:
709
+ - Sun, 29 Oct 2017 17:19:18 -0000
710
+ Authorization:
711
+ - Uploadcare demopublickey:0f160a59836f3d79ad52500740aaf689d5205860
712
+ Accept-Encoding:
713
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
714
+ response:
715
+ status:
716
+ code: 302
717
+ message: Found
718
+ headers:
719
+ Date:
720
+ - Sun, 29 Oct 2017 17:19:19 GMT
721
+ Content-Type:
722
+ - text/html; charset=utf-8
723
+ Transfer-Encoding:
724
+ - chunked
725
+ Connection:
726
+ - keep-alive
727
+ Server:
728
+ - nginx
729
+ X-Xss-Protection:
730
+ - 1; mode=block
731
+ X-Content-Type-Options:
732
+ - nosniff
733
+ Vary:
734
+ - Accept
735
+ Warning:
736
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
737
+ version 0.5, not 0.3'
738
+ Location:
739
+ - "/files/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/"
740
+ Allow:
741
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
742
+ Access-Control-Allow-Origin:
743
+ - https://uploadcare.com
744
+ X-Frame-Options:
745
+ - DENY
746
+ body:
747
+ encoding: UTF-8
748
+ string: ''
749
+ http_version:
750
+ recorded_at: Sun, 29 Oct 2017 17:19:19 GMT
751
+ - request:
752
+ method: get
753
+ uri: https://api.uploadcare.com/files/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/
754
+ body:
755
+ encoding: US-ASCII
756
+ string: ''
757
+ headers:
758
+ Accept:
759
+ - application/vnd.uploadcare-v0.3+json
760
+ User-Agent:
761
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
762
+ Date:
763
+ - Sun, 29 Oct 2017 17:19:19 -0000
764
+ Authorization:
765
+ - Uploadcare demopublickey:c9ba2c4f3327dedb5ed6dd67097097227c745be7
766
+ Accept-Encoding:
767
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
768
+ response:
769
+ status:
770
+ code: 200
771
+ message: OK
772
+ headers:
773
+ Date:
774
+ - Sun, 29 Oct 2017 17:19:20 GMT
775
+ Content-Type:
776
+ - application/vnd.uploadcare-v0.3+json
777
+ Transfer-Encoding:
778
+ - chunked
779
+ Connection:
780
+ - keep-alive
781
+ Server:
782
+ - nginx
783
+ X-Xss-Protection:
784
+ - 1; mode=block
785
+ X-Content-Type-Options:
786
+ - nosniff
787
+ Vary:
788
+ - Accept
789
+ Warning:
790
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
791
+ version 0.5, not 0.3'
792
+ Allow:
793
+ - GET, DELETE, HEAD, OPTIONS
794
+ Access-Control-Allow-Origin:
795
+ - https://uploadcare.com
796
+ X-Frame-Options:
797
+ - DENY
798
+ body:
799
+ encoding: UTF-8
800
+ string: '{"uuid":"c3f0464b-ce9a-4281-8eaa-5c55783ccedf","original_file_url":null,"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/c3f0464b-ce9a-4281-8eaa-5c55783ccedf/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:19:13.268781Z","size":2785,"is_image":true,"datetime_removed":"2017-10-29T17:19:19.147075Z","source":null,"variations":null}'
801
+ http_version:
802
+ recorded_at: Sun, 29 Oct 2017 17:19:20 GMT
803
+ - request:
804
+ method: put
805
+ uri: https://api.uploadcare.com/files/81332043-fa2c-452f-936b-737d87ab2ae2/storage/
806
+ body:
807
+ encoding: UTF-8
808
+ string: ''
809
+ headers:
810
+ Accept:
811
+ - application/vnd.uploadcare-v0.3+json
812
+ User-Agent:
813
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
814
+ Content-Type:
815
+ - application/x-www-form-urlencoded
816
+ Date:
817
+ - Sun, 29 Oct 2017 17:19:42 -0000
818
+ Authorization:
819
+ - Uploadcare demopublickey:081bcb14c6164492466c41a781199384a5140505
820
+ Accept-Encoding:
821
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
822
+ response:
823
+ status:
824
+ code: 200
825
+ message: OK
826
+ headers:
827
+ Date:
828
+ - Sun, 29 Oct 2017 17:19:43 GMT
829
+ Content-Type:
830
+ - application/vnd.uploadcare-v0.3+json
831
+ Transfer-Encoding:
832
+ - chunked
833
+ Connection:
834
+ - keep-alive
835
+ Server:
836
+ - nginx
837
+ X-Xss-Protection:
838
+ - 1; mode=block
839
+ X-Content-Type-Options:
840
+ - nosniff
841
+ Vary:
842
+ - Accept
843
+ Warning:
844
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
845
+ version 0.5, not 0.3'
846
+ Allow:
847
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
848
+ Access-Control-Allow-Origin:
849
+ - https://uploadcare.com
850
+ X-Frame-Options:
851
+ - DENY
852
+ body:
853
+ encoding: UTF-8
854
+ 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}'
855
+ http_version:
856
+ recorded_at: Sun, 29 Oct 2017 17:19:43 GMT
857
+ - request:
858
+ method: delete
859
+ uri: https://api.uploadcare.com/files/81332043-fa2c-452f-936b-737d87ab2ae2/storage/
860
+ body:
861
+ encoding: US-ASCII
862
+ string: ''
863
+ headers:
864
+ Accept:
865
+ - application/vnd.uploadcare-v0.3+json
866
+ User-Agent:
867
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
868
+ Date:
869
+ - Sun, 29 Oct 2017 17:19:43 -0000
870
+ Authorization:
871
+ - Uploadcare demopublickey:13a814f8f06731c0b25cbd5869d31c938a43fe25
872
+ Accept-Encoding:
873
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
874
+ response:
875
+ status:
876
+ code: 302
877
+ message: Found
878
+ headers:
879
+ Date:
880
+ - Sun, 29 Oct 2017 17:19:44 GMT
881
+ Content-Type:
882
+ - text/html; charset=utf-8
883
+ Transfer-Encoding:
884
+ - chunked
885
+ Connection:
886
+ - keep-alive
887
+ Server:
888
+ - nginx
889
+ X-Xss-Protection:
890
+ - 1; mode=block
891
+ X-Content-Type-Options:
892
+ - nosniff
893
+ Vary:
894
+ - Accept
895
+ Warning:
896
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
897
+ version 0.5, not 0.3'
898
+ Location:
899
+ - "/files/81332043-fa2c-452f-936b-737d87ab2ae2/"
900
+ Allow:
901
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
902
+ Access-Control-Allow-Origin:
903
+ - https://uploadcare.com
904
+ X-Frame-Options:
905
+ - DENY
906
+ body:
907
+ encoding: UTF-8
908
+ string: ''
909
+ http_version:
910
+ recorded_at: Sun, 29 Oct 2017 17:19:44 GMT
911
+ - request:
912
+ method: get
913
+ uri: https://api.uploadcare.com/files/81332043-fa2c-452f-936b-737d87ab2ae2/
914
+ body:
915
+ encoding: US-ASCII
916
+ string: ''
917
+ headers:
918
+ Accept:
919
+ - application/vnd.uploadcare-v0.3+json
920
+ User-Agent:
921
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
922
+ Date:
923
+ - Sun, 29 Oct 2017 17:19:44 -0000
924
+ Authorization:
925
+ - Uploadcare demopublickey:5a04635a98a41b347a647102982766dec5a21e0a
926
+ Accept-Encoding:
927
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
928
+ response:
929
+ status:
930
+ code: 200
931
+ message: OK
932
+ headers:
933
+ Date:
934
+ - Sun, 29 Oct 2017 17:19:45 GMT
935
+ Content-Type:
936
+ - application/vnd.uploadcare-v0.3+json
937
+ Transfer-Encoding:
938
+ - chunked
939
+ Connection:
940
+ - keep-alive
941
+ Server:
942
+ - nginx
943
+ X-Xss-Protection:
944
+ - 1; mode=block
945
+ X-Content-Type-Options:
946
+ - nosniff
947
+ Vary:
948
+ - Accept
949
+ Warning:
950
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
951
+ version 0.5, not 0.3'
952
+ Allow:
953
+ - GET, DELETE, HEAD, OPTIONS
954
+ Access-Control-Allow-Origin:
955
+ - https://uploadcare.com
956
+ X-Frame-Options:
957
+ - DENY
958
+ body:
959
+ encoding: UTF-8
960
+ string: '{"uuid":"81332043-fa2c-452f-936b-737d87ab2ae2","original_file_url":null,"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/81332043-fa2c-452f-936b-737d87ab2ae2/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:19:37.985219Z","size":2785,"is_image":true,"datetime_removed":"2017-10-29T17:19:44.562044Z","source":null,"variations":null}'
961
+ http_version:
962
+ recorded_at: Sun, 29 Oct 2017 17:19:45 GMT
963
+ - request:
964
+ method: put
965
+ uri: https://api.uploadcare.com/files/7eb0161b-cebe-4316-946b-694de6f77ef9/storage/
966
+ body:
967
+ encoding: UTF-8
968
+ string: ''
969
+ headers:
970
+ Accept:
971
+ - application/vnd.uploadcare-v0.3+json
972
+ User-Agent:
973
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
974
+ Content-Type:
975
+ - application/x-www-form-urlencoded
976
+ Date:
977
+ - Sun, 29 Oct 2017 17:21:02 -0000
978
+ Authorization:
979
+ - Uploadcare demopublickey:5ce838539c081b9b783e19d76fc568ef7659bb95
980
+ Accept-Encoding:
981
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
982
+ response:
983
+ status:
984
+ code: 200
985
+ message: OK
986
+ headers:
987
+ Date:
988
+ - Sun, 29 Oct 2017 17:21:02 GMT
989
+ Content-Type:
990
+ - application/vnd.uploadcare-v0.3+json
991
+ Transfer-Encoding:
992
+ - chunked
993
+ Connection:
994
+ - keep-alive
995
+ Server:
996
+ - nginx
997
+ X-Xss-Protection:
998
+ - 1; mode=block
999
+ X-Content-Type-Options:
1000
+ - nosniff
1001
+ Vary:
1002
+ - Accept
1003
+ Warning:
1004
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1005
+ version 0.5, not 0.3'
1006
+ Allow:
1007
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1008
+ Access-Control-Allow-Origin:
1009
+ - https://uploadcare.com
1010
+ X-Frame-Options:
1011
+ - DENY
1012
+ body:
1013
+ encoding: UTF-8
1014
+ 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}'
1015
+ http_version:
1016
+ recorded_at: Sun, 29 Oct 2017 17:21:02 GMT
1017
+ - request:
1018
+ method: delete
1019
+ uri: https://api.uploadcare.com/files/7eb0161b-cebe-4316-946b-694de6f77ef9/storage/
1020
+ body:
1021
+ encoding: US-ASCII
1022
+ string: ''
1023
+ headers:
1024
+ Accept:
1025
+ - application/vnd.uploadcare-v0.3+json
1026
+ User-Agent:
1027
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1028
+ Date:
1029
+ - Sun, 29 Oct 2017 17:21:02 -0000
1030
+ Authorization:
1031
+ - Uploadcare demopublickey:02ceeababe9aba18a5424c09f36750ec037c1abb
1032
+ Accept-Encoding:
1033
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1034
+ response:
1035
+ status:
1036
+ code: 302
1037
+ message: Found
1038
+ headers:
1039
+ Date:
1040
+ - Sun, 29 Oct 2017 17:21:04 GMT
1041
+ Content-Type:
1042
+ - text/html; charset=utf-8
1043
+ Transfer-Encoding:
1044
+ - chunked
1045
+ Connection:
1046
+ - keep-alive
1047
+ Server:
1048
+ - nginx
1049
+ X-Xss-Protection:
1050
+ - 1; mode=block
1051
+ X-Content-Type-Options:
1052
+ - nosniff
1053
+ Vary:
1054
+ - Accept
1055
+ Warning:
1056
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1057
+ version 0.5, not 0.3'
1058
+ Location:
1059
+ - "/files/7eb0161b-cebe-4316-946b-694de6f77ef9/"
1060
+ Allow:
1061
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1062
+ Access-Control-Allow-Origin:
1063
+ - https://uploadcare.com
1064
+ X-Frame-Options:
1065
+ - DENY
1066
+ body:
1067
+ encoding: UTF-8
1068
+ string: ''
1069
+ http_version:
1070
+ recorded_at: Sun, 29 Oct 2017 17:21:04 GMT
1071
+ - request:
1072
+ method: get
1073
+ uri: https://api.uploadcare.com/files/7eb0161b-cebe-4316-946b-694de6f77ef9/
1074
+ body:
1075
+ encoding: US-ASCII
1076
+ string: ''
1077
+ headers:
1078
+ Accept:
1079
+ - application/vnd.uploadcare-v0.3+json
1080
+ User-Agent:
1081
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1082
+ Date:
1083
+ - Sun, 29 Oct 2017 17:21:04 -0000
1084
+ Authorization:
1085
+ - Uploadcare demopublickey:9f7b4d5fb743298d7a74abfc0f0a03e598f89a48
1086
+ Accept-Encoding:
1087
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1088
+ response:
1089
+ status:
1090
+ code: 200
1091
+ message: OK
1092
+ headers:
1093
+ Date:
1094
+ - Sun, 29 Oct 2017 17:21:05 GMT
1095
+ Content-Type:
1096
+ - application/vnd.uploadcare-v0.3+json
1097
+ Transfer-Encoding:
1098
+ - chunked
1099
+ Connection:
1100
+ - keep-alive
1101
+ Server:
1102
+ - nginx
1103
+ X-Xss-Protection:
1104
+ - 1; mode=block
1105
+ X-Content-Type-Options:
1106
+ - nosniff
1107
+ Vary:
1108
+ - Accept
1109
+ Warning:
1110
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1111
+ version 0.5, not 0.3'
1112
+ Allow:
1113
+ - GET, DELETE, HEAD, OPTIONS
1114
+ Access-Control-Allow-Origin:
1115
+ - https://uploadcare.com
1116
+ X-Frame-Options:
1117
+ - DENY
1118
+ body:
1119
+ encoding: UTF-8
1120
+ string: '{"uuid":"7eb0161b-cebe-4316-946b-694de6f77ef9","original_file_url":null,"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/7eb0161b-cebe-4316-946b-694de6f77ef9/","original_filename":"view.png","datetime_uploaded":"2017-10-29T17:20:57.720104Z","size":2785,"is_image":true,"datetime_removed":"2017-10-29T17:21:03.513142Z","source":null,"variations":null}'
1121
+ http_version:
1122
+ recorded_at: Sun, 29 Oct 2017 17:21:05 GMT
1123
+ - request:
1124
+ method: put
1125
+ uri: https://api.uploadcare.com/files/f6536fd7-fc46-4563-ba22-89062c277b5d/storage/
1126
+ body:
1127
+ encoding: UTF-8
1128
+ string: ''
1129
+ headers:
1130
+ Accept:
1131
+ - application/vnd.uploadcare-v0.3+json
1132
+ User-Agent:
1133
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1134
+ Content-Type:
1135
+ - application/x-www-form-urlencoded
1136
+ Date:
1137
+ - Sun, 05 Nov 2017 09:23:04 -0000
1138
+ Authorization:
1139
+ - Uploadcare demopublickey:68520cbb5c5b9b6da0420339b6e3690fea0a95de
1140
+ Accept-Encoding:
1141
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1142
+ response:
1143
+ status:
1144
+ code: 200
1145
+ message: OK
1146
+ headers:
1147
+ Date:
1148
+ - Sun, 05 Nov 2017 09:23:05 GMT
1149
+ Content-Type:
1150
+ - application/vnd.uploadcare-v0.3+json
1151
+ Transfer-Encoding:
1152
+ - chunked
1153
+ Connection:
1154
+ - keep-alive
1155
+ Server:
1156
+ - nginx
1157
+ X-Xss-Protection:
1158
+ - 1; mode=block
1159
+ X-Content-Type-Options:
1160
+ - nosniff
1161
+ Vary:
1162
+ - Accept
1163
+ Warning:
1164
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1165
+ version 0.5, not 0.3'
1166
+ Allow:
1167
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1168
+ Access-Control-Allow-Origin:
1169
+ - https://uploadcare.com
1170
+ X-Frame-Options:
1171
+ - DENY
1172
+ body:
1173
+ encoding: UTF-8
1174
+ 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}'
1175
+ http_version:
1176
+ recorded_at: Sun, 05 Nov 2017 09:23:05 GMT
1177
+ - request:
1178
+ method: delete
1179
+ uri: https://api.uploadcare.com/files/f6536fd7-fc46-4563-ba22-89062c277b5d/storage/
1180
+ body:
1181
+ encoding: US-ASCII
1182
+ string: ''
1183
+ headers:
1184
+ Accept:
1185
+ - application/vnd.uploadcare-v0.3+json
1186
+ User-Agent:
1187
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1188
+ Date:
1189
+ - Sun, 05 Nov 2017 09:23:05 -0000
1190
+ Authorization:
1191
+ - Uploadcare demopublickey:9144493d347202a0fa6b68f6580ee445209db615
1192
+ Accept-Encoding:
1193
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1194
+ response:
1195
+ status:
1196
+ code: 302
1197
+ message: Found
1198
+ headers:
1199
+ Date:
1200
+ - Sun, 05 Nov 2017 09:23:06 GMT
1201
+ Content-Type:
1202
+ - text/html; charset=utf-8
1203
+ Transfer-Encoding:
1204
+ - chunked
1205
+ Connection:
1206
+ - keep-alive
1207
+ Server:
1208
+ - nginx
1209
+ X-Xss-Protection:
1210
+ - 1; mode=block
1211
+ X-Content-Type-Options:
1212
+ - nosniff
1213
+ Vary:
1214
+ - Accept
1215
+ Warning:
1216
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1217
+ version 0.5, not 0.3'
1218
+ Location:
1219
+ - "/files/f6536fd7-fc46-4563-ba22-89062c277b5d/"
1220
+ Allow:
1221
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1222
+ Access-Control-Allow-Origin:
1223
+ - https://uploadcare.com
1224
+ X-Frame-Options:
1225
+ - DENY
1226
+ body:
1227
+ encoding: UTF-8
1228
+ string: ''
1229
+ http_version:
1230
+ recorded_at: Sun, 05 Nov 2017 09:23:06 GMT
1231
+ - request:
1232
+ method: get
1233
+ uri: https://api.uploadcare.com/files/f6536fd7-fc46-4563-ba22-89062c277b5d/
1234
+ body:
1235
+ encoding: US-ASCII
1236
+ string: ''
1237
+ headers:
1238
+ Accept:
1239
+ - application/vnd.uploadcare-v0.3+json
1240
+ User-Agent:
1241
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1242
+ Date:
1243
+ - Sun, 05 Nov 2017 09:23:06 -0000
1244
+ Authorization:
1245
+ - Uploadcare demopublickey:e4130bedbf5a6d71b003a9104c8d30f6975bb185
1246
+ Accept-Encoding:
1247
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1248
+ response:
1249
+ status:
1250
+ code: 200
1251
+ message: OK
1252
+ headers:
1253
+ Date:
1254
+ - Sun, 05 Nov 2017 09:23:06 GMT
1255
+ Content-Type:
1256
+ - application/vnd.uploadcare-v0.3+json
1257
+ Transfer-Encoding:
1258
+ - chunked
1259
+ Connection:
1260
+ - keep-alive
1261
+ Server:
1262
+ - nginx
1263
+ X-Xss-Protection:
1264
+ - 1; mode=block
1265
+ X-Content-Type-Options:
1266
+ - nosniff
1267
+ Vary:
1268
+ - Accept
1269
+ Warning:
1270
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1271
+ version 0.5, not 0.3'
1272
+ Allow:
1273
+ - GET, DELETE, HEAD, OPTIONS
1274
+ Access-Control-Allow-Origin:
1275
+ - https://uploadcare.com
1276
+ X-Frame-Options:
1277
+ - DENY
1278
+ body:
1279
+ encoding: UTF-8
1280
+ string: '{"uuid":"f6536fd7-fc46-4563-ba22-89062c277b5d","original_file_url":null,"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/f6536fd7-fc46-4563-ba22-89062c277b5d/","original_filename":"view.png","datetime_uploaded":"2017-11-05T09:22:56.619173Z","size":2785,"is_image":true,"datetime_removed":"2017-11-05T09:23:06.067445Z","source":null,"variations":null}'
1281
+ http_version:
1282
+ recorded_at: Sun, 05 Nov 2017 09:23:06 GMT
1283
+ - request:
1284
+ method: put
1285
+ uri: https://api.uploadcare.com/files/6209544c-49f0-4520-ae7b-ebbd8cdd6891/storage/
1286
+ body:
1287
+ encoding: UTF-8
1288
+ string: ''
1289
+ headers:
1290
+ Accept:
1291
+ - application/vnd.uploadcare-v0.3+json
1292
+ User-Agent:
1293
+ - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha)
1294
+ Content-Type:
1295
+ - application/x-www-form-urlencoded
1296
+ Date:
1297
+ - Fri, 25 May 2018 07:14:17 -0000
1298
+ Authorization:
1299
+ - Uploadcare demopublickey:0e5f79565aadf5a6cc2c2539926182ef4ad9b0bb
1300
+ Accept-Encoding:
1301
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1302
+ response:
1303
+ status:
1304
+ code: 200
1305
+ message: OK
1306
+ headers:
1307
+ Date:
1308
+ - Fri, 25 May 2018 07:14:20 GMT
1309
+ Content-Type:
1310
+ - application/vnd.uploadcare-v0.3+json
1311
+ Content-Length:
1312
+ - '580'
1313
+ Connection:
1314
+ - keep-alive
1315
+ Server:
1316
+ - nginx
1317
+ X-Xss-Protection:
1318
+ - 1; mode=block
1319
+ X-Content-Type-Options:
1320
+ - nosniff
1321
+ Vary:
1322
+ - Accept
1323
+ Warning:
1324
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1325
+ version 0.5, not 0.3'
1326
+ Allow:
1327
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1328
+ Access-Control-Allow-Origin:
1329
+ - https://uploadcare.com
1330
+ X-Frame-Options:
1331
+ - SAMEORIGIN
1332
+ body:
1333
+ encoding: UTF-8
1334
+ string: '{"datetime_removed":null,"datetime_stored":"2018-05-25T07:14:15.182657Z","datetime_uploaded":"2018-05-25T07:13:48.778491Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/6209544c-49f0-4520-ae7b-ebbd8cdd6891/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/6209544c-49f0-4520-ae7b-ebbd8cdd6891/","uuid":"6209544c-49f0-4520-ae7b-ebbd8cdd6891","source":null}'
1335
+ http_version:
1336
+ recorded_at: Fri, 25 May 2018 07:14:19 GMT
1337
+ - request:
1338
+ method: delete
1339
+ uri: https://api.uploadcare.com/files/6209544c-49f0-4520-ae7b-ebbd8cdd6891/storage/
1340
+ body:
1341
+ encoding: US-ASCII
1342
+ string: ''
1343
+ headers:
1344
+ Accept:
1345
+ - application/vnd.uploadcare-v0.3+json
1346
+ User-Agent:
1347
+ - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha)
1348
+ Date:
1349
+ - Fri, 25 May 2018 07:14:19 -0000
1350
+ Authorization:
1351
+ - Uploadcare demopublickey:b4307254d42f350d002c839e89abd1b05b21983d
1352
+ Accept-Encoding:
1353
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1354
+ response:
1355
+ status:
1356
+ code: 302
1357
+ message: Found
1358
+ headers:
1359
+ Date:
1360
+ - Fri, 25 May 2018 07:14:23 GMT
1361
+ Content-Type:
1362
+ - text/html; charset=utf-8
1363
+ Content-Length:
1364
+ - '0'
1365
+ Connection:
1366
+ - keep-alive
1367
+ Server:
1368
+ - nginx
1369
+ X-Xss-Protection:
1370
+ - 1; mode=block
1371
+ X-Content-Type-Options:
1372
+ - nosniff
1373
+ Vary:
1374
+ - Accept
1375
+ Warning:
1376
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1377
+ version 0.5, not 0.3'
1378
+ Location:
1379
+ - "/files/6209544c-49f0-4520-ae7b-ebbd8cdd6891/"
1380
+ Allow:
1381
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1382
+ Access-Control-Allow-Origin:
1383
+ - https://uploadcare.com
1384
+ X-Frame-Options:
1385
+ - SAMEORIGIN
1386
+ body:
1387
+ encoding: UTF-8
1388
+ string: ''
1389
+ http_version:
1390
+ recorded_at: Fri, 25 May 2018 07:14:23 GMT
1391
+ - request:
1392
+ method: get
1393
+ uri: https://api.uploadcare.com/files/6209544c-49f0-4520-ae7b-ebbd8cdd6891/
1394
+ body:
1395
+ encoding: US-ASCII
1396
+ string: ''
1397
+ headers:
1398
+ Accept:
1399
+ - application/vnd.uploadcare-v0.3+json
1400
+ User-Agent:
1401
+ - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha)
1402
+ Date:
1403
+ - Fri, 25 May 2018 07:14:23 -0000
1404
+ Authorization:
1405
+ - Uploadcare demopublickey:594f22d5db1f036732ef90c99e46c217e18d2c9d
1406
+ Accept-Encoding:
1407
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1408
+ response:
1409
+ status:
1410
+ code: 200
1411
+ message: OK
1412
+ headers:
1413
+ Date:
1414
+ - Fri, 25 May 2018 07:14:31 GMT
1415
+ Content-Type:
1416
+ - application/vnd.uploadcare-v0.3+json
1417
+ Content-Length:
1418
+ - '516'
1419
+ Connection:
1420
+ - keep-alive
1421
+ Server:
1422
+ - nginx
1423
+ X-Xss-Protection:
1424
+ - 1; mode=block
1425
+ X-Content-Type-Options:
1426
+ - nosniff
1427
+ Vary:
1428
+ - Accept
1429
+ Warning:
1430
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1431
+ version 0.5, not 0.3'
1432
+ Allow:
1433
+ - GET, DELETE, HEAD, OPTIONS
1434
+ Access-Control-Allow-Origin:
1435
+ - https://uploadcare.com
1436
+ X-Frame-Options:
1437
+ - SAMEORIGIN
1438
+ body:
1439
+ encoding: UTF-8
1440
+ string: '{"datetime_removed":"2018-05-25T07:14:23.155927Z","datetime_stored":null,"datetime_uploaded":"2018-05-25T07:13:48.778491Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/6209544c-49f0-4520-ae7b-ebbd8cdd6891/","uuid":"6209544c-49f0-4520-ae7b-ebbd8cdd6891","source":null}'
1441
+ http_version:
1442
+ recorded_at: Fri, 25 May 2018 07:14:30 GMT
1443
+ - request:
1444
+ method: put
1445
+ uri: https://api.uploadcare.com/files/b22b9b14-52ee-4642-aa8a-6149b29f9b5a/storage/
1446
+ body:
1447
+ encoding: UTF-8
1448
+ string: ''
1449
+ headers:
1450
+ Accept:
1451
+ - application/vnd.uploadcare-v0.3+json
1452
+ User-Agent:
1453
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1454
+ Content-Type:
1455
+ - application/x-www-form-urlencoded
1456
+ Date:
1457
+ - Fri, 25 May 2018 09:12:07 -0000
1458
+ Authorization:
1459
+ - Uploadcare demopublickey:91ac01ad50ac7561d33be78f8cdbcc9530fe0d2d
1460
+ Accept-Encoding:
1461
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1462
+ response:
1463
+ status:
1464
+ code: 200
1465
+ message: OK
1466
+ headers:
1467
+ Date:
1468
+ - Fri, 25 May 2018 09:12:10 GMT
1469
+ Content-Type:
1470
+ - application/vnd.uploadcare-v0.3+json
1471
+ Content-Length:
1472
+ - '580'
1473
+ Connection:
1474
+ - keep-alive
1475
+ Server:
1476
+ - nginx
1477
+ X-Xss-Protection:
1478
+ - 1; mode=block
1479
+ X-Content-Type-Options:
1480
+ - nosniff
1481
+ Vary:
1482
+ - Accept
1483
+ Warning:
1484
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1485
+ version 0.5, not 0.3'
1486
+ Allow:
1487
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1488
+ Access-Control-Allow-Origin:
1489
+ - https://uploadcare.com
1490
+ X-Frame-Options:
1491
+ - SAMEORIGIN
1492
+ body:
1493
+ encoding: UTF-8
1494
+ string: '{"datetime_removed":null,"datetime_stored":"2018-05-25T09:12:08.339769Z","datetime_uploaded":"2018-05-25T09:11:53.254485Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/b22b9b14-52ee-4642-aa8a-6149b29f9b5a/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/b22b9b14-52ee-4642-aa8a-6149b29f9b5a/","uuid":"b22b9b14-52ee-4642-aa8a-6149b29f9b5a","source":null}'
1495
+ http_version:
1496
+ recorded_at: Fri, 25 May 2018 09:12:08 GMT
1497
+ - request:
1498
+ method: delete
1499
+ uri: https://api.uploadcare.com/files/b22b9b14-52ee-4642-aa8a-6149b29f9b5a/storage/
1500
+ body:
1501
+ encoding: US-ASCII
1502
+ string: ''
1503
+ headers:
1504
+ Accept:
1505
+ - application/vnd.uploadcare-v0.3+json
1506
+ User-Agent:
1507
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1508
+ Date:
1509
+ - Fri, 25 May 2018 09:12:08 -0000
1510
+ Authorization:
1511
+ - Uploadcare demopublickey:ace80bed30da5e74b460405ebbfe04d0eb358628
1512
+ Accept-Encoding:
1513
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1514
+ response:
1515
+ status:
1516
+ code: 302
1517
+ message: Found
1518
+ headers:
1519
+ Date:
1520
+ - Fri, 25 May 2018 09:12:11 GMT
1521
+ Content-Type:
1522
+ - text/html; charset=utf-8
1523
+ Content-Length:
1524
+ - '0'
1525
+ Connection:
1526
+ - keep-alive
1527
+ Server:
1528
+ - nginx
1529
+ X-Xss-Protection:
1530
+ - 1; mode=block
1531
+ X-Content-Type-Options:
1532
+ - nosniff
1533
+ Vary:
1534
+ - Accept
1535
+ Warning:
1536
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1537
+ version 0.5, not 0.3'
1538
+ Location:
1539
+ - "/files/b22b9b14-52ee-4642-aa8a-6149b29f9b5a/"
1540
+ Allow:
1541
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1542
+ Access-Control-Allow-Origin:
1543
+ - https://uploadcare.com
1544
+ X-Frame-Options:
1545
+ - SAMEORIGIN
1546
+ body:
1547
+ encoding: UTF-8
1548
+ string: ''
1549
+ http_version:
1550
+ recorded_at: Fri, 25 May 2018 09:12:09 GMT
1551
+ - request:
1552
+ method: get
1553
+ uri: https://api.uploadcare.com/files/b22b9b14-52ee-4642-aa8a-6149b29f9b5a/
1554
+ body:
1555
+ encoding: US-ASCII
1556
+ string: ''
1557
+ headers:
1558
+ Accept:
1559
+ - application/vnd.uploadcare-v0.3+json
1560
+ User-Agent:
1561
+ - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
1562
+ Date:
1563
+ - Fri, 25 May 2018 09:12:09 -0000
1564
+ Authorization:
1565
+ - Uploadcare demopublickey:fead4353a74a373a4639dbb7b0d2c4808e7b0475
1566
+ Accept-Encoding:
1567
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1568
+ response:
1569
+ status:
1570
+ code: 200
1571
+ message: OK
1572
+ headers:
1573
+ Date:
1574
+ - Fri, 25 May 2018 09:12:11 GMT
1575
+ Content-Type:
1576
+ - application/vnd.uploadcare-v0.3+json
1577
+ Content-Length:
1578
+ - '516'
1579
+ Connection:
1580
+ - keep-alive
1581
+ Server:
1582
+ - nginx
1583
+ X-Xss-Protection:
1584
+ - 1; mode=block
1585
+ X-Content-Type-Options:
1586
+ - nosniff
1587
+ Vary:
1588
+ - Accept
1589
+ Warning:
1590
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1591
+ version 0.5, not 0.3'
1592
+ Allow:
1593
+ - GET, DELETE, HEAD, OPTIONS
1594
+ Access-Control-Allow-Origin:
1595
+ - https://uploadcare.com
1596
+ X-Frame-Options:
1597
+ - SAMEORIGIN
1598
+ body:
1599
+ encoding: UTF-8
1600
+ string: '{"datetime_removed":"2018-05-25T09:12:11.079297Z","datetime_stored":null,"datetime_uploaded":"2018-05-25T09:11:53.254485Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/b22b9b14-52ee-4642-aa8a-6149b29f9b5a/","uuid":"b22b9b14-52ee-4642-aa8a-6149b29f9b5a","source":null}'
1601
+ http_version:
1602
+ recorded_at: Fri, 25 May 2018 09:12:10 GMT
1603
+ - request:
1604
+ method: put
1605
+ uri: https://api.uploadcare.com/files/d3595e70-e488-451c-a21b-11424cea46d2/storage/
1606
+ body:
1607
+ encoding: UTF-8
1608
+ string: ''
1609
+ headers:
1610
+ Accept:
1611
+ - application/vnd.uploadcare-v0.3+json
1612
+ User-Agent:
1613
+ - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha2)
1614
+ Content-Type:
1615
+ - application/x-www-form-urlencoded
1616
+ Date:
1617
+ - Mon, 28 May 2018 19:05:10 -0000
1618
+ Authorization:
1619
+ - Uploadcare demopublickey:916fb269e0bdacd5652f586b18e9cb9e9bd00e93
1620
+ Accept-Encoding:
1621
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1622
+ response:
1623
+ status:
1624
+ code: 200
1625
+ message: OK
1626
+ headers:
1627
+ Date:
1628
+ - Mon, 28 May 2018 19:05:14 GMT
1629
+ Content-Type:
1630
+ - application/vnd.uploadcare-v0.3+json
1631
+ Content-Length:
1632
+ - '580'
1633
+ Connection:
1634
+ - keep-alive
1635
+ Server:
1636
+ - nginx
1637
+ X-Xss-Protection:
1638
+ - 1; mode=block
1639
+ X-Content-Type-Options:
1640
+ - nosniff
1641
+ Vary:
1642
+ - Accept
1643
+ Warning:
1644
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1645
+ version 0.5, not 0.3'
1646
+ Allow:
1647
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1648
+ Access-Control-Allow-Origin:
1649
+ - https://uploadcare.com
1650
+ X-Frame-Options:
1651
+ - SAMEORIGIN
1652
+ body:
1653
+ encoding: UTF-8
1654
+ string: '{"datetime_removed":null,"datetime_stored":"2018-05-28T19:05:10.071884Z","datetime_uploaded":"2018-05-28T19:04:57.151416Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/d3595e70-e488-451c-a21b-11424cea46d2/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/d3595e70-e488-451c-a21b-11424cea46d2/","uuid":"d3595e70-e488-451c-a21b-11424cea46d2","source":null}'
1655
+ http_version:
1656
+ recorded_at: Mon, 28 May 2018 19:05:14 GMT
1657
+ - request:
1658
+ method: delete
1659
+ uri: https://api.uploadcare.com/files/d3595e70-e488-451c-a21b-11424cea46d2/storage/
1660
+ body:
1661
+ encoding: US-ASCII
1662
+ string: ''
1663
+ headers:
1664
+ Accept:
1665
+ - application/vnd.uploadcare-v0.3+json
1666
+ User-Agent:
1667
+ - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha2)
1668
+ Date:
1669
+ - Mon, 28 May 2018 19:05:14 -0000
1670
+ Authorization:
1671
+ - Uploadcare demopublickey:f12c71df58106df242fd9d352fc4d79dd24ee3aa
1672
+ Accept-Encoding:
1673
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1674
+ response:
1675
+ status:
1676
+ code: 302
1677
+ message: Found
1678
+ headers:
1679
+ Date:
1680
+ - Mon, 28 May 2018 19:05:16 GMT
1681
+ Content-Type:
1682
+ - text/html; charset=utf-8
1683
+ Content-Length:
1684
+ - '0'
1685
+ Connection:
1686
+ - keep-alive
1687
+ Server:
1688
+ - nginx
1689
+ X-Xss-Protection:
1690
+ - 1; mode=block
1691
+ X-Content-Type-Options:
1692
+ - nosniff
1693
+ Vary:
1694
+ - Accept
1695
+ Warning:
1696
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1697
+ version 0.5, not 0.3'
1698
+ Location:
1699
+ - "/files/d3595e70-e488-451c-a21b-11424cea46d2/"
1700
+ Allow:
1701
+ - GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
1702
+ Access-Control-Allow-Origin:
1703
+ - https://uploadcare.com
1704
+ X-Frame-Options:
1705
+ - SAMEORIGIN
1706
+ body:
1707
+ encoding: UTF-8
1708
+ string: ''
1709
+ http_version:
1710
+ recorded_at: Mon, 28 May 2018 19:05:16 GMT
1711
+ - request:
1712
+ method: get
1713
+ uri: https://api.uploadcare.com/files/d3595e70-e488-451c-a21b-11424cea46d2/
1714
+ body:
1715
+ encoding: US-ASCII
1716
+ string: ''
1717
+ headers:
1718
+ Accept:
1719
+ - application/vnd.uploadcare-v0.3+json
1720
+ User-Agent:
1721
+ - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha2)
1722
+ Date:
1723
+ - Mon, 28 May 2018 19:05:16 -0000
1724
+ Authorization:
1725
+ - Uploadcare demopublickey:55f317544b8970a43884b10d5f78a59525e4e687
1726
+ Accept-Encoding:
1727
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1728
+ response:
1729
+ status:
1730
+ code: 200
1731
+ message: OK
1732
+ headers:
1733
+ Date:
1734
+ - Mon, 28 May 2018 19:05:17 GMT
1735
+ Content-Type:
1736
+ - application/vnd.uploadcare-v0.3+json
1737
+ Content-Length:
1738
+ - '516'
1739
+ Connection:
1740
+ - keep-alive
1741
+ Server:
1742
+ - nginx
1743
+ X-Xss-Protection:
1744
+ - 1; mode=block
1745
+ X-Content-Type-Options:
1746
+ - nosniff
1747
+ Vary:
1748
+ - Accept
1749
+ Warning:
1750
+ - '199 Miscellaneous warning: You are using the demo account; Please use API
1751
+ version 0.5, not 0.3'
1752
+ Allow:
1753
+ - GET, DELETE, HEAD, OPTIONS
1754
+ Access-Control-Allow-Origin:
1755
+ - https://uploadcare.com
1756
+ X-Frame-Options:
1757
+ - SAMEORIGIN
1758
+ body:
1759
+ encoding: UTF-8
1760
+ string: '{"datetime_removed":"2018-05-28T19:05:16.266562Z","datetime_stored":null,"datetime_uploaded":"2018-05-28T19:04:57.151416Z","image_info":{"orientation":null,"format":"PNG","height":600,"width":800,"geo_location":null,"datetime_original":null,"dpi":null},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/d3595e70-e488-451c-a21b-11424cea46d2/","uuid":"d3595e70-e488-451c-a21b-11424cea46d2","source":null}'
1761
+ http_version:
1762
+ recorded_at: Mon, 28 May 2018 19:05:17 GMT
1763
+ recorded_with: VCR 4.0.0