--- http_interactions: - request: method: get uri: https://api.clever.com/v1.1/schools 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:01 GMT Etag: - ! '"1408105812"' Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '1764' Connection: - keep-alive body: encoding: US-ASCII 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"}]}' http_version: recorded_at: Sat, 13 Sep 2014 00:05:01 GMT - request: method: get uri: https://api.clever.com/v1.1/schools/530e595026403103360ff9ff 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:02 GMT Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '959' Connection: - keep-alive body: encoding: US-ASCII string: ! '{"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"},"links":[{"rel":"self","uri":"/v1.1/schools/530e595026403103360ff9ff"},{"rel":"district","uri":"/v1.1/schools/530e595026403103360ff9ff/district"},{"rel":"teachers","uri":"/v1.1/schools/530e595026403103360ff9ff/teachers"},{"rel":"students","uri":"/v1.1/schools/530e595026403103360ff9ff/students"},{"rel":"sections","uri":"/v1.1/schools/530e595026403103360ff9ff/sections"},{"rel":"events","uri":"/v1.1/schools/530e595026403103360ff9ff/events"}]}' http_version: recorded_at: Sat, 13 Sep 2014 00:05:01 GMT recorded_with: VCR 2.9.3