Sha256: da18fc32c70c6f74d21dace36165f7a45fa5cdca3d88bb1780e32d70c8b281c1

Contents?: true

Size: 1.72 KB

Versions: 4

Compression:

Stored size: 1.72 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://hello:@localhost:3000/api/v1/engines/site-search-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

4 entries across 4 versions & 1 rubygems

Version Path
elastic-site-search-3.0.1 spec/fixtures/vcr/async_create_or_update_document_failure.yml
elastic-site-search-2.2.0 spec/fixtures/vcr/async_create_or_update_document_failure.yml
elastic-site-search-2.1.0 spec/fixtures/vcr/async_create_or_update_document_failure.yml
elastic-site-search-2.0.0 spec/fixtures/vcr/async_create_or_update_document_failure.yml