uploadcare-rails 2.1.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/uploadcare/rails/api/rest/addons_api.rb +54 -0
- data/lib/uploadcare/rails/api/rest/base.rb +3 -2
- data/lib/uploadcare/rails/api/rest/conversion_api.rb +8 -8
- data/lib/uploadcare/rails/api/rest/file_api.rb +20 -13
- data/lib/uploadcare/rails/api/rest/file_metadata_api.rb +42 -0
- data/lib/uploadcare/rails/api/rest/group_api.rb +12 -6
- data/lib/uploadcare/rails/api/rest/project_api.rb +1 -1
- data/lib/uploadcare/rails/api/rest/webhook_api.rb +6 -6
- data/lib/uploadcare/rails/api/upload/base.rb +2 -0
- data/lib/uploadcare/rails/api/upload/upload_api.rb +4 -4
- data/lib/uploadcare/rails/configuration.rb +3 -1
- data/lib/uploadcare/rails/objects/group.rb +1 -3
- data/lib/uploadcare/rails/transformations/image_transformations.rb +1 -1
- data/lib/uploadcare/rails/version.rb +1 -1
- data/lib/uploadcare-rails.rb +2 -0
- metadata +31 -126
- 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 -58
- data/spec/fixtures/vcr_cassettes/file_api_delete_files.yml +0 -58
- data/spec/fixtures/vcr_cassettes/file_api_get_file.yml +0 -58
- 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 -58
- data/spec/fixtures/vcr_cassettes/file_api_store_files.yml +0 -57
- data/spec/fixtures/vcr_cassettes/group_api_create_group.yml +0 -57
- data/spec/fixtures/vcr_cassettes/group_api_get_group.yml +0 -52
- data/spec/fixtures/vcr_cassettes/group_api_get_groups.yml +0 -57
- data/spec/fixtures/vcr_cassettes/group_api_store_group.yml +0 -57
- data/spec/fixtures/vcr_cassettes/project_api_get_project.yml +0 -59
- data/spec/fixtures/vcr_cassettes/upload_upload_many_files.yml +0 -55
- 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 -57
- 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 -26
- 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 -85
- 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 -87
- 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,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.uploadcare.com/groups/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.5+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 09:22:31 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:c721e5ae9b652fc1cd7f28b5dd9ad22b246d6807
|
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 09:22:32 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.5+json
|
33
|
-
Content-Length:
|
34
|
-
- '15548'
|
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
|
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":53,"per_page":100,"results":[{"id":"d476f4c9-44a9-4670-88a5-c3cf5d26b6c2~20","datetime_created":"2021-07-16T11:03:01.182939Z","datetime_stored":null,"files_count":20,"cdn_url":"https://ucarecdn.com/d476f4c9-44a9-4670-88a5-c3cf5d26b6c2~20/","url":"https://api.uploadcare.com/groups/d476f4c9-44a9-4670-88a5-c3cf5d26b6c2~20/"},{"id":"97bd6f1e-0c97-46fa-b503-7d81efd169f1~2","datetime_created":"2021-07-16T11:04:33.200508Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/97bd6f1e-0c97-46fa-b503-7d81efd169f1~2/","url":"https://api.uploadcare.com/groups/97bd6f1e-0c97-46fa-b503-7d81efd169f1~2/"},{"id":"e5df2d94-5a02-4b3b-aaf7-722ae86c2110~2","datetime_created":"2021-07-16T11:04:51.939217Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/e5df2d94-5a02-4b3b-aaf7-722ae86c2110~2/","url":"https://api.uploadcare.com/groups/e5df2d94-5a02-4b3b-aaf7-722ae86c2110~2/"},{"id":"fd482118-703c-4dc2-bac3-2f396bbecd06~2","datetime_created":"2021-07-16T11:05:05.896117Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/fd482118-703c-4dc2-bac3-2f396bbecd06~2/","url":"https://api.uploadcare.com/groups/fd482118-703c-4dc2-bac3-2f396bbecd06~2/"},{"id":"bc4ac523-f561-48b3-9003-5e213e04d266~2","datetime_created":"2021-07-16T11:05:35.426150Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/bc4ac523-f561-48b3-9003-5e213e04d266~2/","url":"https://api.uploadcare.com/groups/bc4ac523-f561-48b3-9003-5e213e04d266~2/"},{"id":"5a0e597d-a3e7-48b9-b243-cd06bc4a040f~2","datetime_created":"2021-07-16T11:06:09.873417Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/5a0e597d-a3e7-48b9-b243-cd06bc4a040f~2/","url":"https://api.uploadcare.com/groups/5a0e597d-a3e7-48b9-b243-cd06bc4a040f~2/"},{"id":"5683c9d4-db11-4a9b-8981-c76a438d7093~2","datetime_created":"2021-07-16T11:11:29.842589Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/5683c9d4-db11-4a9b-8981-c76a438d7093~2/","url":"https://api.uploadcare.com/groups/5683c9d4-db11-4a9b-8981-c76a438d7093~2/"},{"id":"7be07d53-401b-459b-b79d-22f791a899be~2","datetime_created":"2021-07-16T11:11:51.734935Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/7be07d53-401b-459b-b79d-22f791a899be~2/","url":"https://api.uploadcare.com/groups/7be07d53-401b-459b-b79d-22f791a899be~2/"},{"id":"46ea9e78-7f52-4400-a8ab-af1a7d3e9b1c~2","datetime_created":"2021-07-16T11:12:02.393537Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/46ea9e78-7f52-4400-a8ab-af1a7d3e9b1c~2/","url":"https://api.uploadcare.com/groups/46ea9e78-7f52-4400-a8ab-af1a7d3e9b1c~2/"},{"id":"8c30f64a-0d13-4d03-9116-7d71a8d57c22~2","datetime_created":"2021-07-16T11:12:12.236280Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/8c30f64a-0d13-4d03-9116-7d71a8d57c22~2/","url":"https://api.uploadcare.com/groups/8c30f64a-0d13-4d03-9116-7d71a8d57c22~2/"},{"id":"df1ac2b0-8964-4e7f-ba3e-e9d8bc60f06f~1","datetime_created":"2021-07-16T11:12:20.073740Z","datetime_stored":null,"files_count":1,"cdn_url":"https://ucarecdn.com/df1ac2b0-8964-4e7f-ba3e-e9d8bc60f06f~1/","url":"https://api.uploadcare.com/groups/df1ac2b0-8964-4e7f-ba3e-e9d8bc60f06f~1/"},{"id":"4f0a13af-d3c6-4b4e-8c79-ad71db50b2cb~2","datetime_created":"2021-07-16T11:20:12.276739Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/4f0a13af-d3c6-4b4e-8c79-ad71db50b2cb~2/","url":"https://api.uploadcare.com/groups/4f0a13af-d3c6-4b4e-8c79-ad71db50b2cb~2/"},{"id":"887577bf-1ffb-4830-b7c3-781decfd4708~2","datetime_created":"2021-07-16T11:26:49.284410Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/887577bf-1ffb-4830-b7c3-781decfd4708~2/","url":"https://api.uploadcare.com/groups/887577bf-1ffb-4830-b7c3-781decfd4708~2/"},{"id":"d61cba65-9048-4049-aaa7-6ee2be655c02~2","datetime_created":"2021-07-16T11:29:58.000333Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/d61cba65-9048-4049-aaa7-6ee2be655c02~2/","url":"https://api.uploadcare.com/groups/d61cba65-9048-4049-aaa7-6ee2be655c02~2/"},{"id":"689ce311-0ce4-49c1-87f0-89bafd739f95~2","datetime_created":"2021-07-16T11:32:39.336824Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/689ce311-0ce4-49c1-87f0-89bafd739f95~2/","url":"https://api.uploadcare.com/groups/689ce311-0ce4-49c1-87f0-89bafd739f95~2/"},{"id":"dbddbfc6-b5af-4998-8a9e-6a21069d7ae4~2","datetime_created":"2021-07-16T11:32:52.721781Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/dbddbfc6-b5af-4998-8a9e-6a21069d7ae4~2/","url":"https://api.uploadcare.com/groups/dbddbfc6-b5af-4998-8a9e-6a21069d7ae4~2/"},{"id":"84baccdb-f236-41b5-96e2-bdc59f8226ff~2","datetime_created":"2021-07-16T11:38:32.424877Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/84baccdb-f236-41b5-96e2-bdc59f8226ff~2/","url":"https://api.uploadcare.com/groups/84baccdb-f236-41b5-96e2-bdc59f8226ff~2/"},{"id":"b99de71f-0ae2-4ac5-806a-c6f0f1744369~2","datetime_created":"2021-07-16T11:40:25.934963Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/b99de71f-0ae2-4ac5-806a-c6f0f1744369~2/","url":"https://api.uploadcare.com/groups/b99de71f-0ae2-4ac5-806a-c6f0f1744369~2/"},{"id":"09bfd2d7-7934-47ad-9c42-c942c90129f7~2","datetime_created":"2021-07-16T11:52:00.340559Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/09bfd2d7-7934-47ad-9c42-c942c90129f7~2/","url":"https://api.uploadcare.com/groups/09bfd2d7-7934-47ad-9c42-c942c90129f7~2/"},{"id":"6661e015-05ed-4752-8ca5-0e27ce4e9835~2","datetime_created":"2021-07-16T11:52:11.846223Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/6661e015-05ed-4752-8ca5-0e27ce4e9835~2/","url":"https://api.uploadcare.com/groups/6661e015-05ed-4752-8ca5-0e27ce4e9835~2/"},{"id":"018459c2-25d4-41d0-a69a-48a692c507c6~1","datetime_created":"2021-07-16T12:20:50.199423Z","datetime_stored":null,"files_count":1,"cdn_url":"https://ucarecdn.com/018459c2-25d4-41d0-a69a-48a692c507c6~1/","url":"https://api.uploadcare.com/groups/018459c2-25d4-41d0-a69a-48a692c507c6~1/"},{"id":"682c94f0-c839-4385-9bb1-e71f98accbc9~2","datetime_created":"2021-07-16T12:22:22.372921Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/682c94f0-c839-4385-9bb1-e71f98accbc9~2/","url":"https://api.uploadcare.com/groups/682c94f0-c839-4385-9bb1-e71f98accbc9~2/"},{"id":"498c576a-8b56-41ae-9cc2-15b8cfc340ee~2","datetime_created":"2021-07-19T07:35:21.563300Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/498c576a-8b56-41ae-9cc2-15b8cfc340ee~2/","url":"https://api.uploadcare.com/groups/498c576a-8b56-41ae-9cc2-15b8cfc340ee~2/"},{"id":"86eccca3-032a-4dee-a56b-16a8edf26c1f~2","datetime_created":"2021-07-19T08:15:04.317359Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/86eccca3-032a-4dee-a56b-16a8edf26c1f~2/","url":"https://api.uploadcare.com/groups/86eccca3-032a-4dee-a56b-16a8edf26c1f~2/"},{"id":"0f181f24-7551-42e5-bebc-14b15d9d3838~2","datetime_created":"2021-07-19T08:44:43.797957Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/0f181f24-7551-42e5-bebc-14b15d9d3838~2/","url":"https://api.uploadcare.com/groups/0f181f24-7551-42e5-bebc-14b15d9d3838~2/"},{"id":"65b7f73a-e0c6-430b-ade7-f1a4c622684d~2","datetime_created":"2021-07-19T09:21:31.305973Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/65b7f73a-e0c6-430b-ade7-f1a4c622684d~2/","url":"https://api.uploadcare.com/groups/65b7f73a-e0c6-430b-ade7-f1a4c622684d~2/"},{"id":"783039f9-289a-4194-a466-cea706867d8b~2","datetime_created":"2021-07-19T09:21:38.038108Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/783039f9-289a-4194-a466-cea706867d8b~2/","url":"https://api.uploadcare.com/groups/783039f9-289a-4194-a466-cea706867d8b~2/"},{"id":"fdca1b41-7b45-43b4-ade5-3ca264258066~2","datetime_created":"2021-07-19T09:21:44.770571Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/fdca1b41-7b45-43b4-ade5-3ca264258066~2/","url":"https://api.uploadcare.com/groups/fdca1b41-7b45-43b4-ade5-3ca264258066~2/"},{"id":"923bf7ee-b31a-457e-9ebc-86c396bac271~2","datetime_created":"2021-07-19T09:22:02.197813Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/923bf7ee-b31a-457e-9ebc-86c396bac271~2/","url":"https://api.uploadcare.com/groups/923bf7ee-b31a-457e-9ebc-86c396bac271~2/"},{"id":"0a6a2c58-e71e-49cc-af4a-6f282c3cc569~2","datetime_created":"2021-07-19T09:22:15.736620Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/0a6a2c58-e71e-49cc-af4a-6f282c3cc569~2/","url":"https://api.uploadcare.com/groups/0a6a2c58-e71e-49cc-af4a-6f282c3cc569~2/"},{"id":"4f3c25c3-6964-4480-b205-bdb2aedc0c4c~2","datetime_created":"2021-07-19T09:22:30.424215Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/4f3c25c3-6964-4480-b205-bdb2aedc0c4c~2/","url":"https://api.uploadcare.com/groups/4f3c25c3-6964-4480-b205-bdb2aedc0c4c~2/"},{"id":"3cf0f67c-ab20-4b05-bee8-005a638d403d~2","datetime_created":"2021-07-19T09:22:35.825436Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/3cf0f67c-ab20-4b05-bee8-005a638d403d~2/","url":"https://api.uploadcare.com/groups/3cf0f67c-ab20-4b05-bee8-005a638d403d~2/"},{"id":"747a7cbe-6cbf-4cbb-a2c8-6b180b16dc8a~2","datetime_created":"2021-07-19T09:22:42.527020Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/747a7cbe-6cbf-4cbb-a2c8-6b180b16dc8a~2/","url":"https://api.uploadcare.com/groups/747a7cbe-6cbf-4cbb-a2c8-6b180b16dc8a~2/"},{"id":"ae8c4e36-a288-42d0-9c16-79ce464d36b5~2","datetime_created":"2021-07-19T09:22:49.031555Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/ae8c4e36-a288-42d0-9c16-79ce464d36b5~2/","url":"https://api.uploadcare.com/groups/ae8c4e36-a288-42d0-9c16-79ce464d36b5~2/"},{"id":"fd488edb-590d-4ba0-91de-d3fc66d00f97~2","datetime_created":"2021-07-19T09:22:54.017894Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/fd488edb-590d-4ba0-91de-d3fc66d00f97~2/","url":"https://api.uploadcare.com/groups/fd488edb-590d-4ba0-91de-d3fc66d00f97~2/"},{"id":"963bfbb6-7f59-4808-a424-65bacfbd79cb~2","datetime_created":"2021-07-19T09:23:11.160566Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/963bfbb6-7f59-4808-a424-65bacfbd79cb~2/","url":"https://api.uploadcare.com/groups/963bfbb6-7f59-4808-a424-65bacfbd79cb~2/"},{"id":"00cb8cb0-e96b-4988-94c3-878727f32294~2","datetime_created":"2021-07-19T09:23:49.278235Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/00cb8cb0-e96b-4988-94c3-878727f32294~2/","url":"https://api.uploadcare.com/groups/00cb8cb0-e96b-4988-94c3-878727f32294~2/"},{"id":"88b11f41-d679-48f7-a61e-0f908dc89d7b~2","datetime_created":"2021-07-19T09:24:04.559382Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/88b11f41-d679-48f7-a61e-0f908dc89d7b~2/","url":"https://api.uploadcare.com/groups/88b11f41-d679-48f7-a61e-0f908dc89d7b~2/"},{"id":"db510dc4-71d2-4eb3-a689-66465a3f18fa~2","datetime_created":"2021-07-19T09:24:22.320958Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/db510dc4-71d2-4eb3-a689-66465a3f18fa~2/","url":"https://api.uploadcare.com/groups/db510dc4-71d2-4eb3-a689-66465a3f18fa~2/"},{"id":"f79f1beb-b921-4fc5-891e-8cd57b4b3b58~2","datetime_created":"2021-07-19T09:25:01.097313Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/f79f1beb-b921-4fc5-891e-8cd57b4b3b58~2/","url":"https://api.uploadcare.com/groups/f79f1beb-b921-4fc5-891e-8cd57b4b3b58~2/"},{"id":"fe88fb2d-cd13-474c-8436-d8e366b7a61f~2","datetime_created":"2021-07-19T09:25:09.095580Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/fe88fb2d-cd13-474c-8436-d8e366b7a61f~2/","url":"https://api.uploadcare.com/groups/fe88fb2d-cd13-474c-8436-d8e366b7a61f~2/"},{"id":"e24d0f53-7cff-451d-a9fb-c40ca9d04739~2","datetime_created":"2021-07-19T09:25:19.594070Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/e24d0f53-7cff-451d-a9fb-c40ca9d04739~2/","url":"https://api.uploadcare.com/groups/e24d0f53-7cff-451d-a9fb-c40ca9d04739~2/"},{"id":"ea0c126a-e6b3-4d7d-a75d-927dce1d016b~2","datetime_created":"2021-07-19T09:25:37.776957Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/ea0c126a-e6b3-4d7d-a75d-927dce1d016b~2/","url":"https://api.uploadcare.com/groups/ea0c126a-e6b3-4d7d-a75d-927dce1d016b~2/"},{"id":"c21014fe-77e5-4ff6-b523-c9762def217d~22","datetime_created":"2021-07-19T09:25:41.284098Z","datetime_stored":null,"files_count":22,"cdn_url":"https://ucarecdn.com/c21014fe-77e5-4ff6-b523-c9762def217d~22/","url":"https://api.uploadcare.com/groups/c21014fe-77e5-4ff6-b523-c9762def217d~22/"},{"id":"38483b4e-57fe-40e7-8e52-74fbdd73da14~2","datetime_created":"2021-07-19T09:26:40.663669Z","datetime_stored":"2021-07-22T09:16:37.000245Z","files_count":2,"cdn_url":"https://ucarecdn.com/38483b4e-57fe-40e7-8e52-74fbdd73da14~2/","url":"https://api.uploadcare.com/groups/38483b4e-57fe-40e7-8e52-74fbdd73da14~2/"},{"id":"cf34c5a1-8fcc-4db2-9ec5-62c389e84468~2","datetime_created":"2021-07-19T09:26:44.872842Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/cf34c5a1-8fcc-4db2-9ec5-62c389e84468~2/","url":"https://api.uploadcare.com/groups/cf34c5a1-8fcc-4db2-9ec5-62c389e84468~2/"},{"id":"ee09578b-2311-40b6-9637-662477ac2b62~2","datetime_created":"2021-07-19T13:52:11.892694Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/ee09578b-2311-40b6-9637-662477ac2b62~2/","url":"https://api.uploadcare.com/groups/ee09578b-2311-40b6-9637-662477ac2b62~2/"},{"id":"590205b8-2dbd-4866-8492-c755cd25d7a0~2","datetime_created":"2021-07-20T06:22:36.464612Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/590205b8-2dbd-4866-8492-c755cd25d7a0~2/","url":"https://api.uploadcare.com/groups/590205b8-2dbd-4866-8492-c755cd25d7a0~2/"},{"id":"ef75d3ef-a455-414f-8423-3e73925608d2~2","datetime_created":"2021-07-20T06:22:46.958344Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/ef75d3ef-a455-414f-8423-3e73925608d2~2/","url":"https://api.uploadcare.com/groups/ef75d3ef-a455-414f-8423-3e73925608d2~2/"},{"id":"aeaeeb8d-43bc-444d-954f-a171fd872e58~2","datetime_created":"2021-07-20T06:23:51.599069Z","datetime_stored":"2021-07-22T09:18:17.488344Z","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/"},{"id":"d9cd0f99-f1b8-4644-8333-fc5e0a422f52~2","datetime_created":"2021-07-20T06:29:32.799205Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/d9cd0f99-f1b8-4644-8333-fc5e0a422f52~2/","url":"https://api.uploadcare.com/groups/d9cd0f99-f1b8-4644-8333-fc5e0a422f52~2/"},{"id":"1fdc93b6-f8c6-4e50-921c-72ac5d2c7476~2","datetime_created":"2021-07-20T09:39:28.219091Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/1fdc93b6-f8c6-4e50-921c-72ac5d2c7476~2/","url":"https://api.uploadcare.com/groups/1fdc93b6-f8c6-4e50-921c-72ac5d2c7476~2/"},{"id":"60510ebe-1e52-4a25-88be-a7e2c37a2994~2","datetime_created":"2021-07-20T09:39:36.689685Z","datetime_stored":null,"files_count":2,"cdn_url":"https://ucarecdn.com/60510ebe-1e52-4a25-88be-a7e2c37a2994~2/","url":"https://api.uploadcare.com/groups/60510ebe-1e52-4a25-88be-a7e2c37a2994~2/"}]}'
|
56
|
-
recorded_at: Thu, 22 Jul 2021 09:22:32 GMT
|
57
|
-
recorded_with: VCR 6.0.0
|
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: put
|
5
|
-
uri: https://api.uploadcare.com/groups/aeaeeb8d-43bc-444d-954f-a171fd872e58~2/storage/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.5+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/2.7.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 09:22:32 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare 5d5bb5639e3f2df33674:61efbd9d61b4e2457bb04f05b0175e076615e132
|
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 09:22:33 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.5+json
|
33
|
-
Content-Length:
|
34
|
-
- '1169'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Access-Control-Allow-Origin:
|
40
|
-
- https://uploadcare.com
|
41
|
-
Vary:
|
42
|
-
- Accept
|
43
|
-
Allow:
|
44
|
-
- OPTIONS, POST, 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: '{"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
|
@@ -1,59 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://api.uploadcare.com/project/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.5+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 10:00:11 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare demopublickey:3216f2c9fd76db88d056d392c5043cc1686f53a6
|
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 10:00:12 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.5+json
|
33
|
-
Content-Length:
|
34
|
-
- '307'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Warning:
|
40
|
-
- '199 Miscellaneous warning: You are using the demo project'
|
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: '{"collaborators":[{"name":"dmitriy.cherevatenko@uploadcare.com","email":"dmitriy.cherevatenko@uploadcare.com"},{"name":"achernenko@uploadcare.com","email":"achernenko@uploadcare.com"},{"name":"os@uploadcare.com","email":"os@uploadcare.com"}],"name":"demo","pub_key":"demopublickey","autostore_enabled":true}'
|
58
|
-
recorded_at: Thu, 22 Jul 2021 10:00:12 GMT
|
59
|
-
recorded_with: VCR 6.0.0
|
@@ -1,55 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://upload.uploadcare.com/base/
|
6
|
-
body:
|
7
|
-
encoding: ASCII-8BIT
|
8
|
-
string: !binary |-
|
9
|
-
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0yOWU5NzMxZjlhNzMzYWExZWIxZjE1NTkzMDg3MWQ1MmJkOTNlZDA2NWENCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iVVBMT0FEQ0FSRV9QVUJfS0VZIg0KDQpkZW1vcHVibGlja2V5DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTI5ZTk3MzFmOWE3MzNhYTFlYjFmMTU1OTMwODcxZDUyYmQ5M2VkMDY1YQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJraXR0ZW4uanBlZyI7IGZpbGVuYW1lPSJraXR0ZW4uanBlZyINCkNvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vb2N0ZXQtc3RyZWFtDQoNCv/Y/+AAEEpGSUYAAQEBAGAAYAAA//4AO0NSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQRUcgdjYyKSwgcXVhbGl0eSA9IDY1Cv/bAEMACwgICggHCwoJCg0MCw0RHBIRDw8RIhkaFBwpJCsqKCQnJy0yQDctMD0wJyc4TDk9Q0VISUg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s5Hrmt6a5s5tNSxiXakACoO/H9ayLkm5SKKJim0jIGRnB9qzaSeponfQ2dMuJmeRLmDyXViF5zuXsa1lb51Psf6VQG4x20jDBJKkY9qtb9rofY/0q0vdM27s0h90fSio1kG0fSikBj3Ukem2nmRriSTgH0Fc3c6hK+90ctjGK1fEt15cojUj5RtA7AVzccgClAQWPZj2pTld3NIRsrEiT73DqSGY4Yf1q9bFo5lDetZhUwsSgYjuPSnRaiY50SQbj2PtWV+5bj2O1eQeRAOwbP6Uye4SNFd2CqO5OKgmkA0+2lByGfj8qoau+60tx6zL/Ot18Jg9zV/tm1HBm6f7J/woqyJTgUVXKScp4lJ+2Sc+tYcHLtnng0UVzyOmJLbuwljAY4K+tS6uAIYmAwc9aKKnoPqb0RJ8PWPJ/wBZ/Q02/wD+Pe2/67L/ADooroj8BhL4jZyfWiiitCD/2Q0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0yOWU5NzMxZjlhNzMzYWExZWIxZjE1NTkzMDg3MWQ1MmJkOTNlZDA2NWEtLQ0K
|
10
|
-
headers:
|
11
|
-
User-Agent:
|
12
|
-
- UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.2)
|
13
|
-
Content-Type:
|
14
|
-
- multipart/form-data; boundary=---------------------29e9731f9a733aa1eb1f155930871d52bd93ed065a
|
15
|
-
Connection:
|
16
|
-
- close
|
17
|
-
Host:
|
18
|
-
- upload.uploadcare.com
|
19
|
-
response:
|
20
|
-
status:
|
21
|
-
code: 200
|
22
|
-
message: OK
|
23
|
-
headers:
|
24
|
-
Date:
|
25
|
-
- Fri, 23 Jul 2021 09:25:40 GMT
|
26
|
-
Content-Type:
|
27
|
-
- application/json
|
28
|
-
Content-Length:
|
29
|
-
- '54'
|
30
|
-
Connection:
|
31
|
-
- close
|
32
|
-
Server:
|
33
|
-
- nginx
|
34
|
-
Vary:
|
35
|
-
- Accept-Encoding
|
36
|
-
- Origin
|
37
|
-
Access-Control-Allow-Origin:
|
38
|
-
- "*"
|
39
|
-
Access-Control-Allow-Methods:
|
40
|
-
- POST, OPTIONS
|
41
|
-
Access-Control-Allow-Headers:
|
42
|
-
- DNT, X-PINGOTHER, X-UC-User-Agent
|
43
|
-
Access-Control-Max-Age:
|
44
|
-
- '1'
|
45
|
-
Access-Control-Allow-Credentials:
|
46
|
-
- 'true'
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
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
|
@@ -1,105 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://upload.uploadcare.com/from_url/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: "-----------------------fa875849769142918ed86784184269700db9616835\r\nContent-Disposition:
|
9
|
-
form-data; name=\"pub_key\"\r\n\r\ndemopublickey\r\n-----------------------fa875849769142918ed86784184269700db9616835\r\nContent-Disposition:
|
10
|
-
form-data; name=\"source_url\"\r\n\r\nhttps://ucarecdn.com/c3328b8f-1b27-48ca-aebe-591924011efc/thumbnail_0.jpg\r\n-----------------------fa875849769142918ed86784184269700db9616835--\r\n"
|
11
|
-
headers:
|
12
|
-
User-Agent:
|
13
|
-
- UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.2)
|
14
|
-
Content-Type:
|
15
|
-
- multipart/form-data; boundary=---------------------fa875849769142918ed86784184269700db9616835
|
16
|
-
Connection:
|
17
|
-
- close
|
18
|
-
Host:
|
19
|
-
- upload.uploadcare.com
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Fri, 23 Jul 2021 09:07:39 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json
|
29
|
-
Content-Length:
|
30
|
-
- '63'
|
31
|
-
Connection:
|
32
|
-
- close
|
33
|
-
Server:
|
34
|
-
- nginx
|
35
|
-
Vary:
|
36
|
-
- Accept-Encoding
|
37
|
-
- Origin
|
38
|
-
Access-Control-Allow-Origin:
|
39
|
-
- "*"
|
40
|
-
Access-Control-Allow-Methods:
|
41
|
-
- OPTIONS, GET, POST
|
42
|
-
Access-Control-Allow-Headers:
|
43
|
-
- X-UC-User-Agent, X-PINGOTHER, DNT
|
44
|
-
Access-Control-Max-Age:
|
45
|
-
- '1'
|
46
|
-
Access-Control-Allow-Credentials:
|
47
|
-
- 'true'
|
48
|
-
X-Xss-Protection:
|
49
|
-
- 1; mode=block
|
50
|
-
X-Content-Type-Options:
|
51
|
-
- nosniff
|
52
|
-
body:
|
53
|
-
encoding: ASCII-8BIT
|
54
|
-
string: '{"type":"token","token":"1ebc721a-8c9f-430f-8e9d-e7fad554e9bd"}'
|
55
|
-
recorded_at: Fri, 23 Jul 2021 09:07:39 GMT
|
56
|
-
- request:
|
57
|
-
method: get
|
58
|
-
uri: https://upload.uploadcare.com/from_url/status/?token=1ebc721a-8c9f-430f-8e9d-e7fad554e9bd
|
59
|
-
body:
|
60
|
-
encoding: UTF-8
|
61
|
-
string: ''
|
62
|
-
headers:
|
63
|
-
User-Agent:
|
64
|
-
- UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.2)
|
65
|
-
Connection:
|
66
|
-
- close
|
67
|
-
Host:
|
68
|
-
- upload.uploadcare.com
|
69
|
-
response:
|
70
|
-
status:
|
71
|
-
code: 200
|
72
|
-
message: OK
|
73
|
-
headers:
|
74
|
-
Date:
|
75
|
-
- Fri, 23 Jul 2021 09:07:40 GMT
|
76
|
-
Content-Type:
|
77
|
-
- application/json
|
78
|
-
Content-Length:
|
79
|
-
- '479'
|
80
|
-
Connection:
|
81
|
-
- close
|
82
|
-
Server:
|
83
|
-
- nginx
|
84
|
-
Vary:
|
85
|
-
- Accept-Encoding
|
86
|
-
- Origin
|
87
|
-
Access-Control-Allow-Origin:
|
88
|
-
- "*"
|
89
|
-
Access-Control-Allow-Methods:
|
90
|
-
- GET, POST, HEAD, OPTIONS
|
91
|
-
Access-Control-Allow-Headers:
|
92
|
-
- X-UC-User-Agent, X-PINGOTHER, DNT
|
93
|
-
Access-Control-Max-Age:
|
94
|
-
- '1'
|
95
|
-
Access-Control-Allow-Credentials:
|
96
|
-
- 'true'
|
97
|
-
X-Xss-Protection:
|
98
|
-
- 1; mode=block
|
99
|
-
X-Content-Type-Options:
|
100
|
-
- nosniff
|
101
|
-
body:
|
102
|
-
encoding: ASCII-8BIT
|
103
|
-
string: '{"size":5902,"total":5902,"done":5902,"uuid":"acd4302e-23b9-424a-9a26-9899f2d4e29d","file_id":"acd4302e-23b9-424a-9a26-9899f2d4e29d","original_filename":"thumbnail_0.jpg","is_image":true,"is_stored":false,"image_info":{"width":600,"height":400,"format":"JPEG","color_mode":"RGB","geo_location":null,"orientation":null,"dpi":null,"datetime_original":null,"sequence":false},"video_info":null,"is_ready":true,"filename":"thumbnail_0.jpg","mime_type":"image/jpeg","status":"success"}'
|
104
|
-
recorded_at: Fri, 23 Jul 2021 09:07:40 GMT
|
105
|
-
recorded_with: VCR 6.0.0
|
@@ -1,111 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://upload.uploadcare.com/base/
|
6
|
-
body:
|
7
|
-
encoding: ASCII-8BIT
|
8
|
-
string: !binary |-
|
9
|
-
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS03YzU4NzA1YzQyNDdlMDRkZDA0NGNhZjkwODg0OGY2NzA3Yzc5NWVlZTQNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iVVBMT0FEQ0FSRV9QVUJfS0VZIg0KDQpkZW1vcHVibGlja2V5DQot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/2.7.2)
|
13
|
-
Content-Type:
|
14
|
-
- multipart/form-data; boundary=---------------------7c58705c4247e04dd044caf908848f6707c795eee4
|
15
|
-
Connection:
|
16
|
-
- close
|
17
|
-
Host:
|
18
|
-
- upload.uploadcare.com
|
19
|
-
response:
|
20
|
-
status:
|
21
|
-
code: 200
|
22
|
-
message: OK
|
23
|
-
headers:
|
24
|
-
Date:
|
25
|
-
- Fri, 23 Jul 2021 09:07:37 GMT
|
26
|
-
Content-Type:
|
27
|
-
- application/json
|
28
|
-
Content-Length:
|
29
|
-
- '54'
|
30
|
-
Connection:
|
31
|
-
- close
|
32
|
-
Server:
|
33
|
-
- nginx
|
34
|
-
Vary:
|
35
|
-
- Accept-Encoding
|
36
|
-
- Origin
|
37
|
-
Access-Control-Allow-Origin:
|
38
|
-
- "*"
|
39
|
-
Access-Control-Allow-Methods:
|
40
|
-
- POST, OPTIONS
|
41
|
-
Access-Control-Allow-Headers:
|
42
|
-
- X-UC-User-Agent, X-PINGOTHER, DNT
|
43
|
-
Access-Control-Max-Age:
|
44
|
-
- '1'
|
45
|
-
Access-Control-Allow-Credentials:
|
46
|
-
- 'true'
|
47
|
-
X-Xss-Protection:
|
48
|
-
- 1; mode=block
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
body:
|
52
|
-
encoding: ASCII-8BIT
|
53
|
-
string: '{"kitten.jpeg":"f79bb2a1-fdcc-4a02-9691-5c21868e7b84"}'
|
54
|
-
recorded_at: Fri, 23 Jul 2021 09:07:37 GMT
|
55
|
-
- request:
|
56
|
-
method: get
|
57
|
-
uri: https://api.uploadcare.com/files/f79bb2a1-fdcc-4a02-9691-5c21868e7b84/
|
58
|
-
body:
|
59
|
-
encoding: UTF-8
|
60
|
-
string: ''
|
61
|
-
headers:
|
62
|
-
Content-Type:
|
63
|
-
- application/json
|
64
|
-
Accept:
|
65
|
-
- application/vnd.uploadcare-v0.5+json
|
66
|
-
User-Agent:
|
67
|
-
- UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.2)
|
68
|
-
Date:
|
69
|
-
- Fri, 23 Jul 2021 09:07:37 GMT
|
70
|
-
Authorization:
|
71
|
-
- Uploadcare demopublickey:5314d52b4dfa9524e91a721fc9d35864a269b9b7
|
72
|
-
Connection:
|
73
|
-
- close
|
74
|
-
Host:
|
75
|
-
- api.uploadcare.com
|
76
|
-
response:
|
77
|
-
status:
|
78
|
-
code: 200
|
79
|
-
message: OK
|
80
|
-
headers:
|
81
|
-
Date:
|
82
|
-
- Fri, 23 Jul 2021 09:07:38 GMT
|
83
|
-
Content-Type:
|
84
|
-
- application/vnd.uploadcare-v0.5+json
|
85
|
-
Content-Length:
|
86
|
-
- '614'
|
87
|
-
Connection:
|
88
|
-
- close
|
89
|
-
Server:
|
90
|
-
- nginx
|
91
|
-
Warning:
|
92
|
-
- '199 Miscellaneous warning: You are using the demo project'
|
93
|
-
Access-Control-Allow-Origin:
|
94
|
-
- https://uploadcare.com
|
95
|
-
Vary:
|
96
|
-
- Accept
|
97
|
-
Allow:
|
98
|
-
- DELETE, GET, HEAD, OPTIONS
|
99
|
-
X-Xss-Protection:
|
100
|
-
- 1; mode=block
|
101
|
-
X-Content-Type-Options:
|
102
|
-
- nosniff
|
103
|
-
X-Frame-Options:
|
104
|
-
- SAMEORIGIN
|
105
|
-
X-Robots-Tag:
|
106
|
-
- noindex, nofollow, nosnippet, noarchive
|
107
|
-
body:
|
108
|
-
encoding: ASCII-8BIT
|
109
|
-
string: '{"datetime_removed":null,"datetime_stored":null,"datetime_uploaded":"2021-07-23T09:07:37.419795Z","image_info":{"width":50,"height":50,"format":"JPEG","color_mode":"RGB","geo_location":null,"orientation":null,"dpi":[96,96],"datetime_original":null,"sequence":false},"is_image":true,"is_ready":true,"mime_type":"application/octet-stream","original_file_url":"https://ucarecdn.com/f79bb2a1-fdcc-4a02-9691-5c21868e7b84/kitten.jpeg","original_filename":"kitten.jpeg","size":1290,"url":"https://api.uploadcare.com/files/f79bb2a1-fdcc-4a02-9691-5c21868e7b84/","uuid":"f79bb2a1-fdcc-4a02-9691-5c21868e7b84","source":null}'
|
110
|
-
recorded_at: Fri, 23 Jul 2021 09:07:39 GMT
|
111
|
-
recorded_with: VCR 6.0.0
|
@@ -1,59 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.uploadcare.com/webhooks/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"target_url":"https://ucarecdn.com/3542c513-5cf4-4adb-97b0-bfa7fbd31fb5/11.png","event":"file.uploaded","is_active":true}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.5+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 10:18:34 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare demopublickey:709d7443bac77a68415330c5786972c57f9ddb16
|
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 10:18:35 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/vnd.uploadcare-v0.5+json
|
33
|
-
Content-Length:
|
34
|
-
- '228'
|
35
|
-
Connection:
|
36
|
-
- close
|
37
|
-
Server:
|
38
|
-
- nginx
|
39
|
-
Warning:
|
40
|
-
- '199 Miscellaneous warning: You are using the demo project'
|
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: '{"id":811135,"created":"2021-07-22T10:18:35.149983Z","updated":"2021-07-22T10:18:35.150005Z","event":"file.uploaded","target_url":"https://ucarecdn.com/3542c513-5cf4-4adb-97b0-bfa7fbd31fb5/11.png","project":159,"is_active":true}'
|
58
|
-
recorded_at: Thu, 22 Jul 2021 10:18:35 GMT
|
59
|
-
recorded_with: VCR 6.0.0
|
@@ -1,57 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://api.uploadcare.com/webhooks/unsubscribe/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"target_url":"https://ucarecdn.com/3542c513-5cf4-4adb-97b0-bfa7fbd31fb5/11.png"}'
|
9
|
-
headers:
|
10
|
-
Content-Type:
|
11
|
-
- application/json
|
12
|
-
Accept:
|
13
|
-
- application/vnd.uploadcare-v0.5+json
|
14
|
-
User-Agent:
|
15
|
-
- UploadcareRuby/3.0.5/demopublickey (Ruby/2.7.0)
|
16
|
-
Date:
|
17
|
-
- Thu, 22 Jul 2021 10:34:48 GMT
|
18
|
-
Authorization:
|
19
|
-
- Uploadcare demopublickey:14eaf922015dd5ccbb791188ee7bc8df64bb3e60
|
20
|
-
Connection:
|
21
|
-
- close
|
22
|
-
Host:
|
23
|
-
- api.uploadcare.com
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 204
|
27
|
-
message: No Content
|
28
|
-
headers:
|
29
|
-
Date:
|
30
|
-
- Thu, 22 Jul 2021 10:34:49 GMT
|
31
|
-
Content-Length:
|
32
|
-
- '0'
|
33
|
-
Connection:
|
34
|
-
- close
|
35
|
-
Server:
|
36
|
-
- nginx
|
37
|
-
Warning:
|
38
|
-
- '199 Miscellaneous warning: You are using the demo project'
|
39
|
-
Access-Control-Allow-Origin:
|
40
|
-
- https://uploadcare.com
|
41
|
-
Vary:
|
42
|
-
- Accept
|
43
|
-
Allow:
|
44
|
-
- 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: ''
|
56
|
-
recorded_at: Thu, 22 Jul 2021 10:34:50 GMT
|
57
|
-
recorded_with: VCR 6.0.0
|