uploadcare-rails 3.2.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uploadcare/rails/action_view/uploadcare_uploader_tags.rb +1 -1
  3. data/lib/uploadcare/rails/api/rest/base.rb +3 -2
  4. data/lib/uploadcare/rails/api/upload/base.rb +2 -0
  5. data/lib/uploadcare/rails/configuration.rb +3 -1
  6. data/lib/uploadcare/rails/transformations/image_transformations.rb +1 -1
  7. data/lib/uploadcare/rails/version.rb +1 -1
  8. metadata +32 -142
  9. data/spec/fixtures/kitten.jpeg +0 -0
  10. data/spec/fixtures/vcr_cassettes/conversion_api_convert_document.yml +0 -62
  11. data/spec/fixtures/vcr_cassettes/conversion_api_convert_document_with_error.yml +0 -62
  12. data/spec/fixtures/vcr_cassettes/conversion_api_convert_video.yml +0 -62
  13. data/spec/fixtures/vcr_cassettes/conversion_api_convert_video_with_error.yml +0 -62
  14. data/spec/fixtures/vcr_cassettes/conversion_api_get_document_conversion_status.yml +0 -59
  15. data/spec/fixtures/vcr_cassettes/conversion_api_get_video_conversion_status.yml +0 -59
  16. data/spec/fixtures/vcr_cassettes/file_api_copy_file.yml +0 -60
  17. data/spec/fixtures/vcr_cassettes/file_api_delete_file.yml +0 -61
  18. data/spec/fixtures/vcr_cassettes/file_api_delete_files.yml +0 -58
  19. data/spec/fixtures/vcr_cassettes/file_api_get_file.yml +0 -61
  20. data/spec/fixtures/vcr_cassettes/file_api_get_files.yml +0 -61
  21. data/spec/fixtures/vcr_cassettes/file_api_load_file.yml +0 -57
  22. data/spec/fixtures/vcr_cassettes/file_api_store_file.yml +0 -61
  23. data/spec/fixtures/vcr_cassettes/file_api_store_files.yml +0 -57
  24. data/spec/fixtures/vcr_cassettes/group_api_create_group.yml +0 -61
  25. data/spec/fixtures/vcr_cassettes/group_api_get_group.yml +0 -56
  26. data/spec/fixtures/vcr_cassettes/group_api_get_groups.yml +0 -57
  27. data/spec/fixtures/vcr_cassettes/group_api_store_group.yml +0 -177
  28. data/spec/fixtures/vcr_cassettes/project_api_get_project.yml +0 -59
  29. data/spec/fixtures/vcr_cassettes/upload_upload_many_files.yml +0 -59
  30. data/spec/fixtures/vcr_cassettes/upload_upload_one_file.yml +0 -105
  31. data/spec/fixtures/vcr_cassettes/upload_upload_one_file_from_cdn.yml +0 -111
  32. data/spec/fixtures/vcr_cassettes/webhook_api_create_webhook.yml +0 -59
  33. data/spec/fixtures/vcr_cassettes/webhook_api_delete_webhook.yml +0 -59
  34. data/spec/fixtures/vcr_cassettes/webhook_api_get_webhooks.yml +0 -59
  35. data/spec/fixtures/vcr_cassettes/webhook_api_update_webhook.yml +0 -59
  36. data/spec/generators/uploadcare_config_generator_spec.rb +0 -31
  37. data/spec/spec_helper.rb +0 -27
  38. data/spec/support/generators.rb +0 -41
  39. data/spec/support/vcr.rb +0 -14
  40. data/spec/uploadcare/rails/action_view/uploadcare_uploader_tags_spec.rb +0 -40
  41. data/spec/uploadcare/rails/action_view/uploadcare_widget_tags_spec.rb +0 -46
  42. data/spec/uploadcare/rails/active_record/mount_uploadcare_file_spec.rb +0 -33
  43. data/spec/uploadcare/rails/active_record/mount_uploadcare_group_spec.rb +0 -32
  44. data/spec/uploadcare/rails/api/rest/conversion_api_spec.rb +0 -110
  45. data/spec/uploadcare/rails/api/rest/file_api_spec.rb +0 -76
  46. data/spec/uploadcare/rails/api/rest/group_api_spec.rb +0 -61
  47. data/spec/uploadcare/rails/api/rest/project_api_spec.rb +0 -33
  48. data/spec/uploadcare/rails/api/rest/webhook_api_spec.rb +0 -67
  49. data/spec/uploadcare/rails/api/upload/upload_api_spec.rb +0 -82
  50. data/spec/uploadcare/rails/jobs/delete_file_job_spec.rb +0 -15
  51. data/spec/uploadcare/rails/jobs/store_file_job_spec.rb +0 -15
  52. data/spec/uploadcare/rails/jobs/store_group_job_spec.rb +0 -15
  53. data/spec/uploadcare/rails/objects/file_spec.rb +0 -77
  54. data/spec/uploadcare/rails/objects/group_spec.rb +0 -65
  55. data/spec/uploadcare/rails/services/id_extractor_spec.rb +0 -26
  56. data/spec/uploadcare/rails/transformations/image_transformations_spec.rb +0 -120
  57. data/spec/uploadcare/rails_spec.rb +0 -7
@@ -1,56 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://upload.uploadcare.com/group/info/?group_id=6053b054-b8d4-4f57-992d-94b8f1d6ba65~2&pub_key=demopublickey
6
- body:
7
- encoding: UTF-8
8
- string: ''
9
- headers:
10
- User-Agent:
11
- - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/3.0.0)
12
- Connection:
13
- - close
14
- Host:
15
- - upload.uploadcare.com
16
- response:
17
- status:
18
- code: 200
19
- message: OK
20
- headers:
21
- Date:
22
- - Sun, 30 Oct 2022 20:30:29 GMT
23
- Content-Type:
24
- - application/json
25
- Content-Length:
26
- - '1732'
27
- Connection:
28
- - close
29
- Server:
30
- - nginx
31
- Vary:
32
- - Accept-Encoding
33
- - Origin
34
- Access-Control-Allow-Origin:
35
- - "*"
36
- Access-Control-Allow-Methods:
37
- - GET, HEAD, OPTIONS
38
- Access-Control-Allow-Headers:
39
- - X-UC-User-Agent, X-PINGOTHER, DNT
40
- Access-Control-Max-Age:
41
- - '1'
42
- Access-Control-Allow-Credentials:
43
- - 'true'
44
- Access-Control-Expose-Headers:
45
- - Warning, Retry-After
46
- X-Xss-Protection:
47
- - 1; mode=block
48
- X-Content-Type-Options:
49
- - nosniff
50
- X-Uploadcare-Request-Id:
51
- - 90a2fabe-2413-4f08-bd81-bc00c5ccf0e9
52
- body:
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
@@ -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.7+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.7+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,177 +0,0 @@
1
- ---
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
119
- - request:
120
- method: put
121
- uri: https://api.uploadcare.com/files/36892dd8-ccb1-4225-bc48-96a0fde93b33/storage/
122
- body:
123
- encoding: UTF-8
124
- string: ''
125
- headers:
126
- Content-Type:
127
- - application/json
128
- Accept:
129
- - application/vnd.uploadcare-v0.7+json
130
- User-Agent:
131
- - UploadcareRuby/4.0.0/5d5bb5639e3f2df33674 (Ruby/3.0.0)
132
- Date:
133
- - Sun, 30 Oct 2022 20:22:19 GMT
134
- Authorization:
135
- - Uploadcare 5d5bb5639e3f2df33674:9a015f8f68d3018770700c47e28908cceeb7f9b5
136
- Connection:
137
- - close
138
- Host:
139
- - api.uploadcare.com
140
- response:
141
- status:
142
- code: 200
143
- message: OK
144
- headers:
145
- Date:
146
- - Sun, 30 Oct 2022 20:22:20 GMT
147
- Content-Type:
148
- - application/vnd.uploadcare-v0.7+json
149
- Content-Length:
150
- - '706'
151
- Connection:
152
- - close
153
- Server:
154
- - nginx
155
- Warning:
156
- - '199 Miscellaneous warning: Please use API version 0.5, not 0.7'
157
- Access-Control-Allow-Origin:
158
- - https://uploadcare.com
159
- Vary:
160
- - Accept
161
- Allow:
162
- - DELETE, GET, HEAD, OPTIONS, POST, PUT
163
- X-Xss-Protection:
164
- - 1; mode=block
165
- X-Content-Type-Options:
166
- - nosniff
167
- X-Uploadcare-Request-Id:
168
- - 7ae2f4cf-e401-4837-928e-a0966f9824fc
169
- X-Frame-Options:
170
- - SAMEORIGIN
171
- X-Robots-Tag:
172
- - noindex, nofollow, nosnippet, noarchive
173
- body:
174
- encoding: ASCII-8BIT
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
@@ -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.7+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.7+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,59 +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
- 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
10
- headers:
11
- User-Agent:
12
- - UploadcareRuby/4.0.0/demopublickey (Ruby/3.0.0)
13
- Content-Type:
14
- - multipart/form-data; boundary=---------------------33f1ff7a37b10ead5a3e659bebee755ae7fd281e25
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
- - Sun, 30 Oct 2022 11:44:19 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
- Access-Control-Expose-Headers:
48
- - Warning, Retry-After
49
- X-Xss-Protection:
50
- - 1; mode=block
51
- X-Content-Type-Options:
52
- - nosniff
53
- X-Uploadcare-Request-Id:
54
- - 6e446888-307b-49f9-ac8f-7c8256d4e079
55
- body:
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
@@ -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