Sha256: ecf455ad23bae612a73bfffb9a2d4cb13250a837c5ebc01128b8c295f81d59f2

Contents?: true

Size: 1.71 KB

Versions: 9

Compression:

Stored size: 1.71 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://hello:@localhost:3000/api/v1/engines/swiftype-api-example/document_types/videos/documents/async_bulk_create_or_update.json
    body:
      encoding: UTF-8
      string: '{"documents":[{"external_id":"failed_doc","fields":[{"type":"string","name":"title"}]}]}'
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
      User-Agent:
      - Swiftype-Ruby/1.1.1
      Content-Type:
      - application/json
  response:
    status:
      code: 202
      message: Accepted
    headers:
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge
      Cache-Control:
      - no-cache
      Set-Cookie:
      - __profilin=p%3Dt; path=/
      - __profilin=p%3Dt; path=/
      - _st_main_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJWRkMDY0NjI2ZTg2NTcyZDQ1OGQxNzM4MDQ0NjdjZGQyBjsAVEkiGXdhcmRlbi51c2VyLnJvbGUua2V5BjsAVFsHWwZVOhpNb3BlZDo6QlNPTjo6T2JqZWN0SWQiEVR%2BFdjOomAoqQAAAzA%3D--532fc790695e1143273b73a2e22bb1c33705b707;
        path=/; HttpOnly
      X-Request-Id:
      - e027fc55eedde702061489a4638a8d1d
      X-Runtime:
      - '0.231255'
      Connection:
      - close
      Server:
      - thin 1.5.0 codename Knife
    body:
      encoding: UTF-8
      string: '{"document_receipts":[{"id":"54821785cea2601e1b000005","external_id":"failed_doc","link":"http://localhost:3000/api/v1/document_receipts/54821785cea2601e1b000005.json","status":"failed","errors":["Missing
        required parameter: value"]}],"batch_link":"http://localhost:3000/api/v1/document_receipts.json?ids=54821785cea2601e1b000005"}'
    http_version: 
  recorded_at: Fri, 05 Dec 2014 20:37:25 GMT
recorded_with: VCR 2.9.3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
swiftype-1.5.2 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.5.0 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.4.0 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.3.1 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.3.0 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.2.3 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.2.2 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.2.1 spec/fixtures/vcr/async_create_or_update_document_failure.yml
swiftype-1.2.0 spec/fixtures/vcr/async_create_or_update_document_failure.yml