Sha256: 1a40cbfd48c8814ede572747849e4bf502aa12783e0aa6acda3b7ec20721d721

Contents?: true

Size: 1.98 KB

Versions: 8

Compression:

Stored size: 1.98 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://api.opentok.com/v2/project/123456/archive?count=2
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - OpenTok-Ruby-SDK/<%= version %>
      X-Opentok-Auth:
      - eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzdCI6InByb2plY3QifQ.eyJpc3MiOiIxMjM0NTYiLCJpYXQiOjE0OTI1MTA2NjAsImV4cCI6MTQ5MjUxMDk2MH0.Oh_JHhtEUKK1pPV4s6neXJj_RXI8EcEpJRRpG_2c9U0
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Wed, 19 Mar 2014 00:54:18 GMT
      Content-Type:
      - application/json
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
    body:
      encoding: UTF-8
      string: |-
        {
          "count" : 2,
          "items" : [ {
            "createdAt" : 1395187930000,
            "duration" : 22,
            "id" : "ef546c5a-4fd7-4e59-ab3d-f1cfb4148d1d",
            "name" : "",
            "partnerId" : 123456,
            "reason" : "",
            "sessionId" : "SESSIONID",
            "size" : 2909274,
            "status" : "available",
            "url" : "http://tokbox.com.archive2.s3.amazonaws.com/123456%2Fef546c5a-4fd7-4e59-ab3d-f1cfb4148d1d%2Farchive.mp4?Expires=1395188695&AWSAccessKeyId=AKIAI6LQCPIXYVWCQV6Q&Signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          }, {
            "createdAt" : 1395187910000,
            "duration" : 14,
            "id" : "5350f06f-0166-402e-bc27-09ba54948512",
            "name" : "",
            "partnerId" : 123456,
            "reason" : "",
            "sessionId" : "SESSIONID",
            "size" : 1952651,
            "status" : "available",
            "url" : "http://tokbox.com.archive2.s3.amazonaws.com/123456%2F5350f06f-0166-402e-bc27-09ba54948512%2Farchive.mp4?Expires=1395188695&AWSAccessKeyId=AKIAI6LQCPIXYVWCQV6Q&Signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
          } ]
        }
    http_version: 
  recorded_at: Wed, 19 Mar 2014 00:54:18 GMT
recorded_with: VCR 2.8.0

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
opentok-3.1.0 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
opentok-3.0.3 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
opentok-3.0.2 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
opentok-3.0.1 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
opentok-3.0.0 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
opentok-2.5.0 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
opentok-2.4.1 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
opentok-2.4.0 spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml