Sha256: 511296f8aa4d9758079e5c6deb0251a4c476c81934befa992f91f9a0bddf966c

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://app.vzaar.localhost/api/v2/videos/14370501/subtitles/
    body:
      encoding: UTF-8
      string: '{"content":"WEBVTT\\n","code":"pl"}'
    headers:
      User-Agent:
      - HTTPClient/1.0 (2.8.3, ruby 2.3.0 (2015-12-25))
      Accept:
      - "*/*"
      Date:
      - Thu, 06 Dec 2018 14:33:29 GMT
      X-Auth-Token:
      - pVrjGuKWP27U_kz4anfy
      X-Client-Id:
      - glide-franca-raise
      Content-Type:
      - application/json
  response:
    status:
      code: 201
      message: Created
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json
      Date:
      - Thu, 06 Dec 2018 14:33:29 GMT
      Etag:
      - W/"b8a607f5f46f1e2d8c54e61c75430bfe"
      Server:
      - nginx
      X-Ratelimit-Limit:
      - '200'
      X-Ratelimit-Remaining:
      - '199'
      X-Ratelimit-Reset:
      - '1544106840'
      X-Ratelimit-Reset-In:
      - 31 seconds
      X-Request-Id:
      - 2c83c0e7-59b1-48aa-af23-cba89223c7a6
      X-Runtime:
      - '0.118339'
      Content-Length:
      - '206'
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: '{"data":{"id":26888,"language":"Polish","code":"pl","title":"14370501-pl.vtt","url":"https://view.vzaar.localhost/subtitles/26888","created_at":"2018-12-06T14:33:29.355Z","updated_at":"2018-12-06T14:33:29.355Z"}}'
    http_version:
  recorded_at: Thu, 06 Dec 2018 14:33:30 GMT
recorded_with: VCR 3.0.3

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vzaar_api-2.0.2 spec/fixtures/vcr_cassettes/subtitles/create_201.yml
vzaar_api-2.0.1 spec/fixtures/vcr_cassettes/subtitles/create_201.yml