--- http_interactions: - request: method: get uri: https://api.clever.com/v1.1/teachers?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, 13 Sep 2014 00:05:05 GMT Etag: - ! '"-327461194"' Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '10140' Connection: - keep-alive body: encoding: US-ASCII string: ! '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade 3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"data":{"created":"2012-11-27T15:04:48.474Z","credentials":{"district_password":"OMeitoo3v","district_username":"reuben.conn"},"district":"4fd43cc56d11340000000005","email":"conn_reuben@example.net","last_modified":"2014-02-26T21:15:01.234Z","name":{"first":"Reuben","last":"Conn","middle":"K"},"school":"530e595026403103360ff9ff","sis_id":"33","teacher_number":"215041","title":"Grade 8 Mathematics Teacher","id":"50b4d690ad221ab95f1c6c39"},"uri":"/v1.1/teachers/50b4d690ad221ab95f1c6c39"},{"data":{"created":"2012-12-01T15:02:36.961Z","credentials":{"district_password":"ru3o8rusbf","district_username":"steven.ogden"},"district":"4fd43cc56d11340000000005","email":"ogden_steven@example.net","last_modified":"2014-02-26T21:15:01.485Z","name":{"first":"Steven","last":"Ogden","middle":"Q"},"school":"530e595026403103360ff9fd","sis_id":"81","teacher_number":"474958","title":"High School Science Teacher","id":"50ba1c0c4eda5d94372227eb"},"uri":"/v1.1/teachers/50ba1c0c4eda5d94372227eb"},{"data":{"created":"2012-12-05T15:00:02.670Z","credentials":{"district_password":"Coo0ooyahgh","district_username":"hauck.haylie"},"district":"4fd43cc56d11340000000005","email":"hauck.haylie@example.com","last_modified":"2014-02-26T21:15:01.358Z","name":{"first":"Haylie","last":"Hauck","middle":"J"},"school":"530e595026403103360ff9fd","sis_id":"48","teacher_number":"830340","title":"Grade 10 English Teacher","id":"50bf617202dfe7ca0154296f"},"uri":"/v1.1/teachers/50bf617202dfe7ca0154296f"},{"data":{"created":"2012-12-07T15:00:07.732Z","credentials":{"district_password":"ae9IShie0im","district_username":"manuel_purdy"},"district":"4fd43cc56d11340000000005","email":"manuel.purdy@example.com","last_modified":"2014-02-26T21:15:01.296Z","name":{"first":"Manuel","last":"Purdy","middle":"S"},"school":"530e595026403103360ff9ff","sis_id":"39","teacher_number":"731037","title":"Grade 8 Mathematics Teacher","id":"50c20477987eda0d3d02d30e"},"uri":"/v1.1/teachers/50c20477987eda0d3d02d30e"},{"data":{"created":"2012-12-07T15:00:07.733Z","credentials":{"district_password":"EGhaingi4qu","district_username":"jessica.stark"},"district":"4fd43cc56d11340000000005","email":"stark_jessica@example.net","last_modified":"2014-02-26T21:15:01.451Z","name":{"first":"Jessica","last":"Stark","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"70","teacher_number":"459202","title":"Kindergarten Teacher","id":"50c20477987eda0d3d02d310"},"uri":"/v1.1/teachers/50c20477987eda0d3d02d310"},{"data":{"created":"2012-12-09T15:00:34.246Z","credentials":{"district_password":"ooDungei8ah","district_username":"doyle_rupert"},"district":"4fd43cc56d11340000000005","email":"doyle.rupert@example.net","last_modified":"2014-02-26T21:15:01.369Z","name":{"first":"Rupert","last":"Doyle","middle":"V"},"school":"530e595026403103360ff9fd","sis_id":"50","teacher_number":"473664","title":"Grade 12 English Teacher","id":"50c4a79299ad702e0228e956"},"uri":"/v1.1/teachers/50c4a79299ad702e0228e956"},{"data":{"created":"2012-12-09T15:00:34.248Z","credentials":{"district_password":"Lohneth3osh","district_username":"wolff.cali"},"district":"4fd43cc56d11340000000005","email":"cali_wolff@example.net","last_modified":"2014-02-26T21:15:01.417Z","name":{"first":"Cali","last":"Wolff","middle":"L"},"school":"530e595026403103360ff9fd","sis_id":"62","teacher_number":"762405","title":"Grade 11 Trigonometry Teacher","id":"50c4a79299ad702e0228e957"},"uri":"/v1.1/teachers/50c4a79299ad702e0228e957"},{"data":{"created":"2012-12-12T15:17:05.364Z","credentials":{"district_password":"na9ahCei","district_username":"kutch_larry"},"district":"4fd43cc56d11340000000005","email":"larry_kutch@example.net","last_modified":"2014-02-26T21:15:01.152Z","name":{"first":"Larry","last":"Kutch","middle":"C"},"school":"530e595026403103360ff9fe","sis_id":"23","teacher_number":"233800","title":"Grade 2 Special Education Teacher","id":"50c89ff19ed67a1d3f1f50c9"},"uri":"/v1.1/teachers/50c89ff19ed67a1d3f1f50c9"},{"data":{"created":"2012-12-12T15:17:05.366Z","credentials":{"district_password":"meile5Taicei","district_username":"colton.block"},"district":"4fd43cc56d11340000000005","email":"block_colton@example.net","last_modified":"2014-02-26T21:15:01.391Z","name":{"first":"Colton","last":"Block","middle":"L"},"school":"530e595026403103360ff9fd","sis_id":"54","teacher_number":"911173","title":"Grade 9 History Teacher","id":"50c89ff19ed67a1d3f1f50ca"},"uri":"/v1.1/teachers/50c89ff19ed67a1d3f1f50ca"},{"data":{"created":"2014-02-26T21:15:01.053Z","credentials":{"district_username":"haley.hahn","district_password":"xooBee4um"},"district":"4fd43cc56d11340000000005","email":"hahn_haley@example.com","last_modified":"2014-02-26T21:15:01.057Z","name":{"first":"Haley","middle":"D","last":"Hahn"},"school":"530e595026403103360ff9fe","sis_id":"1","teacher_number":"341754","title":"Grade 1 Common Branch Teacher","id":"530e5955d50c310f36112bcb"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcb"},{"data":{"created":"2014-02-26T21:15:01.060Z","credentials":{"district_username":"abernathy.leatha","district_password":"ohF6Gai1ai"},"district":"4fd43cc56d11340000000005","email":"leatha.abernathy@example.org","last_modified":"2014-02-26T21:15:01.065Z","name":{"first":"Leatha","middle":"D","last":"Abernathy"},"school":"530e595026403103360ff9fe","sis_id":"10","teacher_number":"670963","title":"Grade 3 Common Branch Teacher","id":"530e5955d50c310f36112bcc"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcc"},{"data":{"created":"2014-02-26T21:15:01.078Z","credentials":{"district_username":"davin_runte","district_password":"Ap3aQuoh"},"district":"4fd43cc56d11340000000005","email":"runte_davin@example.org","last_modified":"2014-02-26T21:15:01.082Z","name":{"first":"Davin","middle":"V","last":"Runte"},"school":"530e595026403103360ff9fe","sis_id":"12","teacher_number":"199518","title":"High School Mathematics Teacher","id":"530e5955d50c310f36112bcd"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcd"},{"data":{"created":"2014-02-26T21:15:01.083Z","credentials":{"district_username":"mertz.jana","district_password":"Fairohb9"},"district":"4fd43cc56d11340000000005","email":"jana_mertz@example.org","last_modified":"2014-02-26T21:15:01.088Z","name":{"first":"Jana","middle":"P","last":"Mertz"},"school":"530e595026403103360ff9fe","sis_id":"13","teacher_number":"211618","title":"Grade 4 Common Branch Teacher","id":"530e5955d50c310f36112bce"},"uri":"/v1.1/teachers/530e5955d50c310f36112bce"},{"data":{"created":"2014-02-26T21:15:01.090Z","credentials":{"district_username":"eloisa.ruecker","district_password":"Wood9Leach0"},"district":"4fd43cc56d11340000000005","email":"ruecker_eloisa@example.org","last_modified":"2014-02-26T21:15:01.092Z","name":{"first":"Eloisa","middle":"H","last":"Ruecker"},"school":"530e595026403103360ff9fe","sis_id":"14","teacher_number":"773264","title":"Grade 4 Common Branch Teacher","id":"530e5955d50c310f36112bcf"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcf"},{"data":{"created":"2014-02-26T21:15:01.105Z","credentials":{"district_username":"oberbrunner_emma","district_password":"je3aeh1shi6Oof"},"district":"4fd43cc56d11340000000005","email":"emma_oberbrunner@example.net","last_modified":"2014-02-26T21:15:01.108Z","name":{"first":"Emma","middle":"E","last":"Oberbrunner"},"school":"530e595026403103360ff9fe","sis_id":"15","teacher_number":"989838","title":"Grade 4 Common Branch Teacher","id":"530e5955d50c310f36112bd0"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd0"},{"data":{"created":"2014-02-26T21:15:01.111Z","credentials":{"district_username":"regan_wyman","district_password":"chaeH4zee"},"district":"4fd43cc56d11340000000005","email":"regan_wyman@example.net","last_modified":"2014-02-26T21:15:01.114Z","name":{"first":"Regan","middle":"A","last":"Wyman"},"school":"530e595026403103360ff9fe","sis_id":"16","teacher_number":"411848","title":"High School Science Teacher","id":"530e5955d50c310f36112bd1"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd1"},{"data":{"created":"2014-02-26T21:15:01.115Z","credentials":{"district_username":"bartoletti.nya","district_password":"ra3Oogaanei"},"district":"4fd43cc56d11340000000005","email":"bartoletti_nya@example.org","last_modified":"2014-02-26T21:15:01.117Z","name":{"first":"Nya","middle":"M","last":"Bartoletti"},"school":"530e595026403103360ff9fe","sis_id":"17","teacher_number":"738433","title":"Grade 5 Common Branch Teacher","id":"530e5955d50c310f36112bd2"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd2"},{"data":{"created":"2014-02-26T21:15:01.121Z","credentials":{"district_username":"marley_walsh","district_password":"aex5iSee"},"district":"4fd43cc56d11340000000005","email":"walsh_marley@example.org","last_modified":"2014-02-26T21:15:01.123Z","name":{"first":"Marley","middle":"K","last":"Walsh"},"school":"530e595026403103360ff9fe","sis_id":"18","teacher_number":"399452","title":"Grade 5 Common Branch Teacher","id":"530e5955d50c310f36112bd3"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd3"},{"data":{"created":"2014-02-26T21:15:01.138Z","credentials":{"district_username":"daniela.raynor","district_password":"quahse5Ch"},"district":"4fd43cc56d11340000000005","email":"raynor_daniela@example.net","last_modified":"2014-02-26T21:15:01.144Z","name":{"first":"Daniela","middle":"F","last":"Raynor"},"school":"530e595026403103360ff9fe","sis_id":"19","teacher_number":"493218","title":"Grade 5 Common Branch Teacher","id":"530e5955d50c310f36112bd4"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd4"}],"paging":{"current":1,"total":5,"count":89},"links":[{"rel":"self","uri":"/v1.1/teachers?limit=20"},{"rel":"next","uri":"/v1.1/teachers?limit=20&starting_after=530e5955d50c310f36112bd4"}]}' http_version: recorded_at: Sat, 13 Sep 2014 00:05:05 GMT - request: method: get uri: https://api.clever.com/v1.1/teachers?where=%7B%22_id%22:%7B%22$in%22:%5B%22509fbd7ec474fab64a8e9d53%22,%2250ba1c0c4eda5d94372227eb%22,%2250c20477987eda0d3d02d30e%22,%2250c4a79299ad702e0228e956%22,%2250c89ff19ed67a1d3f1f50c9%22,%22530e5955d50c310f36112bcb%22,%22530e5955d50c310f36112bcd%22,%22530e5955d50c310f36112bcf%22,%22530e5955d50c310f36112bd1%22,%22530e5955d50c310f36112bd3%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, 13 Sep 2014 00:05:05 GMT Etag: - ! '"-500104801"' Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '5406' Connection: - keep-alive body: encoding: US-ASCII string: ! '{"data":[{"data":{"created":"2012-11-11T15:00:14.036Z","credentials":{"district_password":"Acoev0oow4","district_username":"spinka_leo"},"district":"4fd43cc56d11340000000005","email":"spinka.leo@example.net","last_modified":"2014-02-26T21:15:01.038Z","name":{"first":"Leo","last":"Spinka","middle":"R"},"school":"530e595026403103360ff9fe","sis_id":"11","teacher_number":"539224","title":"Grade 3 Common Branch Teacher","id":"509fbd7ec474fab64a8e9d53"},"uri":"/v1.1/teachers/509fbd7ec474fab64a8e9d53"},{"data":{"created":"2012-12-01T15:02:36.961Z","credentials":{"district_password":"ru3o8rusbf","district_username":"steven.ogden"},"district":"4fd43cc56d11340000000005","email":"ogden_steven@example.net","last_modified":"2014-02-26T21:15:01.485Z","name":{"first":"Steven","last":"Ogden","middle":"Q"},"school":"530e595026403103360ff9fd","sis_id":"81","teacher_number":"474958","title":"High School Science Teacher","id":"50ba1c0c4eda5d94372227eb"},"uri":"/v1.1/teachers/50ba1c0c4eda5d94372227eb"},{"data":{"created":"2012-12-07T15:00:07.732Z","credentials":{"district_password":"ae9IShie0im","district_username":"manuel_purdy"},"district":"4fd43cc56d11340000000005","email":"manuel.purdy@example.com","last_modified":"2014-02-26T21:15:01.296Z","name":{"first":"Manuel","last":"Purdy","middle":"S"},"school":"530e595026403103360ff9ff","sis_id":"39","teacher_number":"731037","title":"Grade 8 Mathematics Teacher","id":"50c20477987eda0d3d02d30e"},"uri":"/v1.1/teachers/50c20477987eda0d3d02d30e"},{"data":{"created":"2012-12-09T15:00:34.246Z","credentials":{"district_password":"ooDungei8ah","district_username":"doyle_rupert"},"district":"4fd43cc56d11340000000005","email":"doyle.rupert@example.net","last_modified":"2014-02-26T21:15:01.369Z","name":{"first":"Rupert","last":"Doyle","middle":"V"},"school":"530e595026403103360ff9fd","sis_id":"50","teacher_number":"473664","title":"Grade 12 English Teacher","id":"50c4a79299ad702e0228e956"},"uri":"/v1.1/teachers/50c4a79299ad702e0228e956"},{"data":{"created":"2012-12-12T15:17:05.364Z","credentials":{"district_password":"na9ahCei","district_username":"kutch_larry"},"district":"4fd43cc56d11340000000005","email":"larry_kutch@example.net","last_modified":"2014-02-26T21:15:01.152Z","name":{"first":"Larry","last":"Kutch","middle":"C"},"school":"530e595026403103360ff9fe","sis_id":"23","teacher_number":"233800","title":"Grade 2 Special Education Teacher","id":"50c89ff19ed67a1d3f1f50c9"},"uri":"/v1.1/teachers/50c89ff19ed67a1d3f1f50c9"},{"data":{"created":"2014-02-26T21:15:01.053Z","credentials":{"district_username":"haley.hahn","district_password":"xooBee4um"},"district":"4fd43cc56d11340000000005","email":"hahn_haley@example.com","last_modified":"2014-02-26T21:15:01.057Z","name":{"first":"Haley","middle":"D","last":"Hahn"},"school":"530e595026403103360ff9fe","sis_id":"1","teacher_number":"341754","title":"Grade 1 Common Branch Teacher","id":"530e5955d50c310f36112bcb"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcb"},{"data":{"created":"2014-02-26T21:15:01.078Z","credentials":{"district_username":"davin_runte","district_password":"Ap3aQuoh"},"district":"4fd43cc56d11340000000005","email":"runte_davin@example.org","last_modified":"2014-02-26T21:15:01.082Z","name":{"first":"Davin","middle":"V","last":"Runte"},"school":"530e595026403103360ff9fe","sis_id":"12","teacher_number":"199518","title":"High School Mathematics Teacher","id":"530e5955d50c310f36112bcd"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcd"},{"data":{"created":"2014-02-26T21:15:01.090Z","credentials":{"district_username":"eloisa.ruecker","district_password":"Wood9Leach0"},"district":"4fd43cc56d11340000000005","email":"ruecker_eloisa@example.org","last_modified":"2014-02-26T21:15:01.092Z","name":{"first":"Eloisa","middle":"H","last":"Ruecker"},"school":"530e595026403103360ff9fe","sis_id":"14","teacher_number":"773264","title":"Grade 4 Common Branch Teacher","id":"530e5955d50c310f36112bcf"},"uri":"/v1.1/teachers/530e5955d50c310f36112bcf"},{"data":{"created":"2014-02-26T21:15:01.111Z","credentials":{"district_username":"regan_wyman","district_password":"chaeH4zee"},"district":"4fd43cc56d11340000000005","email":"regan_wyman@example.net","last_modified":"2014-02-26T21:15:01.114Z","name":{"first":"Regan","middle":"A","last":"Wyman"},"school":"530e595026403103360ff9fe","sis_id":"16","teacher_number":"411848","title":"High School Science Teacher","id":"530e5955d50c310f36112bd1"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd1"},{"data":{"created":"2014-02-26T21:15:01.121Z","credentials":{"district_username":"marley_walsh","district_password":"aex5iSee"},"district":"4fd43cc56d11340000000005","email":"walsh_marley@example.org","last_modified":"2014-02-26T21:15:01.123Z","name":{"first":"Marley","middle":"K","last":"Walsh"},"school":"530e595026403103360ff9fe","sis_id":"18","teacher_number":"399452","title":"Grade 5 Common Branch Teacher","id":"530e5955d50c310f36112bd3"},"uri":"/v1.1/teachers/530e5955d50c310f36112bd3"}],"paging":{"current":1,"total":1,"count":10},"links":[{"rel":"self","uri":"/v1.1/teachers?where=%7B%22_id%22:%7B%22$in%22:[%22509fbd7ec474fab64a8e9d53%22,%2250ba1c0c4eda5d94372227eb%22,%2250c20477987eda0d3d02d30e%22,%2250c4a79299ad702e0228e956%22,%2250c89ff19ed67a1d3f1f50c9%22,%22530e5955d50c310f36112bcb%22,%22530e5955d50c310f36112bcd%22,%22530e5955d50c310f36112bcf%22,%22530e5955d50c310f36112bd1%22,%22530e5955d50c310f36112bd3%22]%7D%7D"}]}' http_version: recorded_at: Sat, 13 Sep 2014 00:05:05 GMT recorded_with: VCR 2.9.3