Sha256: 803f9fa783fda553082c3ae4facaf62049cac3d22c0f100a9bd431d19b300580
Contents?: true
Size: 1.83 KB
Versions: 4
Compression:
Stored size: 1.83 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":"foobar","fields":[{"type":"string","name":"title","value":"new document"}]}}' 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: - ! '"3763bb197507514eb8ac090998b3deb3"' Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWFiYTAxYjJhYzJhOTdlNDY0M2QzMjg4ZjNhMmIzNTNhBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--0a519708383944dfc4d388112b215f9cd2e62319; path=/; HttpOnly X-Request-Id: - ba5e1e5a3e53e6fc25a07f64d86e16b5 X-Runtime: - "0.065348" Connection: - close Server: - thin 1.5.0 codename Knife body: encoding: US-ASCII string: ! '{"external_id":"foobar","engine_id":"51b92f982ed960a844000248","document_type_id":"523231e62ed9605898000020","id":"52323fe92ed960589800003a","_id":"52323fe92ed960589800003a","updated_at":"2013-09-12T22:27:53Z","title":"new document"}' http_version: recorded_at: Thu, 12 Sep 2013 22:27:53 GMT recorded_with: VCR 2.5.0
Version data entries
4 entries across 4 versions & 1 rubygems