--- http_interactions: - request: method: post uri: http://hello:@localhost:3000/api/v1/engines/site-search-api-example/document_types/videos/documents/bulk_create_or_update.json body: encoding: UTF-8 string: ! '{"documents":[{"external_id":"INscMGmhmX4","fields":[{"name":"url","value":"http://www.youtube.com/watch?v=v1uyQZNg2vE","type":"enum"},{"name":"thumbnail_url","value":"https://i.ytimg.com/vi/INscMGmhmX4/mqdefault.jpg","type":"enum"},{"name":"channel_id","value":"UCTzVrd9ExsI3Zgnlh3_btLg","type":"enum"},{"name":"title","value":"The Original Grumpy Cat","type":"string"},{"name":"category_name","value":"Pets & Animals","type":"string"}]},{"external_id":"XfY9Dsg_DZk","fields":[{"name":"url","value":"http://www.youtube.com/watch?v=XfY9Dsg_DZk","type":"enum"},{"name":"thumbnail_url","value":"https://i.ytimg.com/vi/XfY9Dsg_DZk/mqdefault.jpg","type":"enum"},{"name":"channel_id","value":"UC5VA5j05FjETg-iLekcyiBw","type":"enum"},{"name":"title","value":"Corgi talks to cat","type":"string"},{"name":"category_name","value":"Pets & Animals","type":"string"}]}]}' 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: - ! '"bb009c6dcb5c622766ad5aa1ea1562d9"' Cache-Control: - max-age=0, private, must-revalidate Set-Cookie: - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWZjMDZlMjgwODhkMjBjYmExMDg2MWExZmE0MjBhZDdmBjsAVEkiGXdhcmRlbi51c2VyLnVzZXIua2V5BjsAVFsISSIJVXNlcgY7AEZbBlU6Gk1vcGVkOjpCU09OOjpPYmplY3RJZCIRUDg5%2By7ZYCnHAAABSSIiJDJhJDEwJE1rNmZOdHA1cC9ZNVIuQU5sZFB2UWUGOwBU--0d16dbc7fe243021edb77914496d4c38ef6c9234; path=/; HttpOnly X-Request-Id: - 2a2a08cdc513d3c2b2f961e23096e889 X-Runtime: - "0.052437" Connection: - close Server: - thin 1.5.0 codename Knife body: encoding: US-ASCII string: ! "[true,true]" http_version: recorded_at: Thu, 12 Sep 2013 22:49:55 GMT recorded_with: VCR 2.5.0