clever-ruby 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGELOG.md +5 -0
- data/lib/clever-ruby.rb +3 -0
- data/lib/clever-ruby/api_operations/nested_list.rb +46 -0
- data/lib/clever-ruby/api_resource.rb +67 -27
- data/lib/clever-ruby/clever_object.rb +8 -2
- data/lib/clever-ruby/district.rb +25 -11
- data/lib/clever-ruby/event.rb +1 -1
- data/lib/clever-ruby/nested_resource.rb +40 -0
- data/lib/clever-ruby/school.rb +1 -1
- data/lib/clever-ruby/section.rb +1 -1
- data/lib/clever-ruby/student.rb +13 -1
- data/lib/clever-ruby/teacher.rb +1 -1
- data/lib/clever-ruby/util.rb +16 -17
- data/lib/clever-ruby/version.rb +1 -1
- data/test/data/vcr_cassettes/district_count.yml +6 -6
- data/test/data/vcr_cassettes/{districts_events.yml → district_events.yml} +29 -164
- data/test/data/vcr_cassettes/district_find_by_page.yml +12 -12
- data/test/data/vcr_cassettes/district_find_multiple.yml +12 -12
- data/test/data/vcr_cassettes/district_find_one.yml +12 -12
- data/test/data/vcr_cassettes/{districts_schools.yml → district_schools.yml} +25 -148
- data/test/data/vcr_cassettes/district_sections.yml +2289 -0
- data/test/data/vcr_cassettes/district_students.yml +2339 -0
- data/test/data/vcr_cassettes/{districts_teachers.yml → district_teachers.yml} +25 -148
- data/test/data/vcr_cassettes/districts.yml +12 -12
- data/test/data/vcr_cassettes/districts_event_pages.yml +76 -469
- data/test/data/vcr_cassettes/districts_school_pages.yml +31 -154
- data/test/data/vcr_cassettes/districts_section_pages.yml +284 -407
- data/test/data/vcr_cassettes/districts_student_pages.yml +165 -288
- data/test/data/vcr_cassettes/districts_teacher_pages.yml +81 -204
- data/test/data/vcr_cassettes/error_handling.yml +17 -58
- data/test/data/vcr_cassettes/event_count.yml +7 -7
- data/test/data/vcr_cassettes/event_find_by_page.yml +16 -22
- data/test/data/vcr_cassettes/event_find_multiple.yml +19 -28
- data/test/data/vcr_cassettes/event_find_one.yml +16 -22
- data/test/data/vcr_cassettes/events.yml +16 -22
- data/test/data/vcr_cassettes/school_count.yml +6 -6
- data/test/data/vcr_cassettes/school_district.yml +140 -0
- data/test/data/vcr_cassettes/school_events.yml +181 -0
- data/test/data/vcr_cassettes/school_find_by_page.yml +13 -13
- data/test/data/vcr_cassettes/school_find_multiple.yml +14 -14
- data/test/data/vcr_cassettes/school_find_one.yml +13 -13
- data/test/data/vcr_cassettes/school_sections.yml +1119 -0
- data/test/data/vcr_cassettes/school_students.yml +1033 -0
- data/test/data/vcr_cassettes/school_teachers.yml +257 -0
- data/test/data/vcr_cassettes/schools.yml +13 -13
- data/test/data/vcr_cassettes/schools_optional_attributes.yml +7 -7
- data/test/data/vcr_cassettes/section_count.yml +6 -6
- data/test/data/vcr_cassettes/section_district.yml +393 -0
- data/test/data/vcr_cassettes/section_events.yml +434 -0
- data/test/data/vcr_cassettes/section_find_by_page.yml +34 -34
- data/test/data/vcr_cassettes/section_find_multiple.yml +14 -14
- data/test/data/vcr_cassettes/section_find_one.yml +14 -14
- data/test/data/vcr_cassettes/section_school.yml +396 -0
- data/test/data/vcr_cassettes/section_students.yml +456 -0
- data/test/data/vcr_cassettes/section_teacher.yml +394 -0
- data/test/data/vcr_cassettes/sections.yml +34 -34
- data/test/data/vcr_cassettes/student_count.yml +6 -6
- data/test/data/vcr_cassettes/student_district.yml +202 -0
- data/test/data/vcr_cassettes/student_events.yml +243 -0
- data/test/data/vcr_cassettes/student_find_by_page.yml +83 -83
- data/test/data/vcr_cassettes/student_find_multiple.yml +14 -14
- data/test/data/vcr_cassettes/student_find_one.yml +14 -14
- data/test/data/vcr_cassettes/student_school.yml +205 -0
- data/test/data/vcr_cassettes/student_sections.yml +269 -0
- data/test/data/vcr_cassettes/student_teacher.yml +161 -0
- data/test/data/vcr_cassettes/student_teachers.yml +245 -0
- data/test/data/vcr_cassettes/students.yml +83 -83
- data/test/data/vcr_cassettes/teacher_count.yml +6 -6
- data/test/data/vcr_cassettes/teacher_district.yml +218 -0
- data/test/data/vcr_cassettes/teacher_events.yml +259 -0
- data/test/data/vcr_cassettes/teacher_find_by_page.yml +13 -13
- data/test/data/vcr_cassettes/teacher_find_multiple.yml +14 -14
- data/test/data/vcr_cassettes/teacher_find_one.yml +13 -13
- data/test/data/vcr_cassettes/teacher_school.yml +221 -0
- data/test/data/vcr_cassettes/teacher_sections.yml +291 -0
- data/test/data/vcr_cassettes/teacher_students.yml +293 -0
- data/test/data/vcr_cassettes/teachers.yml +13 -13
- data/test/integration/api_operations/list_test.rb +1 -1
- data/test/integration/district_test.rb +17 -49
- data/test/integration/error_handling_test.rb +1 -1
- data/test/integration/nested_resource_test.rb +27 -0
- data/test/unit/api_resource_test.rb +32 -0
- data/test/unit/optional_attributes_test.rb +7 -13
- metadata +60 -14
- data/test/data/vcr_cassettes/districts_sections.yml +0 -818
- data/test/data/vcr_cassettes/districts_students.yml +0 -436
- data/test/data/vcr_cassettes/districts_students_filtered.yml +0 -170
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
-
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
@@ -23,11 +23,11 @@ http_interactions:
|
|
23
23
|
Access-Control-Allow-Methods:
|
24
24
|
- GET,PATCH,POST,DELETE
|
25
25
|
Access-Control-Allow-Origin:
|
26
|
-
-
|
26
|
+
- ! '*'
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 12 Sep 2014 20:47:19 GMT
|
31
31
|
Server:
|
32
32
|
- nginx/1.4.7
|
33
33
|
X-Powered-By:
|
@@ -36,52 +36,11 @@ http_interactions:
|
|
36
36
|
- '217'
|
37
37
|
Connection:
|
38
38
|
- keep-alive
|
39
|
-
body:
|
40
|
-
encoding: UTF-8
|
41
|
-
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"}]}'
|
42
|
-
http_version:
|
43
|
-
recorded_at: Tue, 09 Sep 2014 21:48:47 GMT
|
44
|
-
- request:
|
45
|
-
method: get
|
46
|
-
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
|
47
39
|
body:
|
48
40
|
encoding: US-ASCII
|
49
|
-
string: ''
|
50
|
-
headers:
|
51
|
-
Accept:
|
52
|
-
- "*/*; q=0.5, application/xml"
|
53
|
-
Accept-Encoding:
|
54
|
-
- gzip, deflate
|
55
|
-
User-Agent:
|
56
|
-
- Ruby
|
57
|
-
response:
|
58
|
-
status:
|
59
|
-
code: 200
|
60
|
-
message: OK
|
61
|
-
headers:
|
62
|
-
Access-Control-Allow-Headers:
|
63
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
64
|
-
Access-Control-Allow-Methods:
|
65
|
-
- GET,PATCH,POST,DELETE
|
66
|
-
Access-Control-Allow-Origin:
|
67
|
-
- "*"
|
68
|
-
Content-Type:
|
69
|
-
- application/json; charset=utf-8
|
70
|
-
Date:
|
71
|
-
- Tue, 09 Sep 2014 21:48:48 GMT
|
72
|
-
Server:
|
73
|
-
- nginx/1.4.7
|
74
|
-
X-Powered-By:
|
75
|
-
- Express
|
76
|
-
Content-Length:
|
77
|
-
- '518'
|
78
|
-
Connection:
|
79
|
-
- keep-alive
|
80
|
-
body:
|
81
|
-
encoding: UTF-8
|
82
|
-
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"}]}'
|
41
|
+
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"}]}'
|
83
42
|
http_version:
|
84
|
-
recorded_at:
|
43
|
+
recorded_at: Fri, 12 Sep 2014 20:47:19 GMT
|
85
44
|
- request:
|
86
45
|
method: get
|
87
46
|
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
|
@@ -90,7 +49,7 @@ http_interactions:
|
|
90
49
|
string: ''
|
91
50
|
headers:
|
92
51
|
Accept:
|
93
|
-
-
|
52
|
+
- ! '*/*; q=0.5, application/xml'
|
94
53
|
Accept-Encoding:
|
95
54
|
- gzip, deflate
|
96
55
|
User-Agent:
|
@@ -105,11 +64,11 @@ http_interactions:
|
|
105
64
|
Access-Control-Allow-Methods:
|
106
65
|
- GET,PATCH,POST,DELETE
|
107
66
|
Access-Control-Allow-Origin:
|
108
|
-
-
|
67
|
+
- ! '*'
|
109
68
|
Content-Type:
|
110
69
|
- application/json; charset=utf-8
|
111
70
|
Date:
|
112
|
-
-
|
71
|
+
- Fri, 12 Sep 2014 20:47:19 GMT
|
113
72
|
Server:
|
114
73
|
- nginx/1.4.7
|
115
74
|
X-Powered-By:
|
@@ -119,10 +78,10 @@ http_interactions:
|
|
119
78
|
Connection:
|
120
79
|
- keep-alive
|
121
80
|
body:
|
122
|
-
encoding:
|
123
|
-
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"}]}'
|
81
|
+
encoding: US-ASCII
|
82
|
+
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"}]}'
|
124
83
|
http_version:
|
125
|
-
recorded_at:
|
84
|
+
recorded_at: Fri, 12 Sep 2014 20:47:19 GMT
|
126
85
|
- request:
|
127
86
|
method: get
|
128
87
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?created_since=2013-02-15T%202:30:42%200000
|
@@ -131,7 +90,7 @@ http_interactions:
|
|
131
90
|
string: ''
|
132
91
|
headers:
|
133
92
|
Accept:
|
134
|
-
-
|
93
|
+
- ! '*/*; q=0.5, application/xml'
|
135
94
|
Accept-Encoding:
|
136
95
|
- gzip, deflate
|
137
96
|
User-Agent:
|
@@ -146,11 +105,11 @@ http_interactions:
|
|
146
105
|
Access-Control-Allow-Methods:
|
147
106
|
- GET,PATCH,POST,DELETE
|
148
107
|
Access-Control-Allow-Origin:
|
149
|
-
-
|
108
|
+
- ! '*'
|
150
109
|
Content-Type:
|
151
110
|
- application/json; charset=utf-8
|
152
111
|
Date:
|
153
|
-
-
|
112
|
+
- Fri, 12 Sep 2014 20:47:19 GMT
|
154
113
|
Server:
|
155
114
|
- nginx/1.4.7
|
156
115
|
X-Powered-By:
|
@@ -160,9 +119,9 @@ http_interactions:
|
|
160
119
|
Connection:
|
161
120
|
- keep-alive
|
162
121
|
body:
|
163
|
-
encoding:
|
164
|
-
string: '{"error":"Could not parse created_since ''2013-02-15T 2:30:42 0000''.
|
122
|
+
encoding: US-ASCII
|
123
|
+
string: ! '{"error":"Could not parse created_since ''2013-02-15T 2:30:42 0000''.
|
165
124
|
Please ensure it is either a valid ObjectID or a valid W3C datetime: http://www.w3.org/TR/NOTE-datetime."}'
|
166
125
|
http_version:
|
167
|
-
recorded_at:
|
126
|
+
recorded_at: Fri, 12 Sep 2014 20:47:19 GMT
|
168
127
|
recorded_with: VCR 2.4.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
-
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
@@ -23,22 +23,22 @@ http_interactions:
|
|
23
23
|
Access-Control-Allow-Methods:
|
24
24
|
- GET,PATCH,POST,DELETE
|
25
25
|
Access-Control-Allow-Origin:
|
26
|
-
-
|
26
|
+
- ! '*'
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 12 Sep 2014 20:48:28 GMT
|
31
31
|
Server:
|
32
32
|
- nginx/1.4.7
|
33
33
|
X-Powered-By:
|
34
34
|
- Express
|
35
35
|
Content-Length:
|
36
|
-
- '
|
36
|
+
- '68'
|
37
37
|
Connection:
|
38
38
|
- keep-alive
|
39
39
|
body:
|
40
|
-
encoding:
|
41
|
-
string: '{"count":
|
40
|
+
encoding: US-ASCII
|
41
|
+
string: ! '{"count":7,"links":[{"rel":"self","uri":"/v1.1/events?count=true"}]}'
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Fri, 12 Sep 2014 20:48:28 GMT
|
44
44
|
recorded_with: VCR 2.4.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
-
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
@@ -23,30 +23,24 @@ http_interactions:
|
|
23
23
|
Access-Control-Allow-Methods:
|
24
24
|
- GET,PATCH,POST,DELETE
|
25
25
|
Access-Control-Allow-Origin:
|
26
|
-
-
|
26
|
+
- ! '*'
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 12 Sep 2014 20:48:35 GMT
|
31
31
|
Etag:
|
32
|
-
- '"-
|
32
|
+
- ! '"-214069741"'
|
33
33
|
Server:
|
34
34
|
- nginx/1.4.7
|
35
35
|
X-Powered-By:
|
36
36
|
- Express
|
37
37
|
Content-Length:
|
38
|
-
- '
|
38
|
+
- '9308'
|
39
39
|
Connection:
|
40
40
|
- keep-alive
|
41
41
|
body:
|
42
|
-
encoding:
|
43
|
-
string: '{"data":[{"data":{"type":"
|
44
|
-
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
|
45
|
-
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
|
46
|
-
Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
|
47
|
-
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
|
48
|
-
Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group
|
49
|
-
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
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
50
44
|
3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
|
51
45
|
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
|
52
46
|
Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
@@ -63,9 +57,9 @@ http_interactions:
|
|
63
57
|
Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
64
58
|
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
|
65
59
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
66
|
-
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":
|
60
|
+
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":7},"links":[{"rel":"self","uri":"/v1.1/events"}]}'
|
67
61
|
http_version:
|
68
|
-
recorded_at:
|
62
|
+
recorded_at: Fri, 12 Sep 2014 20:48:35 GMT
|
69
63
|
- request:
|
70
64
|
method: get
|
71
65
|
uri: https://DEMO_KEY:@api.clever.com/v1.1/events?count=true
|
@@ -74,7 +68,7 @@ http_interactions:
|
|
74
68
|
string: ''
|
75
69
|
headers:
|
76
70
|
Accept:
|
77
|
-
-
|
71
|
+
- ! '*/*; q=0.5, application/xml'
|
78
72
|
Accept-Encoding:
|
79
73
|
- gzip, deflate
|
80
74
|
User-Agent:
|
@@ -89,22 +83,22 @@ http_interactions:
|
|
89
83
|
Access-Control-Allow-Methods:
|
90
84
|
- GET,PATCH,POST,DELETE
|
91
85
|
Access-Control-Allow-Origin:
|
92
|
-
-
|
86
|
+
- ! '*'
|
93
87
|
Content-Type:
|
94
88
|
- application/json; charset=utf-8
|
95
89
|
Date:
|
96
|
-
-
|
90
|
+
- Fri, 12 Sep 2014 20:48:35 GMT
|
97
91
|
Server:
|
98
92
|
- nginx/1.4.7
|
99
93
|
X-Powered-By:
|
100
94
|
- Express
|
101
95
|
Content-Length:
|
102
|
-
- '
|
96
|
+
- '68'
|
103
97
|
Connection:
|
104
98
|
- keep-alive
|
105
99
|
body:
|
106
|
-
encoding:
|
107
|
-
string: '{"count":
|
100
|
+
encoding: US-ASCII
|
101
|
+
string: ! '{"count":7,"links":[{"rel":"self","uri":"/v1.1/events?count=true"}]}'
|
108
102
|
http_version:
|
109
|
-
recorded_at:
|
103
|
+
recorded_at: Fri, 12 Sep 2014 20:48:35 GMT
|
110
104
|
recorded_with: VCR 2.4.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
-
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
@@ -23,30 +23,24 @@ http_interactions:
|
|
23
23
|
Access-Control-Allow-Methods:
|
24
24
|
- GET,PATCH,POST,DELETE
|
25
25
|
Access-Control-Allow-Origin:
|
26
|
-
-
|
26
|
+
- ! '*'
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 12 Sep 2014 20:48:28 GMT
|
31
31
|
Etag:
|
32
|
-
- '"
|
32
|
+
- ! '"981617823"'
|
33
33
|
Server:
|
34
34
|
- nginx/1.4.7
|
35
35
|
X-Powered-By:
|
36
36
|
- Express
|
37
37
|
Content-Length:
|
38
|
-
- '
|
38
|
+
- '9317'
|
39
39
|
Connection:
|
40
40
|
- keep-alive
|
41
41
|
body:
|
42
|
-
encoding:
|
43
|
-
string: '{"data":[{"data":{"type":"
|
44
|
-
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
|
45
|
-
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
|
46
|
-
Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
|
47
|
-
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
|
48
|
-
Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group
|
49
|
-
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
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
50
44
|
3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
|
51
45
|
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
|
52
46
|
Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
@@ -63,18 +57,18 @@ http_interactions:
|
|
63
57
|
Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
64
58
|
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
|
65
59
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
66
|
-
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":
|
60
|
+
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":7},"links":[{"rel":"self","uri":"/v1.1/events?limit=20"}]}'
|
67
61
|
http_version:
|
68
|
-
recorded_at:
|
62
|
+
recorded_at: Fri, 12 Sep 2014 20:48:28 GMT
|
69
63
|
- request:
|
70
64
|
method: get
|
71
|
-
uri: https://DEMO_KEY:@api.clever.com/v1.1/events?where=%7B%22_id%22:%7B%22$in%22:%5B%
|
65
|
+
uri: https://DEMO_KEY:@api.clever.com/v1.1/events?where=%7B%22_id%22:%7B%22$in%22:%5B%2253ff6e6b322eced002000088%22,%2253ff6e6b322eced00200008a%22,%2253ff6e6b322eced00200008c%22,%2253ff6e6b322eced00200008e%22%5D%7D%7D
|
72
66
|
body:
|
73
67
|
encoding: US-ASCII
|
74
68
|
string: ''
|
75
69
|
headers:
|
76
70
|
Accept:
|
77
|
-
-
|
71
|
+
- ! '*/*; q=0.5, application/xml'
|
78
72
|
Accept-Encoding:
|
79
73
|
- gzip, deflate
|
80
74
|
User-Agent:
|
@@ -89,27 +83,24 @@ http_interactions:
|
|
89
83
|
Access-Control-Allow-Methods:
|
90
84
|
- GET,PATCH,POST,DELETE
|
91
85
|
Access-Control-Allow-Origin:
|
92
|
-
-
|
86
|
+
- ! '*'
|
93
87
|
Content-Type:
|
94
88
|
- application/json; charset=utf-8
|
95
89
|
Date:
|
96
|
-
-
|
90
|
+
- Fri, 12 Sep 2014 20:48:28 GMT
|
97
91
|
Etag:
|
98
|
-
- '"
|
92
|
+
- ! '"2078605315"'
|
99
93
|
Server:
|
100
94
|
- nginx/1.4.7
|
101
95
|
X-Powered-By:
|
102
96
|
- Express
|
103
97
|
Content-Length:
|
104
|
-
- '
|
98
|
+
- '5654'
|
105
99
|
Connection:
|
106
100
|
- keep-alive
|
107
101
|
body:
|
108
|
-
encoding:
|
109
|
-
string: '{"data":[{"data":{"type":"
|
110
|
-
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":"sections.updated","data":{"object":{"course_name":"Group
|
111
|
-
Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
|
112
|
-
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":"Grade
|
102
|
+
encoding: US-ASCII
|
103
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
113
104
|
3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
|
114
105
|
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
|
115
106
|
Music, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
@@ -118,7 +109,7 @@ http_interactions:
|
|
118
109
|
Science, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
119
110
|
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
|
120
111
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
121
|
-
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":
|
112
|
+
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":4},"links":[{"rel":"self","uri":"/v1.1/events?where=%7B%22_id%22:%7B%22$in%22:[%2253ff6e6b322eced002000088%22,%2253ff6e6b322eced00200008a%22,%2253ff6e6b322eced00200008c%22,%2253ff6e6b322eced00200008e%22]%7D%7D"}]}'
|
122
113
|
http_version:
|
123
|
-
recorded_at:
|
114
|
+
recorded_at: Fri, 12 Sep 2014 20:48:28 GMT
|
124
115
|
recorded_with: VCR 2.4.0
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
-
|
11
|
+
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
14
|
User-Agent:
|
@@ -23,30 +23,24 @@ http_interactions:
|
|
23
23
|
Access-Control-Allow-Methods:
|
24
24
|
- GET,PATCH,POST,DELETE
|
25
25
|
Access-Control-Allow-Origin:
|
26
|
-
-
|
26
|
+
- ! '*'
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Date:
|
30
|
-
-
|
30
|
+
- Fri, 12 Sep 2014 20:48:33 GMT
|
31
31
|
Etag:
|
32
|
-
- '"-
|
32
|
+
- ! '"-214069741"'
|
33
33
|
Server:
|
34
34
|
- nginx/1.4.7
|
35
35
|
X-Powered-By:
|
36
36
|
- Express
|
37
37
|
Content-Length:
|
38
|
-
- '
|
38
|
+
- '9308'
|
39
39
|
Connection:
|
40
40
|
- keep-alive
|
41
41
|
body:
|
42
|
-
encoding:
|
43
|
-
string: '{"data":[{"data":{"type":"
|
44
|
-
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
|
45
|
-
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
|
46
|
-
Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
|
47
|
-
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
|
48
|
-
Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group
|
49
|
-
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
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
50
44
|
3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
|
51
45
|
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
|
52
46
|
Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
@@ -63,9 +57,9 @@ http_interactions:
|
|
63
57
|
Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
64
58
|
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
|
65
59
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
66
|
-
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":
|
60
|
+
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":7},"links":[{"rel":"self","uri":"/v1.1/events"}]}'
|
67
61
|
http_version:
|
68
|
-
recorded_at:
|
62
|
+
recorded_at: Fri, 12 Sep 2014 20:48:33 GMT
|
69
63
|
- request:
|
70
64
|
method: get
|
71
65
|
uri: https://DEMO_KEY:@api.clever.com/v1.1/events/53ff6e6b322eced00200008e
|
@@ -74,7 +68,7 @@ http_interactions:
|
|
74
68
|
string: ''
|
75
69
|
headers:
|
76
70
|
Accept:
|
77
|
-
-
|
71
|
+
- ! '*/*; q=0.5, application/xml'
|
78
72
|
Accept-Encoding:
|
79
73
|
- gzip, deflate
|
80
74
|
User-Agent:
|
@@ -89,13 +83,13 @@ http_interactions:
|
|
89
83
|
Access-Control-Allow-Methods:
|
90
84
|
- GET,PATCH,POST,DELETE
|
91
85
|
Access-Control-Allow-Origin:
|
92
|
-
-
|
86
|
+
- ! '*'
|
93
87
|
Content-Type:
|
94
88
|
- application/json; charset=utf-8
|
95
89
|
Date:
|
96
|
-
-
|
90
|
+
- Fri, 12 Sep 2014 20:48:33 GMT
|
97
91
|
Etag:
|
98
|
-
- '"-1222430414"'
|
92
|
+
- ! '"-1222430414"'
|
99
93
|
Server:
|
100
94
|
- nginx/1.4.7
|
101
95
|
X-Powered-By:
|
@@ -105,10 +99,10 @@ http_interactions:
|
|
105
99
|
Connection:
|
106
100
|
- keep-alive
|
107
101
|
body:
|
108
|
-
encoding:
|
109
|
-
string: '{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
102
|
+
encoding: US-ASCII
|
103
|
+
string: ! '{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
110
104
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
111
105
|
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"},"links":[{"rel":"self","uri":"/v1.1/events/53ff6e6b322eced00200008e"}]}'
|
112
106
|
http_version:
|
113
|
-
recorded_at:
|
107
|
+
recorded_at: Fri, 12 Sep 2014 20:48:33 GMT
|
114
108
|
recorded_with: VCR 2.4.0
|