Sha256: 016e0744109681aa981b3ca7ef87ef946696a669857d642de134e8e8a96cbe80

Contents?: true

Size: 1.81 KB

Versions: 3

Compression:

Stored size: 1.81 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3002/api/ws/v1/sources/content_source_id/documents/bulk_create/
    body:
      encoding: UTF-8
      string: '[{"id":"4e696e74656e646f203634","url":"https://www.elastic.co/blog/introducing-quick-start-guides-getting-started-with-elastic-enterprise-search-for-free","title":"Getting
        started with Elastic Enterprise Search for free","body":"this is a test"},{"id":"47616d6520426f7920436f6c6f72","url":"https://www.elastic.co/workplace-search","title":"One-stop
        answer shop for the virtual workplace","body":"this is also a test"}]'
    headers:
      User-Agent:
      - 'elastic-enteprise-search-ruby/7.11.0.pre (RUBY_VERSION: 2.7.2; linux x86_64;
        elasticsearch-transport: 7.10.0)'
      Content-Type:
      - application/json
      Authorization:
      - Bearer access_token
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
  response:
    status:
      code: 200
      message: OK
    headers:
      X-Frame-Options:
      - SAMEORIGIN
      X-Xss-Protection:
      - 1; mode=block
      X-Content-Type-Options:
      - nosniff
      Content-Type:
      - application/json;charset=utf-8
      Etag:
      - W/"bb662a3b63c8900e63d18832ae4cb8b7--gzip"
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - e036b163-b15b-4fcf-acff-2ed7f1deebf6
      X-Runtime:
      - '0.199726'
      Vary:
      - Accept-Encoding, User-Agent
      Transfer-Encoding:
      - chunked
      Server:
      - Jetty(9.4.33.v20201020)
    body:
      encoding: ASCII-8BIT
      string: '{"results":[{"id":"4e696e74656e646f203634","errors":[]},{"id":"47616d6520426f7920436f6c6f72","errors":[]}]}'
    http_version: 
  recorded_at: Wed, 13 Jan 2021 15:53:13 GMT
recorded_with: VCR 3.0.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
elastic-enterprise-search-7.12.1 spec/fixtures/vcr/workplace_search/index_documents.yml
elastic-enterprise-search-7.12.0 spec/fixtures/vcr/workplace_search/index_documents.yml
elastic-enterprise-search-7.11.0 spec/fixtures/vcr/workplace_search/index_documents.yml