Sha256: 880dbedab80554652e16dcca5be2502a2bce804e09158605c80fa707086a4c56

Contents?: true

Size: 1.62 KB

Versions: 4

Compression:

Stored size: 1.62 KB

Contents

---
http_interactions:
  - request:
      method: post
      uri: http://hello:@localhost:3000/api/v1/engines/site-search-api-example/document_types/videos/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:
          - ! '"0d6dd112254e507485d54fc519daf383"'
        Cache-Control:
          - max-age=0, private, must-revalidate
        Set-Cookie:
          - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTVlMmM1ODE1ZmUwM2ZjNmZlNGVhMGJjNmMwNzRjNDE1BjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--b61980207cb5f39287c0043c7dc826fdcae252d6;
            path=/; HttpOnly
        X-Request-Id:
          - a5116c1d36bc44ae70dbeb2549174d3c
        X-Runtime:
          - "0.200517"
        Connection:
          - close
        Server:
          - thin 1.5.0 codename Knife
      body:
        encoding: US-ASCII
        string: ! '{"record_count":0,"records":{"videos":[]},"info":{"videos":{"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:20 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/document_type_suggest_pagination.yml
elastic-site-search-2.2.0 spec/fixtures/vcr/document_type_suggest_pagination.yml
elastic-site-search-2.1.0 spec/fixtures/vcr/document_type_suggest_pagination.yml
elastic-site-search-2.0.0 spec/fixtures/vcr/document_type_suggest_pagination.yml