Sha256: d1274d3940c9bef472f52794b8cfadb59f83016aa719c0c195d34d162e1e5d4d

Contents?: true

Size: 1.65 KB

Versions: 4

Compression:

Stored size: 1.65 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3002/api/v1/ent/sources/59542d332139de0acacc7dd4/documents/bulk_create.json
    body:
      encoding: UTF-8
      string: '[{"id":"INscMGmhmX4","url":"http://www.youtube.com/watch?v=v1uyQZNg2vE","title":"The
        Original Grumpy Cat","body":"this is a test"},{"id":"JNDFojsd02","url":"http://www.youtube.com/watch?v=tsdfhk2j","title":"Another
        Grumpy Cat","body":"this is also a test"}]'
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - SwiftypeEnterprise-Ruby/1.0.0
      Content-Type:
      - application/json
      Authorization:
      - Bearer cGUN-vBokevBhhzyA669
  response:
    status:
      code: 202
      message: Accepted
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - application/json; charset=utf-8
      Cache-Control:
      - no-cache
      Set-Cookie:
      - _st_main_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFVEkiJWE4NGIxMjQ0YjgzNzYwOWU2NzljZGYyMjkwYzM2ODA4BjsAVA%3D%3D--d0ca869176aa0b9f3d57baf66152897d305fabae;
        path=/; expires=Mon, 05 Jul 2027 17:52:09 -0000; HttpOnly
      X-Request-Id:
      - '09b779a9-1704-46e7-991d-9e92e67b0001'
      X-Runtime:
      - '0.115497'
      Connection:
      - close
      Server:
      - thin 1.5.0 codename Knife
    body:
      encoding: UTF-8
      string: '[{"id":null,"id":"1234","errors":[]},{"id":null,"id":"1235","errors":[]}]'
    http_version:
  recorded_at: Wed, 05 Jul 2017 17:52:09 GMT
recorded_with: VCR 3.0.3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
swiftype-enterprise-3.0.3 spec/fixtures/vcr/async_create_or_update_document_success.yml
swiftype-enterprise-3.0.2 spec/fixtures/vcr/async_create_or_update_document_success.yml
swiftype-enterprise-3.0.1 spec/fixtures/vcr/async_create_or_update_document_success.yml
swiftype-enterprise-3.0.0 spec/fixtures/vcr/async_create_or_update_document_success.yml