--- http_interactions: - request: method: get uri: https://api.clever.com/v1.1/schools?limit=20 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, 26 Sep 2015 17:40:29 GMT X-Powered-By: - Express X-Ratelimit-Bucket: - bearer X-Ratelimit-Limit: - '1200' X-Ratelimit-Remaining: - '1084' X-Ratelimit-Reset: - '1443289242' Content-Length: - '1773' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350 5th Avenue","city":"New York","state":"NY","zip":"10001"},"low_grade":"9","name":"Clever High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"uri":"/v1.1/schools/530e595026403103360ff9fd"},{"data":{"created":"2014-02-26T21:14:56.668Z","district":"4fd43cc56d11340000000005","high_grade":"5","last_modified":"2014-02-26T21:14:56.670Z","location":{"address":"110 Pineapple Street","city":"Brooklyn","state":"NY","zip":"11201"},"low_grade":"Kindergarten","name":"Clever Elementary School","nces_id":"360007000000","phone":"(718) 555-4567","principal":{"name":"Cecilia Roderick","email":"ceciliar@mailinator.com"},"school_number":"13K123","sis_id":"13K123","state_id":"30890","id":"530e595026403103360ff9fe"},"uri":"/v1.1/schools/530e595026403103360ff9fe"},{"data":{"created":"2014-02-26T21:14:56.671Z","district":"4fd43cc56d11340000000005","high_grade":"8","last_modified":"2014-02-26T21:14:56.673Z","location":{"address":"322 Old Beach 88th Street","city":"Rockaway Beach","state":"NY","zip":"11693"},"low_grade":"6","name":"Clever Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"paging":{"current":1,"total":1,"count":3},"links":[{"rel":"self","uri":"/v1.1/schools?limit=20"}]}' http_version: recorded_at: Sat, 26 Sep 2015 17:40:29 GMT - request: method: get uri: https://api.clever.com/v1.1/schools?where=%7B%22_id%22:%7B%22$in%22:%5B%22530e595026403103360ff9fd%22,%22530e595026403103360ff9ff%22%5D%7D%7D 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, 26 Sep 2015 17:40:29 GMT X-Powered-By: - Express X-Ratelimit-Bucket: - bearer X-Ratelimit-Limit: - '1200' X-Ratelimit-Remaining: - '1083' X-Ratelimit-Reset: - '1443289242' Content-Length: - '1303' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":[{"data":{"created":"2014-02-26T21:14:56.662Z","district":"4fd43cc56d11340000000005","high_grade":"12","last_modified":"2014-02-26T21:14:56.665Z","location":{"address":"350 5th Avenue","city":"New York","state":"NY","zip":"10001"},"low_grade":"9","name":"Clever High School","nces_id":"360008000000","phone":"(212) 555-1212","principal":{"name":"Theodora Khan","email":"tdkhan@mailinator.com"},"school_number":"02M800","sis_id":"02M800","state_id":"712345","id":"530e595026403103360ff9fd"},"uri":"/v1.1/schools/530e595026403103360ff9fd"},{"data":{"created":"2014-02-26T21:14:56.671Z","district":"4fd43cc56d11340000000005","high_grade":"8","last_modified":"2014-02-26T21:14:56.673Z","location":{"address":"322 Old Beach 88th Street","city":"Rockaway Beach","state":"NY","zip":"11693"},"low_grade":"6","name":"Clever Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"paging":{"current":1,"total":1,"count":2},"links":[{"rel":"self","uri":"/v1.1/schools?where=%7B%22_id%22:%7B%22$in%22:[%22530e595026403103360ff9fd%22,%22530e595026403103360ff9ff%22]%7D%7D"}]}' http_version: recorded_at: Sat, 26 Sep 2015 17:40:29 GMT recorded_with: VCR 2.9.3