Sha256: 7c414b5b17940bccbe1a576bce35837d83eb9942293c3369df9220f0be22ae5c

Contents?: true

Size: 1.49 KB

Versions: 16

Compression:

Stored size: 1.49 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.opentok.com/v2/project/123456/archive
    body:
      encoding: UTF-8
      string: '{"sessionId":"SESSIONID","layout":{"type":"custom","stylesheet":"stream:last-child{display: block;margin: 0;top: 0;left: 0;width: 1px;height: 1px;}stream:first-child{display: block;margin: 0;top: 0;left: 0;width: 100%;height: 100%;}"}}'
    headers:
      User-Agent:
      - OpenTok-Ruby-SDK/<%= version %>
      X-Opentok-Auth:
      - eyJpc3QiOiJwcm9qZWN0IiwiYWxnIjoiSFMyNTYifQ.eyJpc3MiOiIxMjM0NTYiLCJpYXQiOjE0OTI1MTA2NjAsImV4cCI6MTQ5MjUxMDk2MH0.BplMVhJWx4ld7KLKXqEmow6MjNPPFw9W8IHCMfeb120
      Content-Type:
      - application/json
      Accept-Encoding: "gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
      Accept: "*/*"  
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Fri, 17 Jan 2020 21:15:36 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: |-
        {
          "createdAt" : 1395183243556,
          "duration" : 0,
          "id" : "30b3ebf1-ba36-4f5b-8def-6f70d9986fe9",
          "name" : "",
          "partnerId" : 123456,
          "reason" : "",
          "sessionId" : "SESSIONID",
          "size" : 0,
          "status" : "started",
          "url" : null
        }
    http_version: 
  recorded_at: Fri, 17 Jan 2020 21:15:36 GMT
recorded_with: VCR 5.0.0

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
opentok-4.10.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.9.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.8.1 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.8.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.7.1 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.7.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.6.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.5.1 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.5.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.4.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.3.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.2.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.1.2 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.1.1 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.1.0 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml
opentok-4.0.1 spec/cassettes/OpenTok_Archives/should_create_custom_layout_archives.yml