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:20 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:43 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:43 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:20 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:20 GMT
|
126
85
|
- request:
|
127
86
|
method: get
|
128
87
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers
|
@@ -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,13 +105,13 @@ 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:20 GMT
|
154
113
|
Etag:
|
155
|
-
- '"-1659229539"'
|
114
|
+
- ! '"-1659229539"'
|
156
115
|
Server:
|
157
116
|
- nginx/1.4.7
|
158
117
|
X-Powered-By:
|
@@ -162,8 +121,8 @@ http_interactions:
|
|
162
121
|
Connection:
|
163
122
|
- keep-alive
|
164
123
|
body:
|
165
|
-
encoding:
|
166
|
-
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
|
124
|
+
encoding: US-ASCII
|
125
|
+
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
|
167
126
|
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
|
168
127
|
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
|
169
128
|
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
|
@@ -254,89 +213,7 @@ http_interactions:
|
|
254
213
|
Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
|
255
214
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers"}]}'
|
256
215
|
http_version:
|
257
|
-
recorded_at:
|
258
|
-
- request:
|
259
|
-
method: get
|
260
|
-
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
|
261
|
-
body:
|
262
|
-
encoding: US-ASCII
|
263
|
-
string: ''
|
264
|
-
headers:
|
265
|
-
Accept:
|
266
|
-
- "*/*; q=0.5, application/xml"
|
267
|
-
Accept-Encoding:
|
268
|
-
- gzip, deflate
|
269
|
-
User-Agent:
|
270
|
-
- Ruby
|
271
|
-
response:
|
272
|
-
status:
|
273
|
-
code: 200
|
274
|
-
message: OK
|
275
|
-
headers:
|
276
|
-
Access-Control-Allow-Headers:
|
277
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
278
|
-
Access-Control-Allow-Methods:
|
279
|
-
- GET,PATCH,POST,DELETE
|
280
|
-
Access-Control-Allow-Origin:
|
281
|
-
- "*"
|
282
|
-
Content-Type:
|
283
|
-
- application/json; charset=utf-8
|
284
|
-
Date:
|
285
|
-
- Tue, 09 Sep 2014 21:48:44 GMT
|
286
|
-
Server:
|
287
|
-
- nginx/1.4.7
|
288
|
-
X-Powered-By:
|
289
|
-
- Express
|
290
|
-
Content-Length:
|
291
|
-
- '518'
|
292
|
-
Connection:
|
293
|
-
- keep-alive
|
294
|
-
body:
|
295
|
-
encoding: UTF-8
|
296
|
-
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"}]}'
|
297
|
-
http_version:
|
298
|
-
recorded_at: Tue, 09 Sep 2014 21:48:45 GMT
|
299
|
-
- request:
|
300
|
-
method: get
|
301
|
-
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
|
302
|
-
body:
|
303
|
-
encoding: US-ASCII
|
304
|
-
string: ''
|
305
|
-
headers:
|
306
|
-
Accept:
|
307
|
-
- "*/*; q=0.5, application/xml"
|
308
|
-
Accept-Encoding:
|
309
|
-
- gzip, deflate
|
310
|
-
User-Agent:
|
311
|
-
- Ruby
|
312
|
-
response:
|
313
|
-
status:
|
314
|
-
code: 200
|
315
|
-
message: OK
|
316
|
-
headers:
|
317
|
-
Access-Control-Allow-Headers:
|
318
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
319
|
-
Access-Control-Allow-Methods:
|
320
|
-
- GET,PATCH,POST,DELETE
|
321
|
-
Access-Control-Allow-Origin:
|
322
|
-
- "*"
|
323
|
-
Content-Type:
|
324
|
-
- application/json; charset=utf-8
|
325
|
-
Date:
|
326
|
-
- Tue, 09 Sep 2014 21:48:45 GMT
|
327
|
-
Server:
|
328
|
-
- nginx/1.4.7
|
329
|
-
X-Powered-By:
|
330
|
-
- Express
|
331
|
-
Content-Length:
|
332
|
-
- '518'
|
333
|
-
Connection:
|
334
|
-
- keep-alive
|
335
|
-
body:
|
336
|
-
encoding: UTF-8
|
337
|
-
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"}]}'
|
338
|
-
http_version:
|
339
|
-
recorded_at: Tue, 09 Sep 2014 21:48:45 GMT
|
216
|
+
recorded_at: Fri, 12 Sep 2014 20:47:20 GMT
|
340
217
|
- request:
|
341
218
|
method: get
|
342
219
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/teachers
|
@@ -345,7 +222,7 @@ http_interactions:
|
|
345
222
|
string: ''
|
346
223
|
headers:
|
347
224
|
Accept:
|
348
|
-
-
|
225
|
+
- ! '*/*; q=0.5, application/xml'
|
349
226
|
Accept-Encoding:
|
350
227
|
- gzip, deflate
|
351
228
|
User-Agent:
|
@@ -360,13 +237,13 @@ http_interactions:
|
|
360
237
|
Access-Control-Allow-Methods:
|
361
238
|
- GET,PATCH,POST,DELETE
|
362
239
|
Access-Control-Allow-Origin:
|
363
|
-
-
|
240
|
+
- ! '*'
|
364
241
|
Content-Type:
|
365
242
|
- application/json; charset=utf-8
|
366
243
|
Date:
|
367
|
-
-
|
244
|
+
- Fri, 12 Sep 2014 20:47:20 GMT
|
368
245
|
Etag:
|
369
|
-
- '"-1659229539"'
|
246
|
+
- ! '"-1659229539"'
|
370
247
|
Server:
|
371
248
|
- nginx/1.4.7
|
372
249
|
X-Powered-By:
|
@@ -376,8 +253,8 @@ http_interactions:
|
|
376
253
|
Connection:
|
377
254
|
- keep-alive
|
378
255
|
body:
|
379
|
-
encoding:
|
380
|
-
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
|
256
|
+
encoding: US-ASCII
|
257
|
+
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
|
381
258
|
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
|
382
259
|
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
|
383
260
|
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
|
@@ -468,5 +345,5 @@ http_interactions:
|
|
468
345
|
Coach","id":"530e5955d50c310f36112c18"},"uri":"/v1.1/teachers/530e5955d50c310f36112c18"},{"data":{"created":"2014-02-26T21:15:01.572Z","credentials":{"district_username":"m_paucek","district_password":"jhga8salgh"},"district":"4fd43cc56d11340000000005","email":"paucek_m@example.org","last_modified":"2014-02-26T21:15:01.574Z","name":{"first":"Meaghan","middle":"P","last":"Paucek"},"school":"530e595026403103360ff9fd","sis_id":"93","teacher_number":"843713","title":"High
|
469
346
|
School Drama Teacher","id":"530e5955d50c310f36112c19"},"uri":"/v1.1/teachers/530e5955d50c310f36112c19"}],"paging":{"current":1,"total":1,"count":89},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/teachers"}]}'
|
470
347
|
http_version:
|
471
|
-
recorded_at:
|
348
|
+
recorded_at: Fri, 12 Sep 2014 20:47:20 GMT
|
472
349
|
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,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:48:24 GMT
|
31
31
|
Server:
|
32
32
|
- nginx/1.4.7
|
33
33
|
X-Powered-By:
|
@@ -37,10 +37,10 @@ http_interactions:
|
|
37
37
|
Connection:
|
38
38
|
- keep-alive
|
39
39
|
body:
|
40
|
-
encoding:
|
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"}]}'
|
40
|
+
encoding: US-ASCII
|
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
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Fri, 12 Sep 2014 20:48:24 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
46
|
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?count=true
|
@@ -49,7 +49,7 @@ http_interactions:
|
|
49
49
|
string: ''
|
50
50
|
headers:
|
51
51
|
Accept:
|
52
|
-
-
|
52
|
+
- ! '*/*; q=0.5, application/xml'
|
53
53
|
Accept-Encoding:
|
54
54
|
- gzip, deflate
|
55
55
|
User-Agent:
|
@@ -64,11 +64,11 @@ http_interactions:
|
|
64
64
|
Access-Control-Allow-Methods:
|
65
65
|
- GET,PATCH,POST,DELETE
|
66
66
|
Access-Control-Allow-Origin:
|
67
|
-
-
|
67
|
+
- ! '*'
|
68
68
|
Content-Type:
|
69
69
|
- application/json; charset=utf-8
|
70
70
|
Date:
|
71
|
-
-
|
71
|
+
- Fri, 12 Sep 2014 20:48:25 GMT
|
72
72
|
Server:
|
73
73
|
- nginx/1.4.7
|
74
74
|
X-Powered-By:
|
@@ -78,8 +78,8 @@ http_interactions:
|
|
78
78
|
Connection:
|
79
79
|
- keep-alive
|
80
80
|
body:
|
81
|
-
encoding:
|
82
|
-
string: '{"count":1,"links":[{"rel":"self","uri":"/v1.1/districts?count=true"}]}'
|
81
|
+
encoding: US-ASCII
|
82
|
+
string: ! '{"count":1,"links":[{"rel":"self","uri":"/v1.1/districts?count=true"}]}'
|
83
83
|
http_version:
|
84
|
-
recorded_at:
|
84
|
+
recorded_at: Fri, 12 Sep 2014 20:48:25 GMT
|
85
85
|
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,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:48:42 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:17 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:17 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:48:42 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:48:42 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:48:42 GMT
|
126
85
|
- request:
|
127
86
|
method: get
|
128
87
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=100000
|
@@ -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,30 +105,24 @@ 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:48:42 GMT
|
154
113
|
Etag:
|
155
|
-
- '"
|
114
|
+
- ! '"1226485252"'
|
156
115
|
Server:
|
157
116
|
- nginx/1.4.7
|
158
117
|
X-Powered-By:
|
159
118
|
- Express
|
160
119
|
Content-Length:
|
161
|
-
- '
|
120
|
+
- '9356'
|
162
121
|
Connection:
|
163
122
|
- keep-alive
|
164
123
|
body:
|
165
|
-
encoding:
|
166
|
-
string: '{"data":[{"data":{"type":"
|
167
|
-
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
|
168
|
-
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
|
169
|
-
Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
|
170
|
-
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
|
171
|
-
Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group
|
172
|
-
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
|
124
|
+
encoding: US-ASCII
|
125
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
173
126
|
3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
|
174
127
|
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
|
175
128
|
Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
@@ -186,91 +139,9 @@ http_interactions:
|
|
186
139
|
Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
187
140
|
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
|
188
141
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
189
|
-
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":
|
190
|
-
http_version:
|
191
|
-
recorded_at: Tue, 09 Sep 2014 21:48:17 GMT
|
192
|
-
- request:
|
193
|
-
method: get
|
194
|
-
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
|
195
|
-
body:
|
196
|
-
encoding: US-ASCII
|
197
|
-
string: ''
|
198
|
-
headers:
|
199
|
-
Accept:
|
200
|
-
- "*/*; q=0.5, application/xml"
|
201
|
-
Accept-Encoding:
|
202
|
-
- gzip, deflate
|
203
|
-
User-Agent:
|
204
|
-
- Ruby
|
205
|
-
response:
|
206
|
-
status:
|
207
|
-
code: 200
|
208
|
-
message: OK
|
209
|
-
headers:
|
210
|
-
Access-Control-Allow-Headers:
|
211
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
212
|
-
Access-Control-Allow-Methods:
|
213
|
-
- GET,PATCH,POST,DELETE
|
214
|
-
Access-Control-Allow-Origin:
|
215
|
-
- "*"
|
216
|
-
Content-Type:
|
217
|
-
- application/json; charset=utf-8
|
218
|
-
Date:
|
219
|
-
- Tue, 09 Sep 2014 21:48:17 GMT
|
220
|
-
Server:
|
221
|
-
- nginx/1.4.7
|
222
|
-
X-Powered-By:
|
223
|
-
- Express
|
224
|
-
Content-Length:
|
225
|
-
- '518'
|
226
|
-
Connection:
|
227
|
-
- keep-alive
|
228
|
-
body:
|
229
|
-
encoding: UTF-8
|
230
|
-
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"}]}'
|
231
|
-
http_version:
|
232
|
-
recorded_at: Tue, 09 Sep 2014 21:48:17 GMT
|
233
|
-
- request:
|
234
|
-
method: get
|
235
|
-
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
|
236
|
-
body:
|
237
|
-
encoding: US-ASCII
|
238
|
-
string: ''
|
239
|
-
headers:
|
240
|
-
Accept:
|
241
|
-
- "*/*; q=0.5, application/xml"
|
242
|
-
Accept-Encoding:
|
243
|
-
- gzip, deflate
|
244
|
-
User-Agent:
|
245
|
-
- Ruby
|
246
|
-
response:
|
247
|
-
status:
|
248
|
-
code: 200
|
249
|
-
message: OK
|
250
|
-
headers:
|
251
|
-
Access-Control-Allow-Headers:
|
252
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
253
|
-
Access-Control-Allow-Methods:
|
254
|
-
- GET,PATCH,POST,DELETE
|
255
|
-
Access-Control-Allow-Origin:
|
256
|
-
- "*"
|
257
|
-
Content-Type:
|
258
|
-
- application/json; charset=utf-8
|
259
|
-
Date:
|
260
|
-
- Tue, 09 Sep 2014 21:48:18 GMT
|
261
|
-
Server:
|
262
|
-
- nginx/1.4.7
|
263
|
-
X-Powered-By:
|
264
|
-
- Express
|
265
|
-
Content-Length:
|
266
|
-
- '518'
|
267
|
-
Connection:
|
268
|
-
- keep-alive
|
269
|
-
body:
|
270
|
-
encoding: UTF-8
|
271
|
-
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"}]}'
|
142
|
+
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/districts/4fd43cc56d11340000000005/events?limit=100000"}]}'
|
272
143
|
http_version:
|
273
|
-
recorded_at:
|
144
|
+
recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
|
274
145
|
- request:
|
275
146
|
method: get
|
276
147
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1
|
@@ -279,181 +150,7 @@ http_interactions:
|
|
279
150
|
string: ''
|
280
151
|
headers:
|
281
152
|
Accept:
|
282
|
-
-
|
283
|
-
Accept-Encoding:
|
284
|
-
- gzip, deflate
|
285
|
-
User-Agent:
|
286
|
-
- Ruby
|
287
|
-
response:
|
288
|
-
status:
|
289
|
-
code: 200
|
290
|
-
message: OK
|
291
|
-
headers:
|
292
|
-
Access-Control-Allow-Headers:
|
293
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
294
|
-
Access-Control-Allow-Methods:
|
295
|
-
- GET,PATCH,POST,DELETE
|
296
|
-
Access-Control-Allow-Origin:
|
297
|
-
- "*"
|
298
|
-
Content-Type:
|
299
|
-
- application/json; charset=utf-8
|
300
|
-
Date:
|
301
|
-
- Tue, 09 Sep 2014 21:48:18 GMT
|
302
|
-
Etag:
|
303
|
-
- '"-971773365"'
|
304
|
-
Server:
|
305
|
-
- nginx/1.4.7
|
306
|
-
X-Powered-By:
|
307
|
-
- Express
|
308
|
-
Content-Length:
|
309
|
-
- '1068'
|
310
|
-
Connection:
|
311
|
-
- keep-alive
|
312
|
-
body:
|
313
|
-
encoding: UTF-8
|
314
|
-
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"}],"paging":{"current":1,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e2"}]}'
|
315
|
-
http_version:
|
316
|
-
recorded_at: Tue, 09 Sep 2014 21:48:18 GMT
|
317
|
-
- request:
|
318
|
-
method: get
|
319
|
-
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e2
|
320
|
-
body:
|
321
|
-
encoding: US-ASCII
|
322
|
-
string: ''
|
323
|
-
headers:
|
324
|
-
Accept:
|
325
|
-
- "*/*; q=0.5, application/xml"
|
326
|
-
Accept-Encoding:
|
327
|
-
- gzip, deflate
|
328
|
-
User-Agent:
|
329
|
-
- Ruby
|
330
|
-
response:
|
331
|
-
status:
|
332
|
-
code: 200
|
333
|
-
message: OK
|
334
|
-
headers:
|
335
|
-
Access-Control-Allow-Headers:
|
336
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
337
|
-
Access-Control-Allow-Methods:
|
338
|
-
- GET,PATCH,POST,DELETE
|
339
|
-
Access-Control-Allow-Origin:
|
340
|
-
- "*"
|
341
|
-
Content-Type:
|
342
|
-
- application/json; charset=utf-8
|
343
|
-
Date:
|
344
|
-
- Tue, 09 Sep 2014 21:48:18 GMT
|
345
|
-
Etag:
|
346
|
-
- '"1767715974"'
|
347
|
-
Server:
|
348
|
-
- nginx/1.4.7
|
349
|
-
X-Powered-By:
|
350
|
-
- Express
|
351
|
-
Content-Length:
|
352
|
-
- '1203'
|
353
|
-
Connection:
|
354
|
-
- keep-alive
|
355
|
-
body:
|
356
|
-
encoding: UTF-8
|
357
|
-
string: '{"data":[{"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
|
358
|
-
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e2"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e3"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e3"}]}'
|
359
|
-
http_version:
|
360
|
-
recorded_at: Tue, 09 Sep 2014 21:48:18 GMT
|
361
|
-
- request:
|
362
|
-
method: get
|
363
|
-
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e3
|
364
|
-
body:
|
365
|
-
encoding: US-ASCII
|
366
|
-
string: ''
|
367
|
-
headers:
|
368
|
-
Accept:
|
369
|
-
- "*/*; q=0.5, application/xml"
|
370
|
-
Accept-Encoding:
|
371
|
-
- gzip, deflate
|
372
|
-
User-Agent:
|
373
|
-
- Ruby
|
374
|
-
response:
|
375
|
-
status:
|
376
|
-
code: 200
|
377
|
-
message: OK
|
378
|
-
headers:
|
379
|
-
Access-Control-Allow-Headers:
|
380
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
381
|
-
Access-Control-Allow-Methods:
|
382
|
-
- GET,PATCH,POST,DELETE
|
383
|
-
Access-Control-Allow-Origin:
|
384
|
-
- "*"
|
385
|
-
Content-Type:
|
386
|
-
- application/json; charset=utf-8
|
387
|
-
Date:
|
388
|
-
- Tue, 09 Sep 2014 21:48:18 GMT
|
389
|
-
Etag:
|
390
|
-
- '"351726310"'
|
391
|
-
Server:
|
392
|
-
- nginx/1.4.7
|
393
|
-
X-Powered-By:
|
394
|
-
- Express
|
395
|
-
Content-Length:
|
396
|
-
- '1187'
|
397
|
-
Connection:
|
398
|
-
- keep-alive
|
399
|
-
body:
|
400
|
-
encoding: UTF-8
|
401
|
-
string: '{"data":[{"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
|
402
|
-
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e3"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e4"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e4"}]}'
|
403
|
-
http_version:
|
404
|
-
recorded_at: Tue, 09 Sep 2014 21:48:18 GMT
|
405
|
-
- request:
|
406
|
-
method: get
|
407
|
-
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e4
|
408
|
-
body:
|
409
|
-
encoding: US-ASCII
|
410
|
-
string: ''
|
411
|
-
headers:
|
412
|
-
Accept:
|
413
|
-
- "*/*; q=0.5, application/xml"
|
414
|
-
Accept-Encoding:
|
415
|
-
- gzip, deflate
|
416
|
-
User-Agent:
|
417
|
-
- Ruby
|
418
|
-
response:
|
419
|
-
status:
|
420
|
-
code: 200
|
421
|
-
message: OK
|
422
|
-
headers:
|
423
|
-
Access-Control-Allow-Headers:
|
424
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
425
|
-
Access-Control-Allow-Methods:
|
426
|
-
- GET,PATCH,POST,DELETE
|
427
|
-
Access-Control-Allow-Origin:
|
428
|
-
- "*"
|
429
|
-
Content-Type:
|
430
|
-
- application/json; charset=utf-8
|
431
|
-
Date:
|
432
|
-
- Tue, 09 Sep 2014 21:48:18 GMT
|
433
|
-
Etag:
|
434
|
-
- '"1635149832"'
|
435
|
-
Server:
|
436
|
-
- nginx/1.4.7
|
437
|
-
X-Powered-By:
|
438
|
-
- Express
|
439
|
-
Content-Length:
|
440
|
-
- '1209'
|
441
|
-
Connection:
|
442
|
-
- keep-alive
|
443
|
-
body:
|
444
|
-
encoding: UTF-8
|
445
|
-
string: '{"data":[{"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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e4"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e5"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e5"}]}'
|
446
|
-
http_version:
|
447
|
-
recorded_at: Tue, 09 Sep 2014 21:48:18 GMT
|
448
|
-
- request:
|
449
|
-
method: get
|
450
|
-
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e5
|
451
|
-
body:
|
452
|
-
encoding: US-ASCII
|
453
|
-
string: ''
|
454
|
-
headers:
|
455
|
-
Accept:
|
456
|
-
- "*/*; q=0.5, application/xml"
|
153
|
+
- ! '*/*; q=0.5, application/xml'
|
457
154
|
Accept-Encoding:
|
458
155
|
- gzip, deflate
|
459
156
|
User-Agent:
|
@@ -468,118 +165,28 @@ http_interactions:
|
|
468
165
|
Access-Control-Allow-Methods:
|
469
166
|
- GET,PATCH,POST,DELETE
|
470
167
|
Access-Control-Allow-Origin:
|
471
|
-
-
|
168
|
+
- ! '*'
|
472
169
|
Content-Type:
|
473
170
|
- application/json; charset=utf-8
|
474
171
|
Date:
|
475
|
-
-
|
172
|
+
- Fri, 12 Sep 2014 20:48:42 GMT
|
476
173
|
Etag:
|
477
|
-
- '"
|
174
|
+
- ! '"620046926"'
|
478
175
|
Server:
|
479
176
|
- nginx/1.4.7
|
480
177
|
X-Powered-By:
|
481
178
|
- Express
|
482
179
|
Content-Length:
|
483
|
-
- '
|
180
|
+
- '1837'
|
484
181
|
Connection:
|
485
182
|
- keep-alive
|
486
|
-
body:
|
487
|
-
encoding: UTF-8
|
488
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
|
489
|
-
Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
|
490
|
-
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e5"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e6"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e6"}]}'
|
491
|
-
http_version:
|
492
|
-
recorded_at: Tue, 09 Sep 2014 21:48:18 GMT
|
493
|
-
- request:
|
494
|
-
method: get
|
495
|
-
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e6
|
496
183
|
body:
|
497
184
|
encoding: US-ASCII
|
498
|
-
string: '
|
499
|
-
headers:
|
500
|
-
Accept:
|
501
|
-
- "*/*; q=0.5, application/xml"
|
502
|
-
Accept-Encoding:
|
503
|
-
- gzip, deflate
|
504
|
-
User-Agent:
|
505
|
-
- Ruby
|
506
|
-
response:
|
507
|
-
status:
|
508
|
-
code: 200
|
509
|
-
message: OK
|
510
|
-
headers:
|
511
|
-
Access-Control-Allow-Headers:
|
512
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
513
|
-
Access-Control-Allow-Methods:
|
514
|
-
- GET,PATCH,POST,DELETE
|
515
|
-
Access-Control-Allow-Origin:
|
516
|
-
- "*"
|
517
|
-
Content-Type:
|
518
|
-
- application/json; charset=utf-8
|
519
|
-
Date:
|
520
|
-
- Tue, 09 Sep 2014 21:48:18 GMT
|
521
|
-
Etag:
|
522
|
-
- '"-916155565"'
|
523
|
-
Server:
|
524
|
-
- nginx/1.4.7
|
525
|
-
X-Powered-By:
|
526
|
-
- Express
|
527
|
-
Content-Length:
|
528
|
-
- '1933'
|
529
|
-
Connection:
|
530
|
-
- keep-alive
|
531
|
-
body:
|
532
|
-
encoding: UTF-8
|
533
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
|
534
|
-
Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group
|
535
|
-
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e6"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e7"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e7"}]}'
|
536
|
-
http_version:
|
537
|
-
recorded_at: Tue, 09 Sep 2014 21:48:18 GMT
|
538
|
-
- request:
|
539
|
-
method: get
|
540
|
-
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e7
|
541
|
-
body:
|
542
|
-
encoding: US-ASCII
|
543
|
-
string: ''
|
544
|
-
headers:
|
545
|
-
Accept:
|
546
|
-
- "*/*; q=0.5, application/xml"
|
547
|
-
Accept-Encoding:
|
548
|
-
- gzip, deflate
|
549
|
-
User-Agent:
|
550
|
-
- Ruby
|
551
|
-
response:
|
552
|
-
status:
|
553
|
-
code: 200
|
554
|
-
message: OK
|
555
|
-
headers:
|
556
|
-
Access-Control-Allow-Headers:
|
557
|
-
- Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
|
558
|
-
Access-Control-Allow-Methods:
|
559
|
-
- GET,PATCH,POST,DELETE
|
560
|
-
Access-Control-Allow-Origin:
|
561
|
-
- "*"
|
562
|
-
Content-Type:
|
563
|
-
- application/json; charset=utf-8
|
564
|
-
Date:
|
565
|
-
- Tue, 09 Sep 2014 21:48:19 GMT
|
566
|
-
Etag:
|
567
|
-
- '"102184804"'
|
568
|
-
Server:
|
569
|
-
- nginx/1.4.7
|
570
|
-
X-Powered-By:
|
571
|
-
- Express
|
572
|
-
Content-Length:
|
573
|
-
- '1952'
|
574
|
-
Connection:
|
575
|
-
- keep-alive
|
576
|
-
body:
|
577
|
-
encoding: UTF-8
|
578
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
185
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
579
186
|
3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
|
580
|
-
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"}],"
|
187
|
+
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"}],"paging":{"current":1,"total":7,"count":7},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088"}]}'
|
581
188
|
http_version:
|
582
|
-
recorded_at:
|
189
|
+
recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
|
583
190
|
- request:
|
584
191
|
method: get
|
585
192
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088
|
@@ -588,7 +195,7 @@ http_interactions:
|
|
588
195
|
string: ''
|
589
196
|
headers:
|
590
197
|
Accept:
|
591
|
-
-
|
198
|
+
- ! '*/*; q=0.5, application/xml'
|
592
199
|
Accept-Encoding:
|
593
200
|
- gzip, deflate
|
594
201
|
User-Agent:
|
@@ -603,13 +210,13 @@ http_interactions:
|
|
603
210
|
Access-Control-Allow-Methods:
|
604
211
|
- GET,PATCH,POST,DELETE
|
605
212
|
Access-Control-Allow-Origin:
|
606
|
-
-
|
213
|
+
- ! '*'
|
607
214
|
Content-Type:
|
608
215
|
- application/json; charset=utf-8
|
609
216
|
Date:
|
610
|
-
-
|
217
|
+
- Fri, 12 Sep 2014 20:48:42 GMT
|
611
218
|
Etag:
|
612
|
-
- '"-1500347951"'
|
219
|
+
- ! '"-1500347951"'
|
613
220
|
Server:
|
614
221
|
- nginx/1.4.7
|
615
222
|
X-Powered-By:
|
@@ -619,13 +226,13 @@ http_interactions:
|
|
619
226
|
Connection:
|
620
227
|
- keep-alive
|
621
228
|
body:
|
622
|
-
encoding:
|
623
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
229
|
+
encoding: US-ASCII
|
230
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
624
231
|
Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
625
232
|
Music, Class 001 - 001 - H. Willms","period":"5","school":"530e595026403103360ff9fe","sis_id":"804","subject":"arts
|
626
233
|
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced002000089"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089"}]}'
|
627
234
|
http_version:
|
628
|
-
recorded_at:
|
235
|
+
recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
|
629
236
|
- request:
|
630
237
|
method: get
|
631
238
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089
|
@@ -634,7 +241,7 @@ http_interactions:
|
|
634
241
|
string: ''
|
635
242
|
headers:
|
636
243
|
Accept:
|
637
|
-
-
|
244
|
+
- ! '*/*; q=0.5, application/xml'
|
638
245
|
Accept-Encoding:
|
639
246
|
- gzip, deflate
|
640
247
|
User-Agent:
|
@@ -649,13 +256,13 @@ http_interactions:
|
|
649
256
|
Access-Control-Allow-Methods:
|
650
257
|
- GET,PATCH,POST,DELETE
|
651
258
|
Access-Control-Allow-Origin:
|
652
|
-
-
|
259
|
+
- ! '*'
|
653
260
|
Content-Type:
|
654
261
|
- application/json; charset=utf-8
|
655
262
|
Date:
|
656
|
-
-
|
263
|
+
- Fri, 12 Sep 2014 20:48:42 GMT
|
657
264
|
Etag:
|
658
|
-
- '"1656632044"'
|
265
|
+
- ! '"1656632044"'
|
659
266
|
Server:
|
660
267
|
- nginx/1.4.7
|
661
268
|
X-Powered-By:
|
@@ -665,13 +272,13 @@ http_interactions:
|
|
665
272
|
Connection:
|
666
273
|
- keep-alive
|
667
274
|
body:
|
668
|
-
encoding:
|
669
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
275
|
+
encoding: US-ASCII
|
276
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
670
277
|
Music, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
671
278
|
Music, Class 002 - 002 - S. Schoen","period":"5","school":"530e595026403103360ff9fe","sis_id":"805","subject":"arts
|
672
279
|
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008a"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a"}]}'
|
673
280
|
http_version:
|
674
|
-
recorded_at:
|
281
|
+
recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
|
675
282
|
- request:
|
676
283
|
method: get
|
677
284
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a
|
@@ -680,7 +287,7 @@ http_interactions:
|
|
680
287
|
string: ''
|
681
288
|
headers:
|
682
289
|
Accept:
|
683
|
-
-
|
290
|
+
- ! '*/*; q=0.5, application/xml'
|
684
291
|
Accept-Encoding:
|
685
292
|
- gzip, deflate
|
686
293
|
User-Agent:
|
@@ -695,13 +302,13 @@ http_interactions:
|
|
695
302
|
Access-Control-Allow-Methods:
|
696
303
|
- GET,PATCH,POST,DELETE
|
697
304
|
Access-Control-Allow-Origin:
|
698
|
-
-
|
305
|
+
- ! '*'
|
699
306
|
Content-Type:
|
700
307
|
- application/json; charset=utf-8
|
701
308
|
Date:
|
702
|
-
-
|
309
|
+
- Fri, 12 Sep 2014 20:48:42 GMT
|
703
310
|
Etag:
|
704
|
-
- '"-1598924870"'
|
311
|
+
- ! '"-1598924870"'
|
705
312
|
Server:
|
706
313
|
- nginx/1.4.7
|
707
314
|
X-Powered-By:
|
@@ -711,13 +318,13 @@ http_interactions:
|
|
711
318
|
Connection:
|
712
319
|
- keep-alive
|
713
320
|
body:
|
714
|
-
encoding:
|
715
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
321
|
+
encoding: US-ASCII
|
322
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
716
323
|
Music, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
717
324
|
Music, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"806","subject":"arts
|
718
325
|
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008b"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b"}]}'
|
719
326
|
http_version:
|
720
|
-
recorded_at:
|
327
|
+
recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
|
721
328
|
- request:
|
722
329
|
method: get
|
723
330
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b
|
@@ -726,7 +333,7 @@ http_interactions:
|
|
726
333
|
string: ''
|
727
334
|
headers:
|
728
335
|
Accept:
|
729
|
-
-
|
336
|
+
- ! '*/*; q=0.5, application/xml'
|
730
337
|
Accept-Encoding:
|
731
338
|
- gzip, deflate
|
732
339
|
User-Agent:
|
@@ -741,13 +348,13 @@ http_interactions:
|
|
741
348
|
Access-Control-Allow-Methods:
|
742
349
|
- GET,PATCH,POST,DELETE
|
743
350
|
Access-Control-Allow-Origin:
|
744
|
-
-
|
351
|
+
- ! '*'
|
745
352
|
Content-Type:
|
746
353
|
- application/json; charset=utf-8
|
747
354
|
Date:
|
748
|
-
-
|
355
|
+
- Fri, 12 Sep 2014 20:48:42 GMT
|
749
356
|
Etag:
|
750
|
-
- '"-1819628218"'
|
357
|
+
- ! '"-1819628218"'
|
751
358
|
Server:
|
752
359
|
- nginx/1.4.7
|
753
360
|
X-Powered-By:
|
@@ -757,12 +364,12 @@ http_interactions:
|
|
757
364
|
Connection:
|
758
365
|
- keep-alive
|
759
366
|
body:
|
760
|
-
encoding:
|
761
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
367
|
+
encoding: US-ASCII
|
368
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
762
369
|
Science, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
763
370
|
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008c"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c"}]}'
|
764
371
|
http_version:
|
765
|
-
recorded_at:
|
372
|
+
recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
|
766
373
|
- request:
|
767
374
|
method: get
|
768
375
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c
|
@@ -771,7 +378,7 @@ http_interactions:
|
|
771
378
|
string: ''
|
772
379
|
headers:
|
773
380
|
Accept:
|
774
|
-
-
|
381
|
+
- ! '*/*; q=0.5, application/xml'
|
775
382
|
Accept-Encoding:
|
776
383
|
- gzip, deflate
|
777
384
|
User-Agent:
|
@@ -786,13 +393,13 @@ http_interactions:
|
|
786
393
|
Access-Control-Allow-Methods:
|
787
394
|
- GET,PATCH,POST,DELETE
|
788
395
|
Access-Control-Allow-Origin:
|
789
|
-
-
|
396
|
+
- ! '*'
|
790
397
|
Content-Type:
|
791
398
|
- application/json; charset=utf-8
|
792
399
|
Date:
|
793
|
-
-
|
400
|
+
- Fri, 12 Sep 2014 20:48:43 GMT
|
794
401
|
Etag:
|
795
|
-
- '"1349360613"'
|
402
|
+
- ! '"1349360613"'
|
796
403
|
Server:
|
797
404
|
- nginx/1.4.7
|
798
405
|
X-Powered-By:
|
@@ -802,12 +409,12 @@ http_interactions:
|
|
802
409
|
Connection:
|
803
410
|
- keep-alive
|
804
411
|
body:
|
805
|
-
encoding:
|
806
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
412
|
+
encoding: US-ASCII
|
413
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
807
414
|
Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
808
415
|
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008d"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d"}]}'
|
809
416
|
http_version:
|
810
|
-
recorded_at:
|
417
|
+
recorded_at: Fri, 12 Sep 2014 20:48:42 GMT
|
811
418
|
- request:
|
812
419
|
method: get
|
813
420
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d
|
@@ -816,7 +423,7 @@ http_interactions:
|
|
816
423
|
string: ''
|
817
424
|
headers:
|
818
425
|
Accept:
|
819
|
-
-
|
426
|
+
- ! '*/*; q=0.5, application/xml'
|
820
427
|
Accept-Encoding:
|
821
428
|
- gzip, deflate
|
822
429
|
User-Agent:
|
@@ -831,13 +438,13 @@ http_interactions:
|
|
831
438
|
Access-Control-Allow-Methods:
|
832
439
|
- GET,PATCH,POST,DELETE
|
833
440
|
Access-Control-Allow-Origin:
|
834
|
-
-
|
441
|
+
- ! '*'
|
835
442
|
Content-Type:
|
836
443
|
- application/json; charset=utf-8
|
837
444
|
Date:
|
838
|
-
-
|
445
|
+
- Fri, 12 Sep 2014 20:48:43 GMT
|
839
446
|
Etag:
|
840
|
-
- '"-1352995454"'
|
447
|
+
- ! '"-1352995454"'
|
841
448
|
Server:
|
842
449
|
- nginx/1.4.7
|
843
450
|
X-Powered-By:
|
@@ -847,12 +454,12 @@ http_interactions:
|
|
847
454
|
Connection:
|
848
455
|
- keep-alive
|
849
456
|
body:
|
850
|
-
encoding:
|
851
|
-
string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
457
|
+
encoding: US-ASCII
|
458
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
852
459
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
853
460
|
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"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008e"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e"}]}'
|
854
461
|
http_version:
|
855
|
-
recorded_at:
|
462
|
+
recorded_at: Fri, 12 Sep 2014 20:48:43 GMT
|
856
463
|
- request:
|
857
464
|
method: get
|
858
465
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e
|
@@ -861,7 +468,7 @@ http_interactions:
|
|
861
468
|
string: ''
|
862
469
|
headers:
|
863
470
|
Accept:
|
864
|
-
-
|
471
|
+
- ! '*/*; q=0.5, application/xml'
|
865
472
|
Accept-Encoding:
|
866
473
|
- gzip, deflate
|
867
474
|
User-Agent:
|
@@ -876,11 +483,11 @@ http_interactions:
|
|
876
483
|
Access-Control-Allow-Methods:
|
877
484
|
- GET,PATCH,POST,DELETE
|
878
485
|
Access-Control-Allow-Origin:
|
879
|
-
-
|
486
|
+
- ! '*'
|
880
487
|
Content-Type:
|
881
488
|
- application/json; charset=utf-8
|
882
489
|
Date:
|
883
|
-
-
|
490
|
+
- Fri, 12 Sep 2014 20:48:43 GMT
|
884
491
|
Server:
|
885
492
|
- nginx/1.4.7
|
886
493
|
X-Powered-By:
|
@@ -890,8 +497,8 @@ http_interactions:
|
|
890
497
|
Connection:
|
891
498
|
- keep-alive
|
892
499
|
body:
|
893
|
-
encoding:
|
894
|
-
string: '{"data":[],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008e"}]}'
|
500
|
+
encoding: US-ASCII
|
501
|
+
string: ! '{"data":[],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008e"}]}'
|
895
502
|
http_version:
|
896
|
-
recorded_at:
|
503
|
+
recorded_at: Fri, 12 Sep 2014 20:48:43 GMT
|
897
504
|
recorded_with: VCR 2.4.0
|