Sha256: e1a287e69d4a8a8cfa740c435742bd833d761bc6ef848c2e003b24d283b47d32

Contents?: true

Size: 1.96 KB

Versions: 3

Compression:

Stored size: 1.96 KB

Contents

---
http_interactions:
- request:
    method: put
    uri: https://api.uploadcare.com/files/5ae54c37-754c-4982-8de4-3f242a88ce17/storage/
    body:
      encoding: UTF-8
      string: ''
    headers:
      Content-Type:
      - application/json
      Accept:
      - application/vnd.uploadcare-v0.5+json
      User-Agent:
      - UploadcareRuby/3.0.5/5d5bb5639e3f2df33674 (Ruby/3.0.0)
      Date:
      - Thu, 22 Jul 2021 07:01:52 GMT
      Authorization:
      - Uploadcare 5d5bb5639e3f2df33674:ebe0023b72bdda6c5f637772accdac1151dc535b
      Connection:
      - close
      Host:
      - api.uploadcare.com
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Thu, 22 Jul 2021 07:01:52 GMT
      Content-Type:
      - application/vnd.uploadcare-v0.5+json
      Content-Length:
      - '634'
      Connection:
      - close
      Server:
      - nginx
      Access-Control-Allow-Origin:
      - https://uploadcare.com
      Vary:
      - Accept
      Allow:
      - DELETE, GET, HEAD, OPTIONS, POST, PUT
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Robots-Tag:
      - noindex, nofollow, nosnippet, noarchive
    body:
      encoding: ASCII-8BIT
      string: '{"datetime_removed":null,"datetime_stored":"2021-07-22T07:01:52.904554Z","datetime_uploaded":"2021-07-22T06:51:13.085531Z","image_info":{"width":48,"height":12,"format":"PNG","color_mode":"RGBA","geo_location":null,"orientation":null,"dpi":[72,72],"datetime_original":null,"sequence":false},"is_image":true,"is_ready":true,"mime_type":"image/png","original_file_url":"https://ucarecdn.com/5ae54c37-754c-4982-8de4-3f242a88ce17/1702.png","original_filename":"-17.0\u00b0\u0421
        (2).png","size":514,"url":"https://api.uploadcare.com/files/5ae54c37-754c-4982-8de4-3f242a88ce17/","uuid":"5ae54c37-754c-4982-8de4-3f242a88ce17","source":null}'
  recorded_at: Thu, 22 Jul 2021 07:01:53 GMT
recorded_with: VCR 6.0.0

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uploadcare-rails-2.1.1 spec/fixtures/vcr_cassettes/file_api_store_file.yml
uploadcare-rails-2.1.0 spec/fixtures/vcr_cassettes/file_api_store_file.yml
uploadcare-rails-2.0.0 spec/fixtures/vcr_cassettes/file_api_store_file.yml