Sha256: 63ebaae2492204df21622cce61bd4b73d45c340d663fb6a64fd249d7f0bef25e

Contents?: true

Size: 1.84 KB

Versions: 4

Compression:

Stored size: 1.84 KB

Contents

---
http_interactions:
  - request:
      method: post
      uri: http://hello:@localhost:3000/api/v1/engines/site-search-api-example/document_types/videos/documents/create_or_update.json
      body:
        encoding: UTF-8
        string:
          ! '{"document":{"external_id":"FtX8nswnUKU","fields":[{"type":"string","name":"title","value":"new
          title"}]}}'
      headers:
        Accept:
          - ! "*/*"
        X-Swiftype-Client:
          - elastic-app-search-ruby
        X-Swiftype-Client-Version:
          - 1.0.0
        Content-Type:
          - application/json
    response:
      status:
        code: 200
        message: OK
      headers:
        Content-Type:
          - application/json; charset=utf-8
        X-Ua-Compatible:
          - IE=Edge
        Etag:
          - ! '"488aba5c2ad2a659d05843295a3498fc"'
        Cache-Control:
          - max-age=0, private, must-revalidate
        Set-Cookie:
          - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTE4YzllZGM2YmZiNTZkYzYyZmQ0NjE3ZGNiOGJkNWNhBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--64335e3c3b784178b315963cd727aa9aef214cc4;
            path=/; HttpOnly
        X-Request-Id:
          - 8d4b593a1091399681f7a24e63497363
        X-Runtime:
          - "0.041548"
        Connection:
          - close
        Server:
          - thin 1.5.0 codename Knife
      body:
        encoding: US-ASCII
        string:
          ! '{"external_id":"FtX8nswnUKU","engine_id":"51b92f982ed960a844000248","document_type_id":"523231e62ed9605898000020","id":"523231eb2ed9605898000027","_id":"523231eb2ed9605898000027","updated_at":"2013-09-12T22:42:28Z","title":"new
          title"}'
      http_version:
    recorded_at: Thu, 12 Sep 2013 22:42:28 GMT
recorded_with: VCR 2.5.0

Version data entries

4 entries across 4 versions & 1 rubygems

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