uploadcare-rails 2.1.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uploadcare/rails/api/rest/addons_api.rb +54 -0
  3. data/lib/uploadcare/rails/api/rest/conversion_api.rb +8 -8
  4. data/lib/uploadcare/rails/api/rest/file_api.rb +20 -13
  5. data/lib/uploadcare/rails/api/rest/file_metadata_api.rb +42 -0
  6. data/lib/uploadcare/rails/api/rest/group_api.rb +12 -6
  7. data/lib/uploadcare/rails/api/rest/project_api.rb +1 -1
  8. data/lib/uploadcare/rails/api/rest/webhook_api.rb +6 -6
  9. data/lib/uploadcare/rails/api/upload/upload_api.rb +4 -4
  10. data/lib/uploadcare/rails/objects/group.rb +1 -3
  11. data/lib/uploadcare/rails/version.rb +1 -1
  12. data/lib/uploadcare-rails.rb +2 -0
  13. data/spec/fixtures/vcr_cassettes/conversion_api_convert_document.yml +1 -1
  14. data/spec/fixtures/vcr_cassettes/conversion_api_convert_document_with_error.yml +1 -1
  15. data/spec/fixtures/vcr_cassettes/conversion_api_convert_video.yml +1 -1
  16. data/spec/fixtures/vcr_cassettes/conversion_api_convert_video_with_error.yml +1 -1
  17. data/spec/fixtures/vcr_cassettes/conversion_api_get_document_conversion_status.yml +2 -2
  18. data/spec/fixtures/vcr_cassettes/conversion_api_get_video_conversion_status.yml +2 -2
  19. data/spec/fixtures/vcr_cassettes/file_api_copy_file.yml +2 -2
  20. data/spec/fixtures/vcr_cassettes/file_api_delete_file.yml +16 -13
  21. data/spec/fixtures/vcr_cassettes/file_api_delete_files.yml +2 -2
  22. data/spec/fixtures/vcr_cassettes/file_api_get_file.yml +15 -12
  23. data/spec/fixtures/vcr_cassettes/file_api_get_files.yml +2 -2
  24. data/spec/fixtures/vcr_cassettes/file_api_load_file.yml +2 -2
  25. data/spec/fixtures/vcr_cassettes/file_api_store_file.yml +15 -12
  26. data/spec/fixtures/vcr_cassettes/file_api_store_files.yml +2 -2
  27. data/spec/fixtures/vcr_cassettes/group_api_create_group.yml +17 -13
  28. data/spec/fixtures/vcr_cassettes/group_api_get_group.yml +12 -8
  29. data/spec/fixtures/vcr_cassettes/group_api_get_groups.yml +2 -2
  30. data/spec/fixtures/vcr_cassettes/group_api_store_group.yml +132 -12
  31. data/spec/fixtures/vcr_cassettes/project_api_get_project.yml +2 -2
  32. data/spec/fixtures/vcr_cassettes/upload_upload_many_files.yml +13 -9
  33. data/spec/fixtures/vcr_cassettes/upload_upload_one_file_from_cdn.yml +2 -2
  34. data/spec/fixtures/vcr_cassettes/webhook_api_create_webhook.yml +2 -2
  35. data/spec/fixtures/vcr_cassettes/webhook_api_delete_webhook.yml +11 -9
  36. data/spec/fixtures/vcr_cassettes/webhook_api_get_webhooks.yml +2 -2
  37. data/spec/fixtures/vcr_cassettes/webhook_api_update_webhook.yml +4 -4
  38. data/spec/spec_helper.rb +1 -0
  39. data/spec/uploadcare/rails/api/rest/file_api_spec.rb +4 -13
  40. data/spec/uploadcare/rails/api/rest/group_api_spec.rb +4 -4
  41. data/spec/uploadcare/rails/objects/file_spec.rb +2 -2
  42. data/spec/uploadcare/rails/objects/group_spec.rb +3 -25
  43. metadata +59 -43
@@ -10,7 +10,7 @@ http_interactions:
10
10
  Content-Type:
11
11
  - application/json
12
12
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
13
+ - application/vnd.uploadcare-v0.7+json
14
14
  User-Agent:
15
15
  - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/3.0.0)
16
16
  Date:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Date:
30
30
  - Thu, 22 Jul 2021 07:17:45 GMT
31
31
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
32
+ - application/vnd.uploadcare-v0.7+json
33
33
  Content-Length:
34
34
  - '3841'
35
35
  Connection:
@@ -10,7 +10,7 @@ http_interactions:
10
10
  Content-Type:
11
11
  - application/json
12
12
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
13
+ - application/vnd.uploadcare-v0.7+json
14
14
  User-Agent:
15
15
  - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.2)
16
16
  Date:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Date:
30
30
  - Tue, 27 Jul 2021 09:38:00 GMT
31
31
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
32
+ - application/vnd.uploadcare-v0.7+json
33
33
  Content-Length:
34
34
  - '619'
35
35
  Connection:
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: put
5
- uri: https://api.uploadcare.com/files/5ae54c37-754c-4982-8de4-3f242a88ce17/storage/
5
+ uri: https://api.uploadcare.com/files/2254146d-3652-4419-abf6-305d36ef30a8/storage/
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: ''
@@ -10,13 +10,13 @@ http_interactions:
10
10
  Content-Type:
11
11
  - application/json
12
12
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
13
+ - application/vnd.uploadcare-v0.7+json
14
14
  User-Agent:
15
- - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/3.0.0)
15
+ - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/2.7.6)
16
16
  Date:
17
- - Thu, 22 Jul 2021 07:01:52 GMT
17
+ - Sat, 29 Oct 2022 16:40:21 GMT
18
18
  Authorization:
19
- - Uploadcare 5d5bb5639e3f2df33674:ebe0023b72bdda6c5f637772accdac1151dc535b
19
+ - Uploadcare 5d5bb5639e3f2df33674:6fc08b718da982137cda33a4762dcd79b86f91e4
20
20
  Connection:
21
21
  - close
22
22
  Host:
@@ -27,15 +27,17 @@ http_interactions:
27
27
  message: OK
28
28
  headers:
29
29
  Date:
30
- - Thu, 22 Jul 2021 07:01:52 GMT
30
+ - Sat, 29 Oct 2022 16:40:22 GMT
31
31
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
32
+ - application/vnd.uploadcare-v0.7+json
33
33
  Content-Length:
34
- - '634'
34
+ - '706'
35
35
  Connection:
36
36
  - close
37
37
  Server:
38
38
  - nginx
39
+ Warning:
40
+ - '199 Miscellaneous warning: Please use API version 0.5, not 0.7'
39
41
  Access-Control-Allow-Origin:
40
42
  - https://uploadcare.com
41
43
  Vary:
@@ -46,13 +48,14 @@ http_interactions:
46
48
  - 1; mode=block
47
49
  X-Content-Type-Options:
48
50
  - nosniff
51
+ X-Uploadcare-Request-Id:
52
+ - '0810aef4-8cd5-474c-8194-35a01459dbd7'
49
53
  X-Frame-Options:
50
54
  - SAMEORIGIN
51
55
  X-Robots-Tag:
52
56
  - noindex, nofollow, nosnippet, noarchive
53
57
  body:
54
58
  encoding: ASCII-8BIT
55
- string: '{"datetime_removed":null,"datetime_stored":"2021-07-22T07:01:52.904554Z","datetime_uploaded":"2021-07-22T06:51:13.085531Z","image_info":{"width":48,"height":12,"format":"PNG","color_mode":"RGBA","geo_location":null,"orientation":null,"dpi":[72,72],"datetime_original":null,"sequence":false},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/5ae54c37-754c-4982-8de4-3f242a88ce17/1702.png","original_filename":"-17.0\u00b0\u0421
56
- (2).png","size":514,"url":"https://api.uploadcare.com/files/5ae54c37-754c-4982-8de4-3f242a88ce17/","uuid":"5ae54c37-754c-4982-8de4-3f242a88ce17","source":null}'
57
- recorded_at: Thu, 22 Jul 2021 07:01:53 GMT
58
- recorded_with: VCR 6.0.0
59
+ string: '{"datetime_removed":null,"datetime_stored":"2022-10-25T11:11:47.239294Z","datetime_uploaded":"2022-10-25T11:11:47.120330Z","is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/2254146d-3652-4419-abf6-305d36ef30a8/image.png","original_filename":"image.png","size":2182,"url":"https://api.uploadcare.com/files/2254146d-3652-4419-abf6-305d36ef30a8/","uuid":"2254146d-3652-4419-abf6-305d36ef30a8","variations":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"metadata":{}}'
60
+ recorded_at: Sat, 29 Oct 2022 16:40:22 GMT
61
+ recorded_with: VCR 6.1.0
@@ -10,7 +10,7 @@ http_interactions:
10
10
  Content-Type:
11
11
  - application/json
12
12
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
13
+ - application/vnd.uploadcare-v0.7+json
14
14
  User-Agent:
15
15
  - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.0)
16
16
  Date:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Date:
30
30
  - Thu, 22 Jul 2021 08:38:38 GMT
31
31
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
32
+ - application/vnd.uploadcare-v0.7+json
33
33
  Content-Length:
34
34
  - '670'
35
35
  Connection:
@@ -5,15 +5,15 @@ http_interactions:
5
5
  uri: https://upload.uploadcare.com/group/
6
6
  body:
7
7
  encoding: UTF-8
8
- string: "-----------------------b0ea15bb93e4b625964bedf1273ec9c25aa5ee0ec0\r\nContent-Disposition:
9
- form-data; name=\"pub_key\"\r\n\r\n5d5bb5639e3f2df33674\r\n-----------------------b0ea15bb93e4b625964bedf1273ec9c25aa5ee0ec0\r\nContent-Disposition:
10
- form-data; name=\"files[0]\"\r\n\r\nf55fcc80-58c1-42eb-9e8f-54d500296d38/resize/x600\r\n-----------------------b0ea15bb93e4b625964bedf1273ec9c25aa5ee0ec0\r\nContent-Disposition:
11
- form-data; name=\"files[1]\"\r\n\r\n4a6ef027-d4cd-49be-a383-8cdbe503aa03/resize/x600\r\n-----------------------b0ea15bb93e4b625964bedf1273ec9c25aa5ee0ec0--\r\n"
8
+ string: "-----------------------dafb93cbc30d698e13a17f04d5c1b66386c88c822f\r\nContent-Disposition:
9
+ form-data; name=\"pub_key\"\r\n\r\n5d5bb5639e3f2df33674\r\n-----------------------dafb93cbc30d698e13a17f04d5c1b66386c88c822f\r\nContent-Disposition:
10
+ form-data; name=\"files[0]\"\r\n\r\n272cbffa-4a27-4aba-98f1-a36e2e017e24/resize/x600\r\n-----------------------dafb93cbc30d698e13a17f04d5c1b66386c88c822f\r\nContent-Disposition:
11
+ form-data; name=\"files[1]\"\r\n\r\n36892dd8-ccb1-4225-bc48-96a0fde93b33/resize/x600\r\n-----------------------dafb93cbc30d698e13a17f04d5c1b66386c88c822f--\r\n"
12
12
  headers:
13
13
  User-Agent:
14
- - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.2)
14
+ - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/2.7.6)
15
15
  Content-Type:
16
- - multipart/form-data; boundary=---------------------b0ea15bb93e4b625964bedf1273ec9c25aa5ee0ec0
16
+ - multipart/form-data; boundary=---------------------dafb93cbc30d698e13a17f04d5c1b66386c88c822f
17
17
  Connection:
18
18
  - close
19
19
  Host:
@@ -24,11 +24,11 @@ http_interactions:
24
24
  message: OK
25
25
  headers:
26
26
  Date:
27
- - Fri, 23 Jul 2021 10:13:57 GMT
27
+ - Sat, 29 Oct 2022 19:26:05 GMT
28
28
  Content-Type:
29
29
  - application/json
30
30
  Content-Length:
31
- - '1278'
31
+ - '1732'
32
32
  Connection:
33
33
  - close
34
34
  Server:
@@ -41,17 +41,21 @@ http_interactions:
41
41
  Access-Control-Allow-Methods:
42
42
  - GET, POST, HEAD, OPTIONS
43
43
  Access-Control-Allow-Headers:
44
- - DNT, X-PINGOTHER, X-UC-User-Agent
44
+ - DNT, X-UC-User-Agent, X-PINGOTHER
45
45
  Access-Control-Max-Age:
46
46
  - '1'
47
47
  Access-Control-Allow-Credentials:
48
48
  - 'true'
49
+ Access-Control-Expose-Headers:
50
+ - Warning, Retry-After
49
51
  X-Xss-Protection:
50
52
  - 1; mode=block
51
53
  X-Content-Type-Options:
52
54
  - nosniff
55
+ X-Uploadcare-Request-Id:
56
+ - 711a2fa2-0c02-42be-9f48-49e77c187346
53
57
  body:
54
- encoding: ASCII-8BIT
55
- string: '{"id":"f7c23e06-9148-4bb6-b899-a3573e202ecb~2","datetime_created":"2021-07-23T10:13:57.351533Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/f7c23e06-9148-4bb6-b899-a3573e202ecb~2/","url":"https://api.uploadcare.com/groups/f7c23e06-9148-4bb6-b899-a3573e202ecb~2/","files":[{"size":1290,"total":1290,"done":1290,"uuid":"f55fcc80-58c1-42eb-9e8f-54d500296d38","file_id":"f55fcc80-58c1-42eb-9e8f-54d500296d38","original_filename":"kitten.jpeg","is_image":true,"is_stored":false,"image_info":{"width":50,"height":50,"format":"JPEG","color_mode":"RGB","geo_location":null,"orientation":null,"dpi":[96,96],"datetime_original":null,"sequence":false},"video_info":null,"is_ready":true,"filename":"kitten.jpeg","mime_type":"application/octet-stream","default_effects":""},{"size":1290,"total":1290,"done":1290,"uuid":"4a6ef027-d4cd-49be-a383-8cdbe503aa03","file_id":"4a6ef027-d4cd-49be-a383-8cdbe503aa03","original_filename":"kitten.jpeg","is_image":true,"is_stored":false,"image_info":{"width":50,"height":50,"format":"JPEG","color_mode":"RGB","geo_location":null,"orientation":null,"dpi":[96,96],"datetime_original":null,"sequence":false},"video_info":null,"is_ready":true,"filename":"kitten.jpeg","mime_type":"application/octet-stream","default_effects":""}]}'
56
- recorded_at: Fri, 23 Jul 2021 10:13:57 GMT
57
- recorded_with: VCR 6.0.0
58
+ encoding: UTF-8
59
+ string: '{"id":"2e82a787-0059-4214-8ee2-d1493ac49e84~2","datetime_created":"2022-10-29T19:26:05.356641Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/2e82a787-0059-4214-8ee2-d1493ac49e84~2/","url":"https://api.uploadcare.com/groups/2e82a787-0059-4214-8ee2-d1493ac49e84~2/","files":[{"size":2766,"total":2766,"done":2766,"uuid":"272cbffa-4a27-4aba-98f1-a36e2e017e24","file_id":"272cbffa-4a27-4aba-98f1-a36e2e017e24","original_filename":"image.png","is_image":true,"is_stored":true,"image_info":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null},"video_info":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"is_ready":true,"filename":"image.png","mime_type":"image/png","metadata":{},"default_effects":""},{"size":2950,"total":2950,"done":2950,"uuid":"36892dd8-ccb1-4225-bc48-96a0fde93b33","file_id":"36892dd8-ccb1-4225-bc48-96a0fde93b33","original_filename":"image.png","is_image":true,"is_stored":true,"image_info":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null},"video_info":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"is_ready":true,"filename":"image.png","mime_type":"image/png","metadata":{},"default_effects":""}]}'
60
+ recorded_at: Sat, 29 Oct 2022 19:26:05 GMT
61
+ recorded_with: VCR 6.1.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://upload.uploadcare.com/group/info/?group_id=8b1362ed-b477-4a15-819a-2c6bb497d8bd~3&pub_key=demopublickey
5
+ uri: https://upload.uploadcare.com/group/info/?group_id=6053b054-b8d4-4f57-992d-94b8f1d6ba65~2&pub_key=demopublickey
6
6
  body:
7
7
  encoding: UTF-8
8
8
  string: ''
9
9
  headers:
10
10
  User-Agent:
11
- - UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.0)
11
+ - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/3.0.0)
12
12
  Connection:
13
13
  - close
14
14
  Host:
@@ -19,11 +19,11 @@ http_interactions:
19
19
  message: OK
20
20
  headers:
21
21
  Date:
22
- - Thu, 22 Jul 2021 09:30:37 GMT
22
+ - Sun, 30 Oct 2022 20:30:29 GMT
23
23
  Content-Type:
24
24
  - application/json
25
25
  Content-Length:
26
- - '340'
26
+ - '1732'
27
27
  Connection:
28
28
  - close
29
29
  Server:
@@ -41,12 +41,16 @@ http_interactions:
41
41
  - '1'
42
42
  Access-Control-Allow-Credentials:
43
43
  - 'true'
44
+ Access-Control-Expose-Headers:
45
+ - Warning, Retry-After
44
46
  X-Xss-Protection:
45
47
  - 1; mode=block
46
48
  X-Content-Type-Options:
47
49
  - nosniff
50
+ X-Uploadcare-Request-Id:
51
+ - 90a2fabe-2413-4f08-bd81-bc00c5ccf0e9
48
52
  body:
49
- encoding: ASCII-8BIT
50
- string: '{"id":"8b1362ed-b477-4a15-819a-2c6bb497d8bd~3","datetime_created":"2013-04-16T14:13:42.600051Z","datetime_stored":"2015-02-03T11:23:47.824683Z","files_count":3,"cdn_url":"https://ucarecdn.com/8b1362ed-b477-4a15-819a-2c6bb497d8bd~3/","url":"https://api.uploadcare.com/groups/8b1362ed-b477-4a15-819a-2c6bb497d8bd~3/","files":[null,null,null]}'
51
- recorded_at: Thu, 22 Jul 2021 09:30:37 GMT
52
- recorded_with: VCR 6.0.0
53
+ encoding: UTF-8
54
+ string: '{"id":"6053b054-b8d4-4f57-992d-94b8f1d6ba65~2","datetime_created":"2022-10-29T16:53:33.220316Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/6053b054-b8d4-4f57-992d-94b8f1d6ba65~2/","url":"https://api.uploadcare.com/groups/6053b054-b8d4-4f57-992d-94b8f1d6ba65~2/","files":[{"size":2766,"total":2766,"done":2766,"uuid":"272cbffa-4a27-4aba-98f1-a36e2e017e24","file_id":"272cbffa-4a27-4aba-98f1-a36e2e017e24","original_filename":"image.png","is_image":true,"is_stored":true,"image_info":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null},"video_info":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"is_ready":true,"filename":"image.png","mime_type":"image/png","metadata":{},"default_effects":""},{"size":2950,"total":2950,"done":2950,"uuid":"36892dd8-ccb1-4225-bc48-96a0fde93b33","file_id":"36892dd8-ccb1-4225-bc48-96a0fde93b33","original_filename":"image.png","is_image":true,"is_stored":true,"image_info":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null},"video_info":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"is_ready":true,"filename":"image.png","mime_type":"image/png","metadata":{},"default_effects":""}]}'
55
+ recorded_at: Sun, 30 Oct 2022 20:30:29 GMT
56
+ recorded_with: VCR 6.1.0
@@ -10,7 +10,7 @@ http_interactions:
10
10
  Content-Type:
11
11
  - application/json
12
12
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
13
+ - application/vnd.uploadcare-v0.7+json
14
14
  User-Agent:
15
15
  - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.0)
16
16
  Date:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Date:
30
30
  - Thu, 22 Jul 2021 09:22:32 GMT
31
31
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
32
+ - application/vnd.uploadcare-v0.7+json
33
33
  Content-Length:
34
34
  - '15548'
35
35
  Connection:
@@ -1,8 +1,124 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.uploadcare.com/groups/6053b054-b8d4-4f57-992d-94b8f1d6ba65~2/
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ Content-Type:
11
+ - application/json
12
+ Accept:
13
+ - application/vnd.uploadcare-v0.7+json
14
+ User-Agent:
15
+ - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/3.0.0)
16
+ Date:
17
+ - Sun, 30 Oct 2022 20:22:18 GMT
18
+ Authorization:
19
+ - Uploadcare 5d5bb5639e3f2df33674:9f967887320b67d4040b5670a146815937687a9e
20
+ Connection:
21
+ - close
22
+ Host:
23
+ - api.uploadcare.com
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Sun, 30 Oct 2022 20:22:18 GMT
31
+ Content-Type:
32
+ - application/vnd.uploadcare-v0.7+json
33
+ Content-Length:
34
+ - '1733'
35
+ Connection:
36
+ - close
37
+ Server:
38
+ - nginx
39
+ Warning:
40
+ - '199 Miscellaneous warning: Please use API version 0.5, not 0.7'
41
+ Access-Control-Allow-Origin:
42
+ - https://uploadcare.com
43
+ Vary:
44
+ - Accept
45
+ Allow:
46
+ - DELETE, GET, HEAD, OPTIONS
47
+ X-Xss-Protection:
48
+ - 1; mode=block
49
+ X-Content-Type-Options:
50
+ - nosniff
51
+ X-Uploadcare-Request-Id:
52
+ - 4ab0a977-1047-44c3-8468-44dfec0dd624
53
+ X-Frame-Options:
54
+ - SAMEORIGIN
55
+ X-Robots-Tag:
56
+ - noindex, nofollow, nosnippet, noarchive
57
+ body:
58
+ encoding: ASCII-8BIT
59
+ string: '{"id":"6053b054-b8d4-4f57-992d-94b8f1d6ba65~2","datetime_created":"2022-10-29T16:53:33.220316Z","files_count":2,"cdn_url":"https://ucarecdn.com/6053b054-b8d4-4f57-992d-94b8f1d6ba65~2/","url":"https://api.uploadcare.com/groups/6053b054-b8d4-4f57-992d-94b8f1d6ba65~2/","files":[{"datetime_removed":null,"datetime_stored":"2022-10-23T22:47:38.127212Z","datetime_uploaded":"2022-10-23T22:47:38.086167Z","is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/272cbffa-4a27-4aba-98f1-a36e2e017e24/image.png","original_filename":"image.png","size":2766,"url":"https://api.uploadcare.com/files/272cbffa-4a27-4aba-98f1-a36e2e017e24/","uuid":"272cbffa-4a27-4aba-98f1-a36e2e017e24","variations":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"metadata":{},"default_effects":""},{"datetime_removed":null,"datetime_stored":"2022-10-23T22:15:16.698017Z","datetime_uploaded":"2022-10-23T22:15:16.642664Z","is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/36892dd8-ccb1-4225-bc48-96a0fde93b33/image.png","original_filename":"image.png","size":2950,"url":"https://api.uploadcare.com/files/36892dd8-ccb1-4225-bc48-96a0fde93b33/","uuid":"36892dd8-ccb1-4225-bc48-96a0fde93b33","variations":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"metadata":{},"default_effects":""}]}'
60
+ recorded_at: Sun, 30 Oct 2022 20:22:18 GMT
61
+ - request:
62
+ method: put
63
+ uri: https://api.uploadcare.com/files/272cbffa-4a27-4aba-98f1-a36e2e017e24/storage/
64
+ body:
65
+ encoding: UTF-8
66
+ string: ''
67
+ headers:
68
+ Content-Type:
69
+ - application/json
70
+ Accept:
71
+ - application/vnd.uploadcare-v0.7+json
72
+ User-Agent:
73
+ - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/3.0.0)
74
+ Date:
75
+ - Sun, 30 Oct 2022 20:22:18 GMT
76
+ Authorization:
77
+ - Uploadcare 5d5bb5639e3f2df33674:e33dcb2d132a8ecaa9efb4638d3e69d6557a7b92
78
+ Connection:
79
+ - close
80
+ Host:
81
+ - api.uploadcare.com
82
+ response:
83
+ status:
84
+ code: 200
85
+ message: OK
86
+ headers:
87
+ Date:
88
+ - Sun, 30 Oct 2022 20:22:19 GMT
89
+ Content-Type:
90
+ - application/vnd.uploadcare-v0.7+json
91
+ Content-Length:
92
+ - '706'
93
+ Connection:
94
+ - close
95
+ Server:
96
+ - nginx
97
+ Warning:
98
+ - '199 Miscellaneous warning: Please use API version 0.5, not 0.7'
99
+ Access-Control-Allow-Origin:
100
+ - https://uploadcare.com
101
+ Vary:
102
+ - Accept
103
+ Allow:
104
+ - DELETE, GET, HEAD, OPTIONS, POST, PUT
105
+ X-Xss-Protection:
106
+ - 1; mode=block
107
+ X-Content-Type-Options:
108
+ - nosniff
109
+ X-Uploadcare-Request-Id:
110
+ - 48e83852-da3f-41a9-855d-b5de85a49cf1
111
+ X-Frame-Options:
112
+ - SAMEORIGIN
113
+ X-Robots-Tag:
114
+ - noindex, nofollow, nosnippet, noarchive
115
+ body:
116
+ encoding: ASCII-8BIT
117
+ string: '{"datetime_removed":null,"datetime_stored":"2022-10-23T22:47:38.127212Z","datetime_uploaded":"2022-10-23T22:47:38.086167Z","is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/272cbffa-4a27-4aba-98f1-a36e2e017e24/image.png","original_filename":"image.png","size":2766,"url":"https://api.uploadcare.com/files/272cbffa-4a27-4aba-98f1-a36e2e017e24/","uuid":"272cbffa-4a27-4aba-98f1-a36e2e017e24","variations":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"metadata":{}}'
118
+ recorded_at: Sun, 30 Oct 2022 20:22:19 GMT
3
119
  - request:
4
120
  method: put
5
- uri: https://api.uploadcare.com/groups/aeaeeb8d-43bc-444d-954f-a171fd872e58~2/storage/
121
+ uri: https://api.uploadcare.com/files/36892dd8-ccb1-4225-bc48-96a0fde93b33/storage/
6
122
  body:
7
123
  encoding: UTF-8
8
124
  string: ''
@@ -10,13 +126,13 @@ http_interactions:
10
126
  Content-Type:
11
127
  - application/json
12
128
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
129
+ - application/vnd.uploadcare-v0.7+json
14
130
  User-Agent:
15
- - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.0)
131
+ - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/3.0.0)
16
132
  Date:
17
- - Thu, 22 Jul 2021 09:22:32 GMT
133
+ - Sun, 30 Oct 2022 20:22:19 GMT
18
134
  Authorization:
19
- - Uploadcare 5d5bb5639e3f2df33674:61efbd9d61b4e2457bb04f05b0175e076615e132
135
+ - Uploadcare 5d5bb5639e3f2df33674:9a015f8f68d3018770700c47e28908cceeb7f9b5
20
136
  Connection:
21
137
  - close
22
138
  Host:
@@ -27,31 +143,35 @@ http_interactions:
27
143
  message: OK
28
144
  headers:
29
145
  Date:
30
- - Thu, 22 Jul 2021 09:22:33 GMT
146
+ - Sun, 30 Oct 2022 20:22:20 GMT
31
147
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
148
+ - application/vnd.uploadcare-v0.7+json
33
149
  Content-Length:
34
- - '1169'
150
+ - '706'
35
151
  Connection:
36
152
  - close
37
153
  Server:
38
154
  - nginx
155
+ Warning:
156
+ - '199 Miscellaneous warning: Please use API version 0.5, not 0.7'
39
157
  Access-Control-Allow-Origin:
40
158
  - https://uploadcare.com
41
159
  Vary:
42
160
  - Accept
43
161
  Allow:
44
- - OPTIONS, POST, PUT
162
+ - DELETE, GET, HEAD, OPTIONS, POST, PUT
45
163
  X-Xss-Protection:
46
164
  - 1; mode=block
47
165
  X-Content-Type-Options:
48
166
  - nosniff
167
+ X-Uploadcare-Request-Id:
168
+ - 7ae2f4cf-e401-4837-928e-a0966f9824fc
49
169
  X-Frame-Options:
50
170
  - SAMEORIGIN
51
171
  X-Robots-Tag:
52
172
  - noindex, nofollow, nosnippet, noarchive
53
173
  body:
54
174
  encoding: ASCII-8BIT
55
- string: '{"id":"aeaeeb8d-43bc-444d-954f-a171fd872e58~2","datetime_created":"2021-07-20T06:23:51.599069Z","datetime_stored":"2021-07-22T09:22:33.506397Z","files_count":2,"cdn_url":"https://ucarecdn.com/aeaeeb8d-43bc-444d-954f-a171fd872e58~2/","url":"https://api.uploadcare.com/groups/aeaeeb8d-43bc-444d-954f-a171fd872e58~2/","files":[{"datetime_removed":null,"datetime_stored":"2021-07-22T09:18:17.362876Z","datetime_uploaded":"2021-07-20T06:23:51.609975Z","image_info":null,"is_image":null,"is_ready":false,"mime_type":"","original_file_url":null,"original_filename":"thumbnail_0.jpg","size":0,"url":"https://api.uploadcare.com/files/b2cd0665-c21c-4e2f-aa64-019f52136ca8/","uuid":"b2cd0665-c21c-4e2f-aa64-019f52136ca8","source":null,"default_effects":""},{"datetime_removed":null,"datetime_stored":"2021-07-22T09:18:17.448478Z","datetime_uploaded":"2021-07-20T06:23:51.630723Z","image_info":null,"is_image":null,"is_ready":false,"mime_type":"","original_file_url":null,"original_filename":"thumbnail_1.jpg","size":0,"url":"https://api.uploadcare.com/files/104ebe73-48e2-48cc-a8c2-1134c57129f5/","uuid":"104ebe73-48e2-48cc-a8c2-1134c57129f5","source":null,"default_effects":""}]}'
56
- recorded_at: Thu, 22 Jul 2021 09:22:33 GMT
57
- recorded_with: VCR 6.0.0
175
+ string: '{"datetime_removed":null,"datetime_stored":"2022-10-23T22:15:16.698017Z","datetime_uploaded":"2022-10-23T22:15:16.642664Z","is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/36892dd8-ccb1-4225-bc48-96a0fde93b33/image.png","original_filename":"image.png","size":2950,"url":"https://api.uploadcare.com/files/36892dd8-ccb1-4225-bc48-96a0fde93b33/","uuid":"36892dd8-ccb1-4225-bc48-96a0fde93b33","variations":null,"content_info":{"mime":{"mime":"image/png","type":"image","subtype":"png"},"image":{"dpi":null,"width":50,"format":"PNG","height":42,"sequence":false,"color_mode":"RGBA","orientation":null,"geo_location":null,"datetime_original":null}},"metadata":{}}'
176
+ recorded_at: Sun, 30 Oct 2022 20:22:20 GMT
177
+ recorded_with: VCR 6.1.0
@@ -10,7 +10,7 @@ http_interactions:
10
10
  Content-Type:
11
11
  - application/json
12
12
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
13
+ - application/vnd.uploadcare-v0.7+json
14
14
  User-Agent:
15
15
  - UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.0)
16
16
  Date:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Date:
30
30
  - Thu, 22 Jul 2021 10:00:12 GMT
31
31
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
32
+ - application/vnd.uploadcare-v0.7+json
33
33
  Content-Length:
34
34
  - '307'
35
35
  Connection:
@@ -6,12 +6,12 @@ http_interactions:
6
6
  body:
7
7
  encoding: ASCII-8BIT
8
8
  string: !binary |-
9
- LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0yOWU5NzMxZjlhNzMzYWExZWIxZjE1NTkzMDg3MWQ1MmJkOTNlZDA2NWENCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iVVBMT0FEQ0FSRV9QVUJfS0VZIg0KDQpkZW1vcHVibGlja2V5DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTI5ZTk3MzFmOWE3MzNhYTFlYjFmMTU1OTMwODcxZDUyYmQ5M2VkMDY1YQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJraXR0ZW4uanBlZyI7IGZpbGVuYW1lPSJraXR0ZW4uanBlZyINCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vb2N0ZXQtc3RyZWFtDQoNCv/Y/+AAEEpGSUYAAQEBAGAAYAAA//4AO0NSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVhbGl0eSA9IDY1Cv/bAEMACwgICggHCwoJCg0MCw0RHBIRDw8RIhkaFBwpJCsqKCQnJy0yQDctMD0wJyc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UnddlgR0JpPOmfl7hwB/dY1r7VLZEcjPVn1RIlBZtoYZHvULa9AuMzL+dc5PcwSWFtBMjSl4UO0ZBIx1z2PvSW2g6HOFfN2fZpR+XSpVbujSVJrZnZW12l5aLMjBlJIyKTdl1x6GqWniG0g+yWsIjt4ySuGJJJPNWl/1yH/AGT/AEpSlzaolJx0ZYHQUU4LwKKgZ4QAxY4fGR1JqQCXGOG9hXUxeHWdwioWPbjrV8+EDEA1xJEnquct+QFU4W3BO5KVV9J068bI3W6xEn/ZyP6VU0xpbu7IktPs8C8IwbOR65remubObTUsYl2pAAqDvx/Wsi5JuUiiiYptIyBkZwfas2knqaJ30NnTLiZnkS5g8l1Yhec7l7GtZW+dT7H+lUBuMdtIwwSSpGParW/a6H2P9KtL3TNu7NIfdH0oqNZBtH0opAY91JHptp5ka4kk4B9BXN3OoSvvdHLYxitXxLdeXKI1I+UbQOwFc3HIApQEFj2Y9qU5XdzSEbKxIk+9w6khmOGH9avWxaOZQ3rWYVMLEoGI7j0p0WomOdEkG49j7VlfuW49jtXkHkQDsGz+lMnuEjRXdgqjuTioJpANPtpQchn4/KqGrvutLcesy/zrdfCYPc1f7ZtRwZun+yf8KKsiU4FFVyknKeJSftknPrWHBy7Z54NFFc8jpiS27sJYwGOCvrUurgCGJgMHPWiip6D6m9ESfD1jyf8AWf0NNv8A/j3tv+uy/wA6KK6I/AYS+I2cn1ooorQg/9kNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tMzNmMWZmN2EzN2IxMGVhZDVhM2U2NTliZWJlZTc1NWFlN2ZkMjgxZTI1LS0NCg==
10
10
  headers:
11
11
  User-Agent:
12
- - UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.2)
12
+ - UploadcareRuby/4.0.0/demopublickey (Ruby/3.0.0)
13
13
  Content-Type:
14
- - multipart/form-data; boundary=---------------------29e9731f9a733aa1eb1f155930871d52bd93ed065a
14
+ - multipart/form-data; boundary=---------------------33f1ff7a37b10ead5a3e659bebee755ae7fd281e25
15
15
  Connection:
16
16
  - close
17
17
  Host:
@@ -22,7 +22,7 @@ http_interactions:
22
22
  message: OK
23
23
  headers:
24
24
  Date:
25
- - Fri, 23 Jul 2021 09:25:40 GMT
25
+ - Sun, 30 Oct 2022 11:44:19 GMT
26
26
  Content-Type:
27
27
  - application/json
28
28
  Content-Length:
@@ -39,17 +39,21 @@ http_interactions:
39
39
  Access-Control-Allow-Methods:
40
40
  - POST, OPTIONS
41
41
  Access-Control-Allow-Headers:
42
- - DNT, X-PINGOTHER, X-UC-User-Agent
42
+ - X-UC-User-Agent, X-PINGOTHER, DNT
43
43
  Access-Control-Max-Age:
44
44
  - '1'
45
45
  Access-Control-Allow-Credentials:
46
46
  - 'true'
47
+ Access-Control-Expose-Headers:
48
+ - Warning, Retry-After
47
49
  X-Xss-Protection:
48
50
  - 1; mode=block
49
51
  X-Content-Type-Options:
50
52
  - nosniff
53
+ X-Uploadcare-Request-Id:
54
+ - 6e446888-307b-49f9-ac8f-7c8256d4e079
51
55
  body:
52
- encoding: ASCII-8BIT
53
- string: '{"kitten.jpeg":"afbe9a51-17ee-49e0-863c-fd112592dc89"}'
54
- recorded_at: Fri, 23 Jul 2021 09:25:40 GMT
55
- recorded_with: VCR 6.0.0
56
+ encoding: UTF-8
57
+ string: '{"kitten.jpeg":"1fad2026-8c95-4027-bc2d-ca01bc876b23"}'
58
+ recorded_at: Sun, 30 Oct 2022 11:44:19 GMT
59
+ recorded_with: VCR 6.1.0
@@ -62,7 +62,7 @@ http_interactions:
62
62
  Content-Type:
63
63
  - application/json
64
64
  Accept:
65
- - application/vnd.uploadcare-v0.5+json
65
+ - application/vnd.uploadcare-v0.7+json
66
66
  User-Agent:
67
67
  - UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.2)
68
68
  Date:
@@ -81,7 +81,7 @@ http_interactions:
81
81
  Date:
82
82
  - Fri, 23 Jul 2021 09:07:38 GMT
83
83
  Content-Type:
84
- - application/vnd.uploadcare-v0.5+json
84
+ - application/vnd.uploadcare-v0.7+json
85
85
  Content-Length:
86
86
  - '614'
87
87
  Connection:
@@ -10,7 +10,7 @@ http_interactions:
10
10
  Content-Type:
11
11
  - application/json
12
12
  Accept:
13
- - application/vnd.uploadcare-v0.5+json
13
+ - application/vnd.uploadcare-v0.7+json
14
14
  User-Agent:
15
15
  - UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.0)
16
16
  Date:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Date:
30
30
  - Thu, 22 Jul 2021 10:18:35 GMT
31
31
  Content-Type:
32
- - application/vnd.uploadcare-v0.5+json
32
+ - application/vnd.uploadcare-v0.7+json
33
33
  Content-Length:
34
34
  - '228'
35
35
  Connection: