--- http_interactions: - request: method: get uri: https://api.clever.com/v1.1/districts body: encoding: US-ASCII string: '' headers: Accept: - ! '*/*; q=0.5, application/xml' Accept-Encoding: - gzip, deflate Authorization: - Bearer DEMO_TOKEN User-Agent: - Ruby response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent Access-Control-Allow-Methods: - GET,PATCH,POST,DELETE Access-Control-Allow-Origin: - ! '*' Content-Type: - application/json; charset=utf-8 Date: - Sat, 13 Sep 2014 00:05:06 GMT Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '217' Connection: - keep-alive body: encoding: US-ASCII string: ! '{"data":[{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"uri":"/v1.1/districts/4fd43cc56d11340000000005"}],"paging":{"current":1,"total":1,"count":1},"links":[{"rel":"self","uri":"/v1.1/districts"}]}' http_version: recorded_at: Sat, 13 Sep 2014 00:05:06 GMT - request: method: get uri: https://api.clever.com/v1.1/districts/4fd43cc56d11340000000005 body: encoding: US-ASCII string: '' headers: Accept: - ! '*/*; q=0.5, application/xml' Accept-Encoding: - gzip, deflate Authorization: - Bearer DEMO_TOKEN User-Agent: - Ruby response: status: code: 200 message: OK headers: Access-Control-Allow-Headers: - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent Access-Control-Allow-Methods: - GET,PATCH,POST,DELETE Access-Control-Allow-Origin: - ! '*' Content-Type: - application/json; charset=utf-8 Date: - Sat, 13 Sep 2014 00:05:06 GMT Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '518' Connection: - keep-alive body: encoding: US-ASCII string: ! '{"data":{"name":"Demo District","id":"4fd43cc56d11340000000005"},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005"},{"rel":"schools","uri":"/v1.1/districts/4fd43cc56d11340000000005/schools"},{"rel":"teachers","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers"},{"rel":"students","uri":"/v1.1/districts/4fd43cc56d11340000000005/students"},{"rel":"sections","uri":"/v1.1/districts/4fd43cc56d11340000000005/sections"},{"rel":"events","uri":"/v1.1/districts/4fd43cc56d11340000000005/events"}]}' http_version: recorded_at: Sat, 13 Sep 2014 00:05:06 GMT - request: method: get uri: https://api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?created_since=2013-02-15T%202:30:42%200000 body: encoding: US-ASCII string: '' headers: Accept: - ! '*/*; q=0.5, application/xml' Accept-Encoding: - gzip, deflate Authorization: - Bearer DEMO_TOKEN User-Agent: - Ruby response: status: code: 400 message: Bad Request headers: Access-Control-Allow-Headers: - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent Access-Control-Allow-Methods: - GET,PATCH,POST,DELETE Access-Control-Allow-Origin: - ! '*' Content-Type: - application/json; charset=utf-8 Date: - Sat, 13 Sep 2014 00:05:06 GMT Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '174' Connection: - keep-alive body: encoding: US-ASCII string: ! '{"error":"Could not parse created_since ''2013-02-15T 2:30:42 0000''. Please ensure it is either a valid ObjectID or a valid W3C datetime: http://www.w3.org/TR/NOTE-datetime."}' http_version: recorded_at: Sat, 13 Sep 2014 00:05:06 GMT recorded_with: VCR 2.9.3