uploadcare-rails 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +5 -5
  2. data/lib/generators/templates/uploadcare_config_template.yml +3 -7
  3. data/lib/uploadcare/rails/active_record/has_file.rb +18 -15
  4. data/lib/uploadcare/rails/active_record/has_group.rb +18 -13
  5. data/lib/uploadcare/rails/version.rb +1 -1
  6. data/spec/dummy/app/models/post.rb +1 -0
  7. data/spec/dummy/app/models/post_with_collection.rb +1 -0
  8. data/spec/dummy/config/uploadcare.yml +3 -7
  9. data/spec/dummy/db/migrate/20181001132710_add_other_file_to_post.rb +8 -0
  10. data/spec/dummy/db/migrate/20181001141434_add_other_file_to_post_with_collections.rb +8 -0
  11. data/spec/dummy/db/schema.rb +3 -1
  12. data/spec/models/has_several_files_spec.rb +55 -0
  13. data/spec/models/has_several_groups_spec.rb +62 -0
  14. data/spec/spec_helper.rb +9 -1
  15. metadata +87 -107
  16. data/spec/cassettes/Uploadcare_Rails_File/should_load_itself.yml +0 -419
  17. data/spec/cassettes/Uploadcare_Rails_Group/group_should_stay_loaded.yml +0 -419
  18. data/spec/cassettes/Uploadcare_Rails_Group/rails_cache_should_updates_after_load_call.yml +0 -419
  19. data/spec/cassettes/group_cahsing_file_load.yml +0 -419
  20. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/deletes_file_after_destroy.yml +0 -2243
  21. data/spec/cassettes/has_uploadcare_file/object_with_uploadcare_file/stores_file_after_save.yml +0 -705
  22. data/spec/cassettes/has_uploadcare_group/object_attachment/contains_files_inside.yml +0 -835
  23. data/spec/cassettes/has_uploadcare_group_save.yml +0 -867
  24. data/spec/cassettes/load_group.yml +0 -419
  25. data/spec/dummy/db/test.sqlite3 +0 -0
  26. data/spec/dummy/log/test.log +0 -552
  27. data/spec/dummy/tmp/cache/457/D71/https%3A%2F%2Fucarecdn.com%2F04058c13-549a-495a-bab8-83a5deaae0a0%7E2%2F +0 -0
  28. data/spec/dummy/tmp/cache/49B/481/https%3A%2F%2Fucarecdn.com%2F2d40a7e9-bab4-446d-8d7a-b9fc5438c04c%7E2%2F +0 -0
  29. data/spec/tmp/config/uploadcare.yml +0 -71
@@ -1,867 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: put
5
- uri: https://api.uploadcare.com/groups/a1b1bb40-bd89-4f9c-b809-e84920f24a01~2/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:35 -0000
18
- Authorization:
19
- - Uploadcare demopublickey:3d0c4552757228826d1e5bfa217257d0284f390e
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:36 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
- - POST, PUT, PATCH, 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: '{"id":"a1b1bb40-bd89-4f9c-b809-e84920f24a01~2","datetime_created":"2017-10-21T13:40:29.035828Z","datetime_stored":"2017-10-21T13:40:36.348200Z","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":"2017-10-21T13:40:36.247049Z","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":"2017-10-21T13:40:36.318844Z","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":""}]}'
55
- http_version:
56
- recorded_at: Sat, 21 Oct 2017 13:40:36 GMT
57
- - request:
58
- method: put
59
- uri: https://api.uploadcare.com/groups/79463a55-f7ab-4972-8d94-679c96a027a7~2/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:04:30 -0000
72
- Authorization:
73
- - Uploadcare demopublickey:8ea19ec46833f303e8cf8d4790160beff8d3a7ba
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:04:31 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
- - POST, PUT, PATCH, 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: '{"id":"79463a55-f7ab-4972-8d94-679c96a027a7~2","datetime_created":"2017-10-29T17:04:28.886711Z","datetime_stored":"2017-10-29T17:04:31.095949Z","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":"2017-10-29T17:04:30.958775Z","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":"2017-10-29T17:04:31.034624Z","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":""}]}'
109
- http_version:
110
- recorded_at: Sun, 29 Oct 2017 17:04:31 GMT
111
- - request:
112
- method: put
113
- uri: https://api.uploadcare.com/groups/90b67d93-d46f-46f1-9c12-689ca8bbdb12~2/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:05:40 -0000
126
- Authorization:
127
- - Uploadcare demopublickey:f6fd27d07a8dbfc9afd3f3edec65632d13711b9c
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:05:41 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
- - POST, PUT, PATCH, 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: '{"id":"90b67d93-d46f-46f1-9c12-689ca8bbdb12~2","datetime_created":"2017-10-29T17:05:38.830326Z","datetime_stored":"2017-10-29T17:05:41.009789Z","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":"2017-10-29T17:05:40.952958Z","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":"2017-10-29T17:05:40.984223Z","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":""}]}'
163
- http_version:
164
- recorded_at: Sun, 29 Oct 2017 17:05:41 GMT
165
- - request:
166
- method: put
167
- uri: https://api.uploadcare.com/groups/37415ae9-f604-4c81-9281-96c04e7ca79b~2/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:06:09 -0000
180
- Authorization:
181
- - Uploadcare demopublickey:77f3bab445d5915cf67dc22c8881cba2d7686b81
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:06:10 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
- - POST, PUT, PATCH, 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: '{"id":"37415ae9-f604-4c81-9281-96c04e7ca79b~2","datetime_created":"2017-10-29T17:06:08.369557Z","datetime_stored":"2017-10-29T17:06:10.531768Z","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":"2017-10-29T17:06:10.464823Z","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":"2017-10-29T17:06:10.497914Z","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":""}]}'
217
- http_version:
218
- recorded_at: Sun, 29 Oct 2017 17:06:10 GMT
219
- - request:
220
- method: put
221
- uri: https://api.uploadcare.com/groups/e918cbe4-6e85-423d-9680-b3b2f046f612~2/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:15:35 -0000
234
- Authorization:
235
- - Uploadcare demopublickey:dab3612f8f8637ea282fda0ae1a0b274bf35aa0b
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:15:36 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
- - POST, PUT, PATCH, 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: '{"id":"e918cbe4-6e85-423d-9680-b3b2f046f612~2","datetime_created":"2017-10-29T17:15:31.042669Z","datetime_stored":"2017-10-29T17:15:36.463624Z","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":"2017-10-29T17:15:36.384624Z","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":"2017-10-29T17:15:36.433719Z","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":""}]}'
271
- http_version:
272
- recorded_at: Sun, 29 Oct 2017 17:15:36 GMT
273
- - request:
274
- method: put
275
- uri: https://api.uploadcare.com/groups/fea2a5ba-a109-47d2-adba-2c5f4a9d5231~2/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:17:16 -0000
288
- Authorization:
289
- - Uploadcare demopublickey:ae4ca5b082287598d0ee32c04424aadf4ae38eea
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:17:16 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
- - POST, PUT, PATCH, 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: '{"id":"fea2a5ba-a109-47d2-adba-2c5f4a9d5231~2","datetime_created":"2017-10-29T17:17:11.270418Z","datetime_stored":"2017-10-29T17:17:16.963361Z","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":"2017-10-29T17:17:16.905456Z","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":"2017-10-29T17:17:16.936147Z","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":""}]}'
325
- http_version:
326
- recorded_at: Sun, 29 Oct 2017 17:17:17 GMT
327
- - request:
328
- method: put
329
- uri: https://api.uploadcare.com/groups/240441d8-a877-4713-99b8-ea083b8973b8~2/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, 29 Oct 2017 17:19:21 -0000
342
- Authorization:
343
- - Uploadcare demopublickey:73136ab00cc61128e3e39f9c6c6e70cc4fd7a2cc
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, 29 Oct 2017 17:19:22 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
- - POST, PUT, PATCH, 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: '{"id":"240441d8-a877-4713-99b8-ea083b8973b8~2","datetime_created":"2017-10-29T17:19:15.986814Z","datetime_stored":"2017-10-29T17:19:22.291782Z","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":"2017-10-29T17:19:22.233066Z","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":"2017-10-29T17:19:22.262025Z","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":""}]}'
379
- http_version:
380
- recorded_at: Sun, 29 Oct 2017 17:19:22 GMT
381
- - request:
382
- method: put
383
- uri: https://api.uploadcare.com/groups/5c0c992f-36aa-4bb9-994c-8f7ea9764933~2/storage/
384
- body:
385
- encoding: UTF-8
386
- string: ''
387
- headers:
388
- Accept:
389
- - application/vnd.uploadcare-v0.3+json
390
- User-Agent:
391
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
392
- Content-Type:
393
- - application/x-www-form-urlencoded
394
- Date:
395
- - Sun, 29 Oct 2017 17:19:46 -0000
396
- Authorization:
397
- - Uploadcare demopublickey:9825cbf41c7b9a73ecbee7217347dff99f3dc7e3
398
- Accept-Encoding:
399
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
400
- response:
401
- status:
402
- code: 200
403
- message: OK
404
- headers:
405
- Date:
406
- - Sun, 29 Oct 2017 17:19:47 GMT
407
- Content-Type:
408
- - application/vnd.uploadcare-v0.3+json
409
- Transfer-Encoding:
410
- - chunked
411
- Connection:
412
- - keep-alive
413
- Server:
414
- - nginx
415
- X-Xss-Protection:
416
- - 1; mode=block
417
- X-Content-Type-Options:
418
- - nosniff
419
- Vary:
420
- - Accept
421
- Warning:
422
- - '199 Miscellaneous warning: You are using the demo account; Please use API
423
- version 0.5, not 0.3'
424
- Allow:
425
- - POST, PUT, PATCH, HEAD, OPTIONS
426
- Access-Control-Allow-Origin:
427
- - https://uploadcare.com
428
- X-Frame-Options:
429
- - DENY
430
- body:
431
- encoding: UTF-8
432
- string: '{"id":"5c0c992f-36aa-4bb9-994c-8f7ea9764933~2","datetime_created":"2017-10-29T17:19:40.638031Z","datetime_stored":"2017-10-29T17:19:47.671349Z","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":"2017-10-29T17:19:47.117581Z","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":"2017-10-29T17:19:47.625042Z","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":""}]}'
433
- http_version:
434
- recorded_at: Sun, 29 Oct 2017 17:19:47 GMT
435
- - request:
436
- method: put
437
- uri: https://api.uploadcare.com/groups/26b1a366-21e7-4a3b-82fa-730ddd591f48~2/storage/
438
- body:
439
- encoding: UTF-8
440
- string: ''
441
- headers:
442
- Accept:
443
- - application/vnd.uploadcare-v0.3+json
444
- User-Agent:
445
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
446
- Content-Type:
447
- - application/x-www-form-urlencoded
448
- Date:
449
- - Sun, 29 Oct 2017 17:21:06 -0000
450
- Authorization:
451
- - Uploadcare demopublickey:a8206d20d76944064f3d6375b38a5b2d34a28514
452
- Accept-Encoding:
453
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
454
- response:
455
- status:
456
- code: 200
457
- message: OK
458
- headers:
459
- Date:
460
- - Sun, 29 Oct 2017 17:21:07 GMT
461
- Content-Type:
462
- - application/vnd.uploadcare-v0.3+json
463
- Transfer-Encoding:
464
- - chunked
465
- Connection:
466
- - keep-alive
467
- Server:
468
- - nginx
469
- X-Xss-Protection:
470
- - 1; mode=block
471
- X-Content-Type-Options:
472
- - nosniff
473
- Vary:
474
- - Accept
475
- Warning:
476
- - '199 Miscellaneous warning: You are using the demo account; Please use API
477
- version 0.5, not 0.3'
478
- Allow:
479
- - POST, PUT, PATCH, HEAD, OPTIONS
480
- Access-Control-Allow-Origin:
481
- - https://uploadcare.com
482
- X-Frame-Options:
483
- - DENY
484
- body:
485
- encoding: UTF-8
486
- string: '{"id":"26b1a366-21e7-4a3b-82fa-730ddd591f48~2","datetime_created":"2017-10-29T17:21:00.358467Z","datetime_stored":"2017-10-29T17:21:07.078697Z","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":"2017-10-29T17:21:06.998130Z","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":"2017-10-29T17:21:07.048593Z","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":""}]}'
487
- http_version:
488
- recorded_at: Sun, 29 Oct 2017 17:21:07 GMT
489
- - request:
490
- method: put
491
- uri: https://api.uploadcare.com/groups/d6c785a8-9761-4602-88de-65ddb04ddc6a~2/storage/
492
- body:
493
- encoding: UTF-8
494
- string: ''
495
- headers:
496
- Accept:
497
- - application/vnd.uploadcare-v0.3+json
498
- User-Agent:
499
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
500
- Content-Type:
501
- - application/x-www-form-urlencoded
502
- Date:
503
- - Sun, 05 Nov 2017 09:23:08 -0000
504
- Authorization:
505
- - Uploadcare demopublickey:bd439a2ea44783c24afb05501e179e5fd7908bcd
506
- Accept-Encoding:
507
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
508
- response:
509
- status:
510
- code: 200
511
- message: OK
512
- headers:
513
- Date:
514
- - Sun, 05 Nov 2017 09:23:08 GMT
515
- Content-Type:
516
- - application/vnd.uploadcare-v0.3+json
517
- Transfer-Encoding:
518
- - chunked
519
- Connection:
520
- - keep-alive
521
- Server:
522
- - nginx
523
- X-Xss-Protection:
524
- - 1; mode=block
525
- X-Content-Type-Options:
526
- - nosniff
527
- Vary:
528
- - Accept
529
- Warning:
530
- - '199 Miscellaneous warning: You are using the demo account; Please use API
531
- version 0.5, not 0.3'
532
- Allow:
533
- - POST, PUT, PATCH, HEAD, OPTIONS
534
- Access-Control-Allow-Origin:
535
- - https://uploadcare.com
536
- X-Frame-Options:
537
- - DENY
538
- body:
539
- encoding: UTF-8
540
- string: '{"id":"d6c785a8-9761-4602-88de-65ddb04ddc6a~2","datetime_created":"2017-11-05T09:22:59.302130Z","datetime_stored":"2017-11-05T09:23:08.887600Z","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":"2017-11-05T09:23:08.824767Z","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":"2017-11-05T09:23:08.861737Z","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":""}]}'
541
- http_version:
542
- recorded_at: Sun, 05 Nov 2017 09:23:09 GMT
543
- - request:
544
- method: put
545
- uri: https://api.uploadcare.com/groups/73e3cdbc-6495-4cf2-bbd1-413e6cb70004~2/storage/
546
- body:
547
- encoding: UTF-8
548
- string: ''
549
- headers:
550
- Accept:
551
- - application/vnd.uploadcare-v0.3+json
552
- User-Agent:
553
- - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha)
554
- Content-Type:
555
- - application/x-www-form-urlencoded
556
- Date:
557
- - Fri, 25 May 2018 07:14:33 -0000
558
- Authorization:
559
- - Uploadcare demopublickey:123369d2bfafe608a1db1142b166dcfdb7726635
560
- Accept-Encoding:
561
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
562
- response:
563
- status:
564
- code: 200
565
- message: OK
566
- headers:
567
- Date:
568
- - Fri, 25 May 2018 07:14:44 GMT
569
- Content-Type:
570
- - application/vnd.uploadcare-v0.3+json
571
- Content-Length:
572
- - '1536'
573
- Connection:
574
- - keep-alive
575
- Server:
576
- - nginx
577
- X-Xss-Protection:
578
- - 1; mode=block
579
- X-Content-Type-Options:
580
- - nosniff
581
- Vary:
582
- - Accept
583
- Warning:
584
- - '199 Miscellaneous warning: You are using the demo account; Please use API
585
- version 0.5, not 0.3'
586
- Allow:
587
- - POST, PUT, PATCH, HEAD, OPTIONS
588
- Access-Control-Allow-Origin:
589
- - https://uploadcare.com
590
- X-Frame-Options:
591
- - SAMEORIGIN
592
- body:
593
- encoding: UTF-8
594
- string: '{"id":"73e3cdbc-6495-4cf2-bbd1-413e6cb70004~2","datetime_created":"2018-05-25T07:13:58.345080Z","datetime_stored":"2018-05-25T07:14:44.293014Z","files_count":2,"cdn_url":"https://ucarecdn.com/73e3cdbc-6495-4cf2-bbd1-413e6cb70004~2/","url":"https://api.uploadcare.com/groups/73e3cdbc-6495-4cf2-bbd1-413e6cb70004~2/","files":[{"datetime_removed":null,"datetime_stored":"2018-05-25T07:14:43.631573Z","datetime_uploaded":"2018-05-25T07:13:56.295620Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/dbda04e6-c45c-454e-8e6d-443e2c92e781/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/dbda04e6-c45c-454e-8e6d-443e2c92e781/","uuid":"dbda04e6-c45c-454e-8e6d-443e2c92e781","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":"2018-05-25T07:14:44.261201Z","datetime_uploaded":"2018-05-25T07:13:56.319714Z","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/d684a061-1bce-49cc-ab60-f60650246516/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/d684a061-1bce-49cc-ab60-f60650246516/","uuid":"d684a061-1bce-49cc-ab60-f60650246516","source":null,"default_effects":""}]}'
595
- http_version:
596
- recorded_at: Fri, 25 May 2018 07:14:44 GMT
597
- - request:
598
- method: put
599
- uri: https://api.uploadcare.com/groups/c50e9a53-0b95-48ac-a4a9-6744052dbdab~2/storage/
600
- body:
601
- encoding: UTF-8
602
- string: ''
603
- headers:
604
- Accept:
605
- - application/vnd.uploadcare-v0.3+json
606
- User-Agent:
607
- - uploadcare-ruby/2.3.1.112/1.1.0/demopublickey
608
- Content-Type:
609
- - application/x-www-form-urlencoded
610
- Date:
611
- - Fri, 25 May 2018 09:12:11 -0000
612
- Authorization:
613
- - Uploadcare demopublickey:7716b5e57c6bb20248e2b2e7660164d2aa57798d
614
- Accept-Encoding:
615
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
616
- response:
617
- status:
618
- code: 200
619
- message: OK
620
- headers:
621
- Date:
622
- - Fri, 25 May 2018 09:12:13 GMT
623
- Content-Type:
624
- - application/vnd.uploadcare-v0.3+json
625
- Content-Length:
626
- - '1536'
627
- Connection:
628
- - keep-alive
629
- Server:
630
- - nginx
631
- X-Xss-Protection:
632
- - 1; mode=block
633
- X-Content-Type-Options:
634
- - nosniff
635
- Vary:
636
- - Accept
637
- Warning:
638
- - '199 Miscellaneous warning: You are using the demo account; Please use API
639
- version 0.5, not 0.3'
640
- Allow:
641
- - POST, PUT, PATCH, HEAD, OPTIONS
642
- Access-Control-Allow-Origin:
643
- - https://uploadcare.com
644
- X-Frame-Options:
645
- - SAMEORIGIN
646
- body:
647
- encoding: UTF-8
648
- string: '{"id":"c50e9a53-0b95-48ac-a4a9-6744052dbdab~2","datetime_created":"2018-05-25T09:11:57.237165Z","datetime_stored":"2018-05-25T09:12:13.960290Z","files_count":2,"cdn_url":"https://ucarecdn.com/c50e9a53-0b95-48ac-a4a9-6744052dbdab~2/","url":"https://api.uploadcare.com/groups/c50e9a53-0b95-48ac-a4a9-6744052dbdab~2/","files":[{"datetime_removed":null,"datetime_stored":"2018-05-25T09:12:13.881956Z","datetime_uploaded":"2018-05-25T09:11:56.464753Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/81144776-fbd9-4c5f-887b-a5404da1fb71/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/81144776-fbd9-4c5f-887b-a5404da1fb71/","uuid":"81144776-fbd9-4c5f-887b-a5404da1fb71","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":"2018-05-25T09:12:13.911791Z","datetime_uploaded":"2018-05-25T09:11:56.488947Z","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/f40b1430-c576-42d5-b2ab-3c1fc39ee356/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/f40b1430-c576-42d5-b2ab-3c1fc39ee356/","uuid":"f40b1430-c576-42d5-b2ab-3c1fc39ee356","source":null,"default_effects":""}]}'
649
- http_version:
650
- recorded_at: Fri, 25 May 2018 09:12:12 GMT
651
- - request:
652
- method: put
653
- uri: https://api.uploadcare.com/groups/19073296-2315-4726-817b-46398b2c7431~2/storage/
654
- body:
655
- encoding: UTF-8
656
- string: ''
657
- headers:
658
- Accept:
659
- - application/vnd.uploadcare-v0.3+json
660
- User-Agent:
661
- - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha2)
662
- Content-Type:
663
- - application/x-www-form-urlencoded
664
- Date:
665
- - Mon, 28 May 2018 19:05:19 -0000
666
- Authorization:
667
- - Uploadcare demopublickey:b6936f83d78d9ee388ab59c02b6ba9e0a4e99c4d
668
- Accept-Encoding:
669
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
670
- response:
671
- status:
672
- code: 200
673
- message: OK
674
- headers:
675
- Date:
676
- - Mon, 28 May 2018 19:05:25 GMT
677
- Content-Type:
678
- - application/vnd.uploadcare-v0.3+json
679
- Content-Length:
680
- - '1536'
681
- Connection:
682
- - keep-alive
683
- Server:
684
- - nginx
685
- X-Xss-Protection:
686
- - 1; mode=block
687
- X-Content-Type-Options:
688
- - nosniff
689
- Vary:
690
- - Accept
691
- Warning:
692
- - '199 Miscellaneous warning: You are using the demo account; Please use API
693
- version 0.5, not 0.3'
694
- Allow:
695
- - POST, PUT, PATCH, HEAD, OPTIONS
696
- Access-Control-Allow-Origin:
697
- - https://uploadcare.com
698
- X-Frame-Options:
699
- - SAMEORIGIN
700
- body:
701
- encoding: UTF-8
702
- string: '{"id":"19073296-2315-4726-817b-46398b2c7431~2","datetime_created":"2018-05-28T19:05:04.518599Z","datetime_stored":"2018-05-28T19:05:25.719275Z","files_count":2,"cdn_url":"https://ucarecdn.com/19073296-2315-4726-817b-46398b2c7431~2/","url":"https://api.uploadcare.com/groups/19073296-2315-4726-817b-46398b2c7431~2/","files":[{"datetime_removed":null,"datetime_stored":"2018-05-28T19:05:25.637792Z","datetime_uploaded":"2018-05-28T19:05:02.297907Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/42627fa0-e88e-4055-b8ed-98e6a9500737/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/42627fa0-e88e-4055-b8ed-98e6a9500737/","uuid":"42627fa0-e88e-4055-b8ed-98e6a9500737","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":"2018-05-28T19:05:25.693326Z","datetime_uploaded":"2018-05-28T19:05:02.352341Z","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/1ee9aaa7-2aba-4700-9aa5-ce88cf95085b/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/1ee9aaa7-2aba-4700-9aa5-ce88cf95085b/","uuid":"1ee9aaa7-2aba-4700-9aa5-ce88cf95085b","source":null,"default_effects":""}]}'
703
- http_version:
704
- recorded_at: Mon, 28 May 2018 19:05:25 GMT
705
- - request:
706
- method: put
707
- uri: https://api.uploadcare.com/groups/d35a4f57-71e6-447e-8143-0912fd1f0f59~2/storage/
708
- body:
709
- encoding: UTF-8
710
- string: ''
711
- headers:
712
- Accept:
713
- - application/vnd.uploadcare-v0.3+json
714
- User-Agent:
715
- - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
716
- Content-Type:
717
- - application/x-www-form-urlencoded
718
- Date:
719
- - Sat, 02 Jun 2018 18:31:11 -0000
720
- Authorization:
721
- - Uploadcare demopublickey:d7cc8ad3c302fb0a2eb92bdef837a36604d49c80
722
- Accept-Encoding:
723
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
724
- response:
725
- status:
726
- code: 200
727
- message: OK
728
- headers:
729
- Date:
730
- - Sat, 02 Jun 2018 18:31:13 GMT
731
- Content-Type:
732
- - application/vnd.uploadcare-v0.3+json
733
- Content-Length:
734
- - '1536'
735
- Connection:
736
- - keep-alive
737
- Server:
738
- - nginx
739
- X-Xss-Protection:
740
- - 1; mode=block
741
- X-Content-Type-Options:
742
- - nosniff
743
- Vary:
744
- - Accept
745
- Warning:
746
- - '199 Miscellaneous warning: You are using the demo account; Please use API
747
- version 0.5, not 0.3'
748
- Allow:
749
- - POST, PUT, PATCH, HEAD, OPTIONS
750
- Access-Control-Allow-Origin:
751
- - https://uploadcare.com
752
- X-Frame-Options:
753
- - SAMEORIGIN
754
- body:
755
- encoding: UTF-8
756
- string: '{"id":"d35a4f57-71e6-447e-8143-0912fd1f0f59~2","datetime_created":"2018-06-02T18:30:55.386068Z","datetime_stored":"2018-06-02T18:31:13.334381Z","files_count":2,"cdn_url":"https://ucarecdn.com/d35a4f57-71e6-447e-8143-0912fd1f0f59~2/","url":"https://api.uploadcare.com/groups/d35a4f57-71e6-447e-8143-0912fd1f0f59~2/","files":[{"datetime_removed":null,"datetime_stored":"2018-06-02T18:31:12.745808Z","datetime_uploaded":"2018-06-02T18:30:53.594401Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/f3bbea1d-42d8-4564-a64f-4a72433aba0a/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/f3bbea1d-42d8-4564-a64f-4a72433aba0a/","uuid":"f3bbea1d-42d8-4564-a64f-4a72433aba0a","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":"2018-06-02T18:31:13.304402Z","datetime_uploaded":"2018-06-02T18:30:53.619984Z","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/fd3af95e-77a7-403b-abeb-9296c9e6969f/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/fd3af95e-77a7-403b-abeb-9296c9e6969f/","uuid":"fd3af95e-77a7-403b-abeb-9296c9e6969f","source":null,"default_effects":""}]}'
757
- http_version:
758
- recorded_at: Sat, 02 Jun 2018 18:31:13 GMT
759
- - request:
760
- method: put
761
- uri: https://api.uploadcare.com/groups/04058c13-549a-495a-bab8-83a5deaae0a0~2/storage/
762
- body:
763
- encoding: UTF-8
764
- string: ''
765
- headers:
766
- Accept:
767
- - application/vnd.uploadcare-v0.3+json
768
- User-Agent:
769
- - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
770
- Content-Type:
771
- - application/x-www-form-urlencoded
772
- Date:
773
- - Sat, 02 Jun 2018 18:35:20 -0000
774
- Authorization:
775
- - Uploadcare demopublickey:5cfc0dd7956e95bf82983cf71dfeb3fe365cb83b
776
- Accept-Encoding:
777
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
778
- response:
779
- status:
780
- code: 200
781
- message: OK
782
- headers:
783
- Date:
784
- - Sat, 02 Jun 2018 18:35:23 GMT
785
- Content-Type:
786
- - application/vnd.uploadcare-v0.3+json
787
- Content-Length:
788
- - '1536'
789
- Connection:
790
- - keep-alive
791
- Server:
792
- - nginx
793
- X-Xss-Protection:
794
- - 1; mode=block
795
- X-Content-Type-Options:
796
- - nosniff
797
- Vary:
798
- - Accept
799
- Warning:
800
- - '199 Miscellaneous warning: You are using the demo account; Please use API
801
- version 0.5, not 0.3'
802
- Allow:
803
- - POST, PUT, PATCH, HEAD, OPTIONS
804
- Access-Control-Allow-Origin:
805
- - https://uploadcare.com
806
- X-Frame-Options:
807
- - SAMEORIGIN
808
- body:
809
- encoding: UTF-8
810
- string: '{"id":"04058c13-549a-495a-bab8-83a5deaae0a0~2","datetime_created":"2018-06-02T18:34:54.305546Z","datetime_stored":"2018-06-02T18:35:23.343294Z","files_count":2,"cdn_url":"https://ucarecdn.com/04058c13-549a-495a-bab8-83a5deaae0a0~2/","url":"https://api.uploadcare.com/groups/04058c13-549a-495a-bab8-83a5deaae0a0~2/","files":[{"datetime_removed":null,"datetime_stored":"2018-06-02T18:35:21.726449Z","datetime_uploaded":"2018-06-02T18:34:52.263294Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/36e223f9-9fc6-4283-9245-34a4a690379a/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/36e223f9-9fc6-4283-9245-34a4a690379a/","uuid":"36e223f9-9fc6-4283-9245-34a4a690379a","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":"2018-06-02T18:35:22.596718Z","datetime_uploaded":"2018-06-02T18:34:52.306599Z","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/1dacbb47-491d-42e2-83a7-38534f4da7a6/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/1dacbb47-491d-42e2-83a7-38534f4da7a6/","uuid":"1dacbb47-491d-42e2-83a7-38534f4da7a6","source":null,"default_effects":""}]}'
811
- http_version:
812
- recorded_at: Sat, 02 Jun 2018 18:35:23 GMT
813
- - request:
814
- method: put
815
- uri: https://api.uploadcare.com/groups/2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2/storage/
816
- body:
817
- encoding: UTF-8
818
- string: ''
819
- headers:
820
- Accept:
821
- - application/vnd.uploadcare-v0.3+json
822
- User-Agent:
823
- - UploadcareRuby/1.2.1/demopublickey (Ruby/2.3.1.112; Rails/5.2.0; UploadcareRails/1.2.0-alpha3)
824
- Content-Type:
825
- - application/x-www-form-urlencoded
826
- Date:
827
- - Sat, 02 Jun 2018 18:39:34 -0000
828
- Authorization:
829
- - Uploadcare demopublickey:3e9724c17a83c947591baff8d7f7c0f8e41d9619
830
- Accept-Encoding:
831
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
832
- response:
833
- status:
834
- code: 200
835
- message: OK
836
- headers:
837
- Date:
838
- - Sat, 02 Jun 2018 18:39:36 GMT
839
- Content-Type:
840
- - application/vnd.uploadcare-v0.3+json
841
- Content-Length:
842
- - '1536'
843
- Connection:
844
- - keep-alive
845
- Server:
846
- - nginx
847
- X-Xss-Protection:
848
- - 1; mode=block
849
- X-Content-Type-Options:
850
- - nosniff
851
- Vary:
852
- - Accept
853
- Warning:
854
- - '199 Miscellaneous warning: You are using the demo account; Please use API
855
- version 0.5, not 0.3'
856
- Allow:
857
- - POST, PUT, PATCH, HEAD, OPTIONS
858
- Access-Control-Allow-Origin:
859
- - https://uploadcare.com
860
- X-Frame-Options:
861
- - SAMEORIGIN
862
- body:
863
- encoding: UTF-8
864
- string: '{"id":"2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2","datetime_created":"2018-06-02T18:39:14.607820Z","datetime_stored":"2018-06-02T18:39:36.027204Z","files_count":2,"cdn_url":"https://ucarecdn.com/2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2/","url":"https://api.uploadcare.com/groups/2d40a7e9-bab4-446d-8d7a-b9fc5438c04c~2/","files":[{"datetime_removed":null,"datetime_stored":"2018-06-02T18:39:35.312330Z","datetime_uploaded":"2018-06-02T18:39:13.011872Z","image_info":{"orientation":1,"format":"JPEG","height":1162,"width":800,"geo_location":null,"datetime_original":null,"dpi":[72,72]},"is_image":true,"is_ready":true,"mime_type":"image/jpeg","original_file_url":"https://ucarecdn.com/2ce44dbc-e38f-4601-afb1-c6b4b36bc57b/view2.jpg","original_filename":"view2.jpg","size":255570,"url":"https://api.uploadcare.com/files/2ce44dbc-e38f-4601-afb1-c6b4b36bc57b/","uuid":"2ce44dbc-e38f-4601-afb1-c6b4b36bc57b","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":"2018-06-02T18:39:35.998539Z","datetime_uploaded":"2018-06-02T18:39:13.032614Z","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/61ab6222-418f-4239-b8ae-7ce94a6170fa/view.png","original_filename":"view.png","size":2785,"url":"https://api.uploadcare.com/files/61ab6222-418f-4239-b8ae-7ce94a6170fa/","uuid":"61ab6222-418f-4239-b8ae-7ce94a6170fa","source":null,"default_effects":""}]}'
865
- http_version:
866
- recorded_at: Sat, 02 Jun 2018 18:39:36 GMT
867
- recorded_with: VCR 4.0.0