--- http_interactions: - request: method: get uri: https://DEMO_KEY:@api.clever.com/v1.1/events body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate 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: - Tue, 09 Sep 2014 21:49:01 GMT Etag: - '"-1223191133"' Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '15673' Connection: - keep-alive body: encoding: UTF-8 string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black or African American","school":"530e595026403103360ff9fd","sis_id":"617499409","state_id":"979518299","student_number":"617499409","credentials":{"district_username":"williamh09","district_password":"roosh5Oo"},"location":{"zip":"11428"},"name":{"first":"William","middle":"M","last":"Hodkiewicz"},"last_modified":"2014-06-04T14:10:43.010Z","created":"2014-02-26T21:15:17.612Z","id":"530e5965049e75a9262d038f"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.402Z","id":"53e90ce782399c964b0009e3"},"uri":"/v1.1/events/53e90ce782399c964b0009e3"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/17/1998","ell_status":"N","email":"corina.w@example.com","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"American Indian","school":"530e595026403103360ff9fd","sis_id":"670807511","state_id":"814185233","student_number":"670807511","credentials":{"district_username":"corinaw11","district_password":"Eiph5aeX"},"location":{"zip":"10004"},"name":{"first":"Corina","middle":"L","last":"Watsica"},"last_modified":"2014-06-04T14:10:43.290Z","created":"2014-02-26T21:15:18.067Z","id":"530e5966049e75a9262d03fc"},"previous_attributes":{"dob":"5/7/1998"}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e4"},"uri":"/v1.1/events/53e90ce782399c964b0009e4"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/13/1998","ell_status":"Y","email":"kim_j@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"N","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"841688312","state_id":"484726796","student_number":"841688312","credentials":{"district_username":"kimj12","district_password":"phee7kah3R"},"location":{"zip":"11377"},"name":{"first":"Kimberly","last":"Jacobi","middle":"J"},"last_modified":"2014-06-04T14:10:44.004Z","created":"2014-02-26T21:15:19.645Z","id":"530e5967049e75a9262d057e"},"previous_attributes":{"name":{"first":"Kim","last":"Jacobi","middle":"J"}}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e5"},"uri":"/v1.1/events/53e90ce782399c964b0009e5"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"last_modified":"2014-02-26T21:15:37.930Z","created":"2014-02-26T21:15:37.927Z","id":"530e5979049e75a9262d0af2"},"previous_attributes":{"students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5966049e75a9262d04ba","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"]}},"created":"2014-08-11T18:35:19.418Z","id":"53e90ce782399c964b0009e6"},"uri":"/v1.1/events/53e90ce782399c964b0009e6"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group Guidance - 901 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"596","subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262d001a","530e5961049e75a9262d0034","530e5962049e75a9262d0110","530e5963049e75a9262d01db","530e5963049e75a9262d022f","530e5964049e75a9262d0284","530e5964049e75a9262d0309","530e5965049e75a9262d038e","530e5965049e75a9262d038f","530e5966049e75a9262d046c","530e5966049e75a9262d0471","530e5966049e75a9262d04b4","530e5967049e75a9262d057e","530e5968049e75a9262d0614","530e5968049e75a9262d061c","530e5968049e75a9262d0640"],"last_modified":"2014-02-26T21:15:37.996Z","created":"2014-02-26T21:15:37.994Z","id":"530e5979049e75a9262d0b01"},"previous_attributes":{"students":["530e5961049e75a9262d001a","530e5961049e75a9262d0034","530e5962049e75a9262d0110","530e5963049e75a9262d01db","530e5963049e75a9262d022f","530e5964049e75a9262d0284","530e5964049e75a9262d0309","530e5965049e75a9262d038e","530e5965049e75a9262d038f","530e5966049e75a9262d046c","530e5966049e75a9262d0471","530e5967049e75a9262d057e","530e5968049e75a9262d0614","530e5968049e75a9262d061c","530e5968049e75a9262d063a","530e5968049e75a9262d0640"]}},"created":"2014-08-11T18:35:19.420Z","id":"53e90ce782399c964b0009e7"},"uri":"/v1.1/events/53e90ce782399c964b0009e7"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade 3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade 3 Math, Class 301 - 301 - S. Block","period":"5","school":"530e595026403103360ff9fe","sis_id":"771","subject":"math","teacher":"530e5955d50c310f36112c15","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"],"last_modified":"2014-07-07T15:46:35.850Z","created":"2014-02-26T21:15:38.738Z","id":"530e597a049e75a9262d0baf"},"previous_attributes":{"students":["530e5960049e75a9262cff56","530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"]}},"created":"2014-08-28T18:01:13.872Z","id":"53ff6e6b322eced002000088"},"uri":"/v1.1/events/53ff6e6b322eced002000088"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten Music, Class 001 - 001 - H. Willms","period":"5","school":"530e595026403103360ff9fe","sis_id":"804","subject":"arts and music","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:38.877Z","created":"2014-02-26T21:15:38.875Z","id":"530e597a049e75a9262d0bd0"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.064Z","id":"53ff6e6b322eced002000089"},"uri":"/v1.1/events/53ff6e6b322eced002000089"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten Music, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten Music, Class 002 - 002 - S. Schoen","period":"5","school":"530e595026403103360ff9fe","sis_id":"805","subject":"arts and music","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"last_modified":"2014-02-26T21:15:38.882Z","created":"2014-02-26T21:15:38.879Z","id":"530e597a049e75a9262d0bd1"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.067Z","id":"53ff6e6b322eced00200008a"},"uri":"/v1.1/events/53ff6e6b322eced00200008a"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten Music, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten Music, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"806","subject":"arts and music","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:38.886Z","created":"2014-02-26T21:15:38.883Z","id":"530e597a049e75a9262d0bd2"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.070Z","id":"53ff6e6b322eced00200008b"},"uri":"/v1.1/events/53ff6e6b322eced00200008b"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten Science, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten Science, Class 001 - 001 - H. Willms","period":"2","school":"530e595026403103360ff9fe","sis_id":"864","subject":"science","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:39.166Z","created":"2014-02-26T21:15:39.165Z","id":"530e597b049e75a9262d0c0a"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.073Z","id":"53ff6e6b322eced00200008c"},"uri":"/v1.1/events/53ff6e6b322eced00200008c"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten Science, Class 002 - 002 - S. Schoen","period":"3","school":"530e595026403103360ff9fe","sis_id":"865","subject":"science","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"last_modified":"2014-02-26T21:15:39.183Z","created":"2014-02-26T21:15:39.181Z","id":"530e597b049e75a9262d0c0e"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.076Z","id":"53ff6e6b322eced00200008d"},"uri":"/v1.1/events/53ff6e6b322eced00200008d"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten Science, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"866","subject":"science","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:39.195Z","created":"2014-02-26T21:15:39.193Z","id":"530e597b049e75a9262d0c12"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.088Z","id":"53ff6e6b322eced00200008e"},"uri":"/v1.1/events/53ff6e6b322eced00200008e"}],"paging":{"current":1,"total":1,"count":13},"links":[{"rel":"self","uri":"/v1.1/events"}]}' http_version: recorded_at: Tue, 09 Sep 2014 21:49:01 GMT - request: method: get uri: https://DEMO_KEY:@api.clever.com/v1.1/events?count=true body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate 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: - Tue, 09 Sep 2014 21:49:01 GMT Server: - nginx/1.4.7 X-Powered-By: - Express Content-Length: - '69' Connection: - keep-alive body: encoding: UTF-8 string: '{"count":13,"links":[{"rel":"self","uri":"/v1.1/events?count=true"}]}' http_version: recorded_at: Tue, 09 Sep 2014 21:49:01 GMT recorded_with: VCR 2.4.0