--- http_interactions: - request: method: post uri: https://api.parse.com/1/classes/BatchTestObject body: encoding: UTF-8 string: '{"foo":"1"}' headers: Content-Type: - application/json Accept: - application/json User-Agent: - Parse for Ruby, 0.0 X-Parse-Master-Key: - '' X-Parse-Rest-Api-Key: - X-Parse-Application-Id: - X-Parse-Session-Token: - '' Expect: - '' response: status: code: 201 message: Created headers: Access-Control-Allow-Origin: - '*' Access-Control-Request-Method: - '*' Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 Date: - Wed, 22 May 2013 16:29:53 GMT Location: - https://api.parse.com/1/classes/BatchTestObject/2ymFSQYHfE Server: - nginx/1.2.2 Set-Cookie: - Status: - 201 Created X-Runtime: - '0.036319' X-Ua-Compatible: - IE=Edge,chrome=1 Content-Length: - '64' Connection: - keep-alive body: encoding: ASCII-8BIT string: '{"createdAt":"2013-05-22T16:29:53.618Z","objectId":"2ymFSQYHfE"}' http_version: recorded_at: Wed, 22 May 2013 16:29:53 GMT - request: method: post uri: https://api.parse.com/1/batch body: encoding: UTF-8 string: '{"requests":[{"method":"PUT","path":"/1/classes/BatchTestObject/2ymFSQYHfE","body":{"foo":{"__op":"Delete"}}}]}' headers: Content-Type: - application/json Accept: - application/json User-Agent: - Parse for Ruby, 0.0 X-Parse-Master-Key: - '' X-Parse-Rest-Api-Key: - X-Parse-Application-Id: - X-Parse-Session-Token: - '' Expect: - '' response: status: code: 200 message: OK headers: Access-Control-Allow-Origin: - '*' Access-Control-Request-Method: - '*' Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json; charset=utf-8 Date: - Wed, 22 May 2013 16:29:53 GMT Etag: - '"46d925ca6ec13b0f74a396e85f13e0d2"' Server: - nginx/1.2.2 Set-Cookie: - Status: - 200 OK X-Runtime: - '0.036707' X-Ua-Compatible: - IE=Edge,chrome=1 Content-Length: - '54' Connection: - keep-alive body: encoding: ASCII-8BIT string: '[{"success":{"updatedAt":"2013-05-22T16:29:53.704Z"}}]' http_version: recorded_at: Wed, 22 May 2013 16:29:53 GMT - request: method: get uri: https://api.parse.com/1/classes/BatchTestObject/2ymFSQYHfE body: encoding: US-ASCII string: '' headers: Content-Type: - application/json Accept: - application/json User-Agent: - Parse for Ruby, 0.0 X-Parse-Master-Key: - '' X-Parse-Rest-Api-Key: - X-Parse-Application-Id: - X-Parse-Session-Token: - '' Expect: - '' response: status: code: 200 message: OK headers: Access-Control-Allow-Origin: - '*' Access-Control-Request-Method: - '*' Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json; charset=utf-8 Date: - Wed, 22 May 2013 16:29:53 GMT Etag: - '"97322f30380a98755c73de04b24d660c"' Server: - nginx/1.2.2 Set-Cookie: - Status: - 200 OK X-Runtime: - '0.046347' X-Ua-Compatible: - IE=Edge,chrome=1 Content-Length: - '103' Connection: - keep-alive body: encoding: ASCII-8BIT string: '{"createdAt":"2013-05-22T16:29:53.618Z","updatedAt":"2013-05-22T16:29:53.704Z","objectId":"2ymFSQYHfE"}' http_version: recorded_at: Wed, 22 May 2013 16:29:53 GMT - request: method: get uri: https://api.parse.com/1/classes/BatchTestObject/2ymFSQYHfE body: encoding: US-ASCII string: '' headers: Content-Type: - application/json Accept: - application/json User-Agent: - Parse for Ruby, 0.0 X-Parse-Master-Key: - '' X-Parse-Rest-Api-Key: - X-Parse-Application-Id: - X-Parse-Session-Token: - '' Expect: - '' response: status: code: 200 message: OK headers: Access-Control-Allow-Origin: - '*' Access-Control-Request-Method: - '*' Cache-Control: - max-age=0, private, must-revalidate Content-Type: - application/json; charset=utf-8 Date: - Wed, 22 May 2013 16:31:59 GMT Etag: - '"97322f30380a98755c73de04b24d660c"' Server: - nginx/1.2.2 Set-Cookie: - Status: - 200 OK X-Runtime: - '0.027746' X-Ua-Compatible: - IE=Edge,chrome=1 Content-Length: - '103' Connection: - keep-alive body: encoding: ASCII-8BIT string: '{"createdAt":"2013-05-22T16:29:53.618Z","updatedAt":"2013-05-22T16:29:53.704Z","objectId":"2ymFSQYHfE"}' http_version: recorded_at: Wed, 22 May 2013 16:31:59 GMT - request: method: post uri: https://api.parse.com/1/classes/BatchTestObject/2ymFSQYHfE body: encoding: UTF-8 string: '' headers: User-Agent: - Parse for Ruby, 0.0 Content-Type: - application/json X-Parse-Application-Id: - X-Parse-Rest-Api-Key: - X-Http-Method-Override: - GET Content-Length: - '0' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 404 message: Not Found headers: Access-Control-Allow-Origin: - '*' Access-Control-Request-Method: - '*' Cache-Control: - no-cache Content-Type: - application/json; charset=utf-8 Date: - Wed, 26 Mar 2014 15:21:12 GMT Server: - nginx/1.4.2 Set-Cookie: - Status: - 404 Not Found X-Runtime: - '0.118475' X-Ua-Compatible: - IE=Edge,chrome=1 Content-Length: - '65' Connection: - keep-alive body: encoding: UTF-8 string: '{"code":101,"error":"object not found for get"}' http_version: recorded_at: Wed, 26 Mar 2014 15:21:13 GMT - request: method: post uri: https://api.leancloud.cn/1.1/classes/BatchTestObject body: encoding: UTF-8 string: '{"foo":"1"}' headers: User-Agent: - Parse for Ruby, 0.0 Content-Type: - application/json X-Avoscloud-Application-Id: - X-Avoscloud-Application-Key: - Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 201 message: Created headers: Server: - Tengine Date: - Fri, 10 Apr 2015 09:10:29 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '78' Connection: - keep-alive Location: - /1.1/classes/BatchTestObject/55279385e4b0da2c5defa0e2 Cache-Control: - no-cache,no-store Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 body: encoding: UTF-8 string: '{"createdAt":"2015-04-10T09:10:29.835Z","objectId":"55279385e4b0da2c5defa0e2"}' http_version: recorded_at: Fri, 10 Apr 2015 09:10:29 GMT - request: method: post uri: https://api.leancloud.cn/1.1/batch body: encoding: UTF-8 string: '{"requests":[{"method":"PUT","path":"/1.1/classes/BatchTestObject/55279385e4b0da2c5defa0e2","body":{"foo":{"__op":"Delete"}}}]}' headers: User-Agent: - Parse for Ruby, 0.0 Content-Type: - application/json X-Avoscloud-Application-Id: - X-Avoscloud-Application-Key: - Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - Tengine Date: - Fri, 10 Apr 2015 09:10:30 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '92' Connection: - keep-alive Cache-Control: - no-cache,no-store Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 body: encoding: UTF-8 string: '[{"success":{"updatedAt":"2015-04-10T09:10:30.118Z","objectId":"55279385e4b0da2c5defa0e2"}}]' http_version: recorded_at: Fri, 10 Apr 2015 09:10:30 GMT - request: method: get uri: https://api.leancloud.cn/1.1/classes/BatchTestObject/55279385e4b0da2c5defa0e2 body: encoding: US-ASCII string: '' headers: User-Agent: - Parse for Ruby, 0.0 Content-Type: - application/json X-Avoscloud-Application-Id: - X-Avoscloud-Application-Key: - Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 200 message: OK headers: Server: - Tengine Date: - Fri, 10 Apr 2015 09:10:30 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '117' Connection: - keep-alive Last-Modified: - Fri, 10 Apr 2015 09:10:30.118 GMT Cache-Control: - no-cache,no-store Pragma: - no-cache Strict-Transport-Security: - max-age=31536000 body: encoding: UTF-8 string: '{"updatedAt":"2015-04-10T09:10:30.118Z","createdAt":"2015-04-10T09:10:29.835Z","objectId":"55279385e4b0da2c5defa0e2"}' http_version: recorded_at: Fri, 10 Apr 2015 09:10:30 GMT recorded_with: VCR 2.4.0