Sha256: 95ffdee6ac136b77211f57e002716bb74c791d7a73c400d2b4b331340bc35387

Contents?: true

Size: 1.7 KB

Versions: 4

Compression:

Stored size: 1.7 KB

Contents

---
http_interactions:
  - request:
      method: post
      uri: http://hello:@localhost:3000/api/v1/engines/site-search-api-example/suggest.json
      body:
        encoding: UTF-8
        string: ! '{"q":"goo","page":2}'
      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:
          - ! '"3808268d101ef1017e4abf36ab55aa2e"'
        Cache-Control:
          - max-age=0, private, must-revalidate
        Set-Cookie:
          - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWQyZmJkMTcyMTEwN2U0ZDcwNjZjOTI4MTMwMGI5Y2I4BjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--21e3ec1874607815193e8c7793a3e9974144075b;
            path=/; HttpOnly
        X-Request-Id:
          - 04b206c0beb9fb36b8ea6f8109c61dd7
        X-Runtime:
          - "0.183618"
        Connection:
          - close
        Server:
          - thin 1.5.0 codename Knife
      body:
        encoding: US-ASCII
        string: ! '{"record_count":0,"records":{"videos":[],"channels":[]},"info":{"videos":{"query":"goo","current_page":2,"num_pages":1,"per_page":10,"total_result_count":1},"channels":{"query":"goo","current_page":2,"num_pages":1,"per_page":10,"total_result_count":1}},"errors":{}}'
      http_version:
    recorded_at: Thu, 12 Sep 2013 21:30:21 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/engine_suggest_pagination.yml
elastic-site-search-2.2.0 spec/fixtures/vcr/engine_suggest_pagination.yml
elastic-site-search-2.1.0 spec/fixtures/vcr/engine_suggest_pagination.yml
elastic-site-search-2.0.0 spec/fixtures/vcr/engine_suggest_pagination.yml