uploadcare-rails 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uploadcare/rails/api/rest/base.rb +3 -2
- data/lib/uploadcare/rails/api/upload/base.rb +2 -0
- data/lib/uploadcare/rails/configuration.rb +3 -1
- data/lib/uploadcare/rails/transformations/image_transformations.rb +1 -1
- data/lib/uploadcare/rails/version.rb +1 -1
- metadata +28 -139
- data/spec/fixtures/kitten.jpeg +0 -0
- data/spec/fixtures/vcr_cassettes/conversion_api_convert_document.yml +0 -62
- data/spec/fixtures/vcr_cassettes/conversion_api_convert_document_with_error.yml +0 -62
- data/spec/fixtures/vcr_cassettes/conversion_api_convert_video.yml +0 -62
- data/spec/fixtures/vcr_cassettes/conversion_api_convert_video_with_error.yml +0 -62
- data/spec/fixtures/vcr_cassettes/conversion_api_get_document_conversion_status.yml +0 -59
- data/spec/fixtures/vcr_cassettes/conversion_api_get_video_conversion_status.yml +0 -59
- data/spec/fixtures/vcr_cassettes/file_api_copy_file.yml +0 -60
- data/spec/fixtures/vcr_cassettes/file_api_delete_file.yml +0 -61
- data/spec/fixtures/vcr_cassettes/file_api_delete_files.yml +0 -58
- data/spec/fixtures/vcr_cassettes/file_api_get_file.yml +0 -61
- data/spec/fixtures/vcr_cassettes/file_api_get_files.yml +0 -61
- data/spec/fixtures/vcr_cassettes/file_api_load_file.yml +0 -57
- data/spec/fixtures/vcr_cassettes/file_api_store_file.yml +0 -61
- data/spec/fixtures/vcr_cassettes/file_api_store_files.yml +0 -57
- data/spec/fixtures/vcr_cassettes/group_api_create_group.yml +0 -61
- data/spec/fixtures/vcr_cassettes/group_api_get_group.yml +0 -56
- data/spec/fixtures/vcr_cassettes/group_api_get_groups.yml +0 -57
- data/spec/fixtures/vcr_cassettes/group_api_store_group.yml +0 -177
- data/spec/fixtures/vcr_cassettes/project_api_get_project.yml +0 -59
- data/spec/fixtures/vcr_cassettes/upload_upload_many_files.yml +0 -59
- data/spec/fixtures/vcr_cassettes/upload_upload_one_file.yml +0 -105
- data/spec/fixtures/vcr_cassettes/upload_upload_one_file_from_cdn.yml +0 -111
- data/spec/fixtures/vcr_cassettes/webhook_api_create_webhook.yml +0 -59
- data/spec/fixtures/vcr_cassettes/webhook_api_delete_webhook.yml +0 -59
- data/spec/fixtures/vcr_cassettes/webhook_api_get_webhooks.yml +0 -59
- data/spec/fixtures/vcr_cassettes/webhook_api_update_webhook.yml +0 -59
- data/spec/generators/uploadcare_config_generator_spec.rb +0 -31
- data/spec/spec_helper.rb +0 -27
- data/spec/support/generators.rb +0 -41
- data/spec/support/vcr.rb +0 -14
- data/spec/uploadcare/rails/action_view/uploadcare_uploader_tags_spec.rb +0 -40
- data/spec/uploadcare/rails/action_view/uploadcare_widget_tags_spec.rb +0 -46
- data/spec/uploadcare/rails/active_record/mount_uploadcare_file_spec.rb +0 -33
- data/spec/uploadcare/rails/active_record/mount_uploadcare_group_spec.rb +0 -32
- data/spec/uploadcare/rails/api/rest/conversion_api_spec.rb +0 -110
- data/spec/uploadcare/rails/api/rest/file_api_spec.rb +0 -76
- data/spec/uploadcare/rails/api/rest/group_api_spec.rb +0 -61
- data/spec/uploadcare/rails/api/rest/project_api_spec.rb +0 -33
- data/spec/uploadcare/rails/api/rest/webhook_api_spec.rb +0 -67
- data/spec/uploadcare/rails/api/upload/upload_api_spec.rb +0 -82
- data/spec/uploadcare/rails/jobs/delete_file_job_spec.rb +0 -15
- data/spec/uploadcare/rails/jobs/store_file_job_spec.rb +0 -15
- data/spec/uploadcare/rails/jobs/store_group_job_spec.rb +0 -15
- data/spec/uploadcare/rails/objects/file_spec.rb +0 -77
- data/spec/uploadcare/rails/objects/group_spec.rb +0 -65
- data/spec/uploadcare/rails/services/id_extractor_spec.rb +0 -26
- data/spec/uploadcare/rails/transformations/image_transformations_spec.rb +0 -120
- data/spec/uploadcare/rails_spec.rb +0 -7
@@ -1,59 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.uploadcare.com/convert/video/status/913632082/
|
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/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.2)
|
16
|
-
Date:
|
17
|
-
- Fri, 23 Jul 2021 11:31:38 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:8ea50fe3b833028988450d93b21b84ac13818d2b
|
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
|
-
- Fri, 23 Jul 2021 11:31:39 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '156'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Warning:
|
40
|
-
- '199 Miscellaneous warning: Please use API version 0.5, not 0.6'
|
41
|
-
Access-Control-Allow-Origin:
|
42
|
-
- https://uploadcare.com
|
43
|
-
Vary:
|
44
|
-
- Accept
|
45
|
-
Allow:
|
46
|
-
- GET, HEAD, OPTIONS
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Frame-Options:
|
52
|
-
- SAMEORIGIN
|
53
|
-
X-Robots-Tag:
|
54
|
-
- noindex, nofollow, nosnippet, noarchive
|
55
|
-
body:
|
56
|
-
encoding: ASCII-8BIT
|
57
|
-
string: '{"status":"finished","error":null,"result":{"uuid":"3f2e57e7-2d3f-42b2-9b42-2da4cfa6551e","thumbnails_group_uuid":"4ed9e8ea-c22c-4a9f-bdd1-c4ce40ebaa8c~2"}}'
|
58
|
-
recorded_at: Fri, 23 Jul 2021 11:31:39 GMT
|
59
|
-
recorded_with: VCR 6.0.0
|
@@ -1,60 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.uploadcare.com/files/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"source":"d43e8281-a42a-4f30-9fee-4a166998d15a","store":false}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.7+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/3.0.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 07:21:10 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:9e0f878fa2180c0d1d5edb0ffabab206aaebb434
|
20
|
-
Connection:
|
21
|
-
- close
|
22
|
-
Host:
|
23
|
-
- api.uploadcare.com
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 201
|
27
|
-
message: Created
|
28
|
-
headers:
|
29
|
-
Date:
|
30
|
-
- Thu, 22 Jul 2021 07:21:11 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '533'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Location:
|
40
|
-
- https://api.uploadcare.com/files/7bfa5998-cb01-4b83-893a-27b55b8e9bd9/
|
41
|
-
Access-Control-Allow-Origin:
|
42
|
-
- https://uploadcare.com
|
43
|
-
Vary:
|
44
|
-
- Accept
|
45
|
-
Allow:
|
46
|
-
- GET, HEAD, OPTIONS, POST
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Frame-Options:
|
52
|
-
- SAMEORIGIN
|
53
|
-
X-Robots-Tag:
|
54
|
-
- noindex, nofollow, nosnippet, noarchive
|
55
|
-
body:
|
56
|
-
encoding: ASCII-8BIT
|
57
|
-
string: '{"type":"file","result":{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2021-07-22T07:21:11.521628Z","image_info":null,"is_image":null,"is_ready":true,"mime_type":"application/octet-stream","original_file_url":"https://ucarecdn.com/7bfa5998-cb01-4b83-893a-27b55b8e9bd9/1702.png","original_filename":"-17.0\u00b0\u0421
|
58
|
-
(2).png","size":0,"url":"https://api.uploadcare.com/files/7bfa5998-cb01-4b83-893a-27b55b8e9bd9/","uuid":"7bfa5998-cb01-4b83-893a-27b55b8e9bd9","source":"/d43e8281-a42a-4f30-9fee-4a166998d15a/"}}'
|
59
|
-
recorded_at: Thu, 22 Jul 2021 07:21:11 GMT
|
60
|
-
recorded_with: VCR 6.0.0
|
@@ -1,61 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: delete
|
5
|
-
uri: https://api.uploadcare.com/files/2254146d-3652-4419-abf6-305d36ef30a8/storage/
|
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/2.7.6)
|
16
|
-
Date:
|
17
|
-
- Sat, 29 Oct 2022 16:40:33 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:7e5f316162ee5935900dd5978dd442389f2430c6
|
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
|
-
- Sat, 29 Oct 2022 16:40:34 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '641'
|
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, POST, PUT
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Uploadcare-Request-Id:
|
52
|
-
- c225d61e-d720-4b49-83ef-3622fcd42f72
|
53
|
-
X-Frame-Options:
|
54
|
-
- SAMEORIGIN
|
55
|
-
X-Robots-Tag:
|
56
|
-
- noindex, nofollow, nosnippet, noarchive
|
57
|
-
body:
|
58
|
-
encoding: ASCII-8BIT
|
59
|
-
string: '{"datetime_removed":"2022-10-29T16:40:34.463022Z","datetime_stored":null,"datetime_uploaded":"2022-10-25T11:11:47.120330Z","is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"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:34 GMT
|
61
|
-
recorded_with: VCR 6.1.0
|
@@ -1,58 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: delete
|
5
|
-
uri: https://api.uploadcare.com/files/storage/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '["37d70281-cc30-4c59-b8d6-e11c472dec40"]'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.7+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 08:38:38 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:e05af6d220eaa34112d6b7b0bd03f8a22d9e109f
|
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
|
-
- Thu, 22 Jul 2021 08:38:39 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '611'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Access-Control-Allow-Origin:
|
40
|
-
- https://uploadcare.com
|
41
|
-
Vary:
|
42
|
-
- Accept
|
43
|
-
Allow:
|
44
|
-
- DELETE, OPTIONS, PUT
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Robots-Tag:
|
52
|
-
- noindex, nofollow, nosnippet, noarchive
|
53
|
-
body:
|
54
|
-
encoding: ASCII-8BIT
|
55
|
-
string: '{"status":"ok","result":[{"datetime_removed":"2021-07-22T08:38:39.167191Z","datetime_stored":null,"datetime_uploaded":"2021-07-22T07:28:44.481441Z","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":null,"original_filename":"-17.0\u00b0\u0421
|
56
|
-
(2).png","size":514,"url":"https://api.uploadcare.com/files/37d70281-cc30-4c59-b8d6-e11c472dec40/","uuid":"37d70281-cc30-4c59-b8d6-e11c472dec40","source":null}],"problems":{}}'
|
57
|
-
recorded_at: Thu, 22 Jul 2021 08:38:39 GMT
|
58
|
-
recorded_with: VCR 6.0.0
|
@@ -1,61 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.uploadcare.com/files/2254146d-3652-4419-abf6-305d36ef30a8/
|
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/2.7.6)
|
16
|
-
Date:
|
17
|
-
- Sat, 29 Oct 2022 19:18:31 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:4c67808ffd1d97a64c79881888d981dab9b55363
|
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
|
-
- Sat, 29 Oct 2022 19:18:31 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '641'
|
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
|
-
- 6e16f52f-b124-428c-a0a9-6ac9317fd2df
|
53
|
-
X-Frame-Options:
|
54
|
-
- SAMEORIGIN
|
55
|
-
X-Robots-Tag:
|
56
|
-
- noindex, nofollow, nosnippet, noarchive
|
57
|
-
body:
|
58
|
-
encoding: ASCII-8BIT
|
59
|
-
string: '{"datetime_removed":"2022-10-29T16:40:34.463022Z","datetime_stored":null,"datetime_uploaded":"2022-10-25T11:11:47.120330Z","is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":null,"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 19:18:31 GMT
|
61
|
-
recorded_with: VCR 6.1.0
|
@@ -1,61 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.uploadcare.com/files/
|
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/3.0.5/5d5bb5639e3f2df33674 (Ruby/3.0.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 07:17:44 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:2c946903fe8c7869f6849b781c1505d00cecbd82
|
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
|
-
- Thu, 22 Jul 2021 07:17:45 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '3841'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Access-Control-Allow-Origin:
|
40
|
-
- https://uploadcare.com
|
41
|
-
Vary:
|
42
|
-
- Accept
|
43
|
-
Allow:
|
44
|
-
- GET, HEAD, OPTIONS, POST
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Robots-Tag:
|
52
|
-
- noindex, nofollow, nosnippet, noarchive
|
53
|
-
body:
|
54
|
-
encoding: ASCII-8BIT
|
55
|
-
string: '{"next":null,"previous":null,"total":6,"per_page":100,"results":[{"datetime_removed":null,"datetime_stored":"2021-07-21T10:10:15.455617Z","datetime_uploaded":"2021-07-21T10:10:15.364863Z","image_info":{"width":82,"height":19,"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/3542c513-5cf4-4adb-97b0-bfa7fbd31fb5/170.png","original_filename":"-17.0\u00b0\u0421.png","size":861,"url":"https://api.uploadcare.com/files/3542c513-5cf4-4adb-97b0-bfa7fbd31fb5/","uuid":"3542c513-5cf4-4adb-97b0-bfa7fbd31fb5","source":null},{"datetime_removed":null,"datetime_stored":"2021-07-21T10:30:47.059311Z","datetime_uploaded":"2021-07-21T10:30:46.967311Z","image_info":{"width":82,"height":19,"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/64215d18-1356-42cb-ab8c-7542290b6e1b/170.png","original_filename":"-17.0\u00b0\u0421.png","size":861,"url":"https://api.uploadcare.com/files/64215d18-1356-42cb-ab8c-7542290b6e1b/","uuid":"64215d18-1356-42cb-ab8c-7542290b6e1b","source":null},{"datetime_removed":null,"datetime_stored":"2021-07-21T10:30:47.037717Z","datetime_uploaded":"2021-07-21T10:30:46.973279Z","image_info":{"width":55,"height":13,"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/59af53a6-3995-4136-85c6-dcdd471237d1/1701.png","original_filename":"-17.0\u00b0\u0421
|
56
|
-
(1).png","size":987,"url":"https://api.uploadcare.com/files/59af53a6-3995-4136-85c6-dcdd471237d1/","uuid":"59af53a6-3995-4136-85c6-dcdd471237d1","source":null},{"datetime_removed":null,"datetime_stored":"2021-07-21T10:30:47.042454Z","datetime_uploaded":"2021-07-21T10:30:46.992745Z","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/8ee53f06-47b7-4b32-902b-51bb2a94ea06/1702.png","original_filename":"-17.0\u00b0\u0421
|
57
|
-
(2).png","size":514,"url":"https://api.uploadcare.com/files/8ee53f06-47b7-4b32-902b-51bb2a94ea06/","uuid":"8ee53f06-47b7-4b32-902b-51bb2a94ea06","source":null},{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2021-07-22T06:51:48.199541Z","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/7d1988a4-1bf5-4953-98ab-7ecd592dca90/1702.png","original_filename":"-17.0\u00b0\u0421
|
58
|
-
(2).png","size":514,"url":"https://api.uploadcare.com/files/7d1988a4-1bf5-4953-98ab-7ecd592dca90/","uuid":"7d1988a4-1bf5-4953-98ab-7ecd592dca90","source":null},{"datetime_removed":null,"datetime_stored":"2021-07-22T06:52:44.345836Z","datetime_uploaded":"2021-07-22T06:52:44.015656Z","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/d43e8281-a42a-4f30-9fee-4a166998d15a/1702.png","original_filename":"-17.0\u00b0\u0421
|
59
|
-
(2).png","size":514,"url":"https://api.uploadcare.com/files/d43e8281-a42a-4f30-9fee-4a166998d15a/","uuid":"d43e8281-a42a-4f30-9fee-4a166998d15a","source":null}]}'
|
60
|
-
recorded_at: Thu, 22 Jul 2021 07:17:45 GMT
|
61
|
-
recorded_with: VCR 6.0.0
|
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.uploadcare.com/files/7c0bd507-961b-493e-aec9-b9be1697cf52/
|
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/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.2)
|
16
|
-
Date:
|
17
|
-
- Tue, 27 Jul 2021 09:38:00 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:6ff18c7a89921d22e71129c67307be2c4bb02287
|
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
|
-
- Tue, 27 Jul 2021 09:38:00 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '619'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Access-Control-Allow-Origin:
|
40
|
-
- https://uploadcare.com
|
41
|
-
Vary:
|
42
|
-
- Accept
|
43
|
-
Allow:
|
44
|
-
- DELETE, GET, HEAD, OPTIONS
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Robots-Tag:
|
52
|
-
- noindex, nofollow, nosnippet, noarchive
|
53
|
-
body:
|
54
|
-
encoding: ASCII-8BIT
|
55
|
-
string: '{"datetime_removed":null,"datetime_stored":"2021-07-27T09:07:25.264944Z","datetime_uploaded":"2021-07-27T09:07:24.962347Z","image_info":{"width":1855,"height":1056,"format":"PNG","color_mode":"RGBA","geo_location":null,"orientation":null,"dpi":null,"datetime_original":null,"sequence":false},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/7c0bd507-961b-493e-aec9-b9be1697cf52/444.png","original_filename":"444.png","size":578886,"url":"https://api.uploadcare.com/files/7c0bd507-961b-493e-aec9-b9be1697cf52/","uuid":"7c0bd507-961b-493e-aec9-b9be1697cf52","source":null}'
|
56
|
-
recorded_at: Tue, 27 Jul 2021 09:38:00 GMT
|
57
|
-
recorded_with: VCR 6.0.0
|
@@ -1,61 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: put
|
5
|
-
uri: https://api.uploadcare.com/files/2254146d-3652-4419-abf6-305d36ef30a8/storage/
|
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/2.7.6)
|
16
|
-
Date:
|
17
|
-
- Sat, 29 Oct 2022 16:40:21 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:6fc08b718da982137cda33a4762dcd79b86f91e4
|
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
|
-
- Sat, 29 Oct 2022 16:40:22 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '706'
|
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, POST, PUT
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Uploadcare-Request-Id:
|
52
|
-
- '0810aef4-8cd5-474c-8194-35a01459dbd7'
|
53
|
-
X-Frame-Options:
|
54
|
-
- SAMEORIGIN
|
55
|
-
X-Robots-Tag:
|
56
|
-
- noindex, nofollow, nosnippet, noarchive
|
57
|
-
body:
|
58
|
-
encoding: ASCII-8BIT
|
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
|
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: put
|
5
|
-
uri: https://api.uploadcare.com/files/storage/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '["64215d18-1356-42cb-ab8c-7542290b6e1b"]'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.7+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 08:38:37 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:40fe4f580517d5a0668145f9728d6d7b3bcaa91e
|
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
|
-
- Thu, 22 Jul 2021 08:38:38 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.7+json
|
33
|
-
Content-Length:
|
34
|
-
- '670'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Access-Control-Allow-Origin:
|
40
|
-
- https://uploadcare.com
|
41
|
-
Vary:
|
42
|
-
- Accept
|
43
|
-
Allow:
|
44
|
-
- DELETE, OPTIONS, PUT
|
45
|
-
X-Xss-Protection:
|
46
|
-
- 1; mode=block
|
47
|
-
X-Content-Type-Options:
|
48
|
-
- nosniff
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Robots-Tag:
|
52
|
-
- noindex, nofollow, nosnippet, noarchive
|
53
|
-
body:
|
54
|
-
encoding: ASCII-8BIT
|
55
|
-
string: '{"status":"ok","result":[{"datetime_removed":null,"datetime_stored":"2021-07-21T10:30:47.059311Z","datetime_uploaded":"2021-07-21T10:30:46.967311Z","image_info":{"width":82,"height":19,"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/64215d18-1356-42cb-ab8c-7542290b6e1b/170.png","original_filename":"-17.0\u00b0\u0421.png","size":861,"url":"https://api.uploadcare.com/files/64215d18-1356-42cb-ab8c-7542290b6e1b/","uuid":"64215d18-1356-42cb-ab8c-7542290b6e1b","source":null}],"problems":{}}'
|
56
|
-
recorded_at: Thu, 22 Jul 2021 08:38:38 GMT
|
57
|
-
recorded_with: VCR 6.0.0
|
@@ -1,61 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://upload.uploadcare.com/group/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
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
|
-
headers:
|
13
|
-
User-Agent:
|
14
|
-
- UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/2.7.6)
|
15
|
-
Content-Type:
|
16
|
-
- multipart/form-data; boundary=---------------------dafb93cbc30d698e13a17f04d5c1b66386c88c822f
|
17
|
-
Connection:
|
18
|
-
- close
|
19
|
-
Host:
|
20
|
-
- upload.uploadcare.com
|
21
|
-
response:
|
22
|
-
status:
|
23
|
-
code: 200
|
24
|
-
message: OK
|
25
|
-
headers:
|
26
|
-
Date:
|
27
|
-
- Sat, 29 Oct 2022 19:26:05 GMT
|
28
|
-
Content-Type:
|
29
|
-
- application/json
|
30
|
-
Content-Length:
|
31
|
-
- '1732'
|
32
|
-
Connection:
|
33
|
-
- close
|
34
|
-
Server:
|
35
|
-
- nginx
|
36
|
-
Vary:
|
37
|
-
- Accept-Encoding
|
38
|
-
- Origin
|
39
|
-
Access-Control-Allow-Origin:
|
40
|
-
- "*"
|
41
|
-
Access-Control-Allow-Methods:
|
42
|
-
- GET, POST, HEAD, OPTIONS
|
43
|
-
Access-Control-Allow-Headers:
|
44
|
-
- DNT, X-UC-User-Agent, X-PINGOTHER
|
45
|
-
Access-Control-Max-Age:
|
46
|
-
- '1'
|
47
|
-
Access-Control-Allow-Credentials:
|
48
|
-
- 'true'
|
49
|
-
Access-Control-Expose-Headers:
|
50
|
-
- Warning, Retry-After
|
51
|
-
X-Xss-Protection:
|
52
|
-
- 1; mode=block
|
53
|
-
X-Content-Type-Options:
|
54
|
-
- nosniff
|
55
|
-
X-Uploadcare-Request-Id:
|
56
|
-
- 711a2fa2-0c02-42be-9f48-49e77c187346
|
57
|
-
body:
|
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
|