Sha256: c6a6277dafa78b93cdd6dda1bcbb8e2b0ee6e42d8ab32755a787b24778337238

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.shutterstock.com/v2/images/collections/54321/items
    body:
      encoding: UTF-8
      string: '{"items":[{"id":"123456987654321"}]}'
    headers:
      User-Agent:
      - Faraday v0.10.1
      Authorization:
      - Bearer <SSTK_ACCESS_TOKEN>
      Content-Type:
      - application/json
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 404
      message: Not Found
    headers:
      Server:
      - nginx
      Date:
      - Sat, 07 Jan 2017 06:28:40 GMT
      Content-Type:
      - application/json; charset=utf8
      Content-Length:
      - '23'
      Connection:
      - keep-alive
      X-End-User-Request-Id:
      - f7fe0f26-f275-4c58-8e90-6ff0a0dd5aee
      X-Shutterstock-Resource:
      - "/v2/images/collections/:id/items"
      X-Shutterstock-App-Version:
      - apitwo-739
      Cache-Control:
      - no-cache
      X-End-User-User-Id:
      - "<SSTK_USER_ID>"
      X-End-User-Client-Id:
      - "<SSTK_CLIENT_ID>"
    body:
      encoding: UTF-8
      string: '{"message":"Not Found"}'
    http_version: 
  recorded_at: Sat, 07 Jan 2017 06:28:40 GMT
recorded_with: VCR 3.0.3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shutterstock-v2-0.0.1 spec/cassettes/Shutterstock_Collection/add_image_error_raises_error_if_collection_does_not_exist.yml