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
data/lib/clever-ruby/version.rb
CHANGED
@@ -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:32 GMT
|
31
31
|
Server:
|
32
32
|
- nginx/1.4.7
|
33
33
|
X-Powered-By:
|
@@ -37,8 +37,8 @@ http_interactions:
|
|
37
37
|
Connection:
|
38
38
|
- keep-alive
|
39
39
|
body:
|
40
|
-
encoding:
|
41
|
-
string: '{"count":1,"links":[{"rel":"self","uri":"/v1.1/districts?count=true"}]}'
|
40
|
+
encoding: US-ASCII
|
41
|
+
string: ! '{"count":1,"links":[{"rel":"self","uri":"/v1.1/districts?count=true"}]}'
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Fri, 12 Sep 2014 20:48:32 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,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:15 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:37 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:38 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:15 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:15 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:15 GMT
|
126
85
|
- request:
|
127
86
|
method: get
|
128
87
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events
|
@@ -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:15 GMT
|
154
113
|
Etag:
|
155
|
-
- '"-
|
114
|
+
- ! '"-1435704843"'
|
156
115
|
Server:
|
157
116
|
- nginx/1.4.7
|
158
117
|
X-Powered-By:
|
159
118
|
- Express
|
160
119
|
Content-Length:
|
161
|
-
- '
|
120
|
+
- '9343'
|
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":
|
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"}]}'
|
190
143
|
http_version:
|
191
|
-
recorded_at:
|
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:38 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:38 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:38 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"}]}'
|
272
|
-
http_version:
|
273
|
-
recorded_at: Tue, 09 Sep 2014 21:48:38 GMT
|
144
|
+
recorded_at: Fri, 12 Sep 2014 20:48:15 GMT
|
274
145
|
- request:
|
275
146
|
method: get
|
276
147
|
uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events
|
@@ -279,7 +150,7 @@ http_interactions:
|
|
279
150
|
string: ''
|
280
151
|
headers:
|
281
152
|
Accept:
|
282
|
-
-
|
153
|
+
- ! '*/*; q=0.5, application/xml'
|
283
154
|
Accept-Encoding:
|
284
155
|
- gzip, deflate
|
285
156
|
User-Agent:
|
@@ -294,30 +165,24 @@ http_interactions:
|
|
294
165
|
Access-Control-Allow-Methods:
|
295
166
|
- GET,PATCH,POST,DELETE
|
296
167
|
Access-Control-Allow-Origin:
|
297
|
-
-
|
168
|
+
- ! '*'
|
298
169
|
Content-Type:
|
299
170
|
- application/json; charset=utf-8
|
300
171
|
Date:
|
301
|
-
-
|
172
|
+
- Fri, 12 Sep 2014 20:48:15 GMT
|
302
173
|
Etag:
|
303
|
-
- '"-
|
174
|
+
- ! '"-1435704843"'
|
304
175
|
Server:
|
305
176
|
- nginx/1.4.7
|
306
177
|
X-Powered-By:
|
307
178
|
- Express
|
308
179
|
Content-Length:
|
309
|
-
- '
|
180
|
+
- '9343'
|
310
181
|
Connection:
|
311
182
|
- keep-alive
|
312
183
|
body:
|
313
|
-
encoding:
|
314
|
-
string: '{"data":[{"data":{"type":"
|
315
|
-
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
|
316
|
-
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
|
317
|
-
Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
|
318
|
-
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
|
319
|
-
Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group
|
320
|
-
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
|
184
|
+
encoding: US-ASCII
|
185
|
+
string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
|
321
186
|
3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
|
322
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"},{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
|
323
188
|
Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
@@ -334,7 +199,7 @@ http_interactions:
|
|
334
199
|
Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
335
200
|
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
|
336
201
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
337
|
-
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":
|
202
|
+
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"}]}'
|
338
203
|
http_version:
|
339
|
-
recorded_at:
|
204
|
+
recorded_at: Fri, 12 Sep 2014 20:48:15 GMT
|
340
205
|
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:41 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:40 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:41 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:41 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:31 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?limit=20"}]}'
|
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?limit=20"}]}'
|
42
42
|
http_version:
|
43
|
-
recorded_at:
|
43
|
+
recorded_at: Fri, 12 Sep 2014 20:48:31 GMT
|
44
44
|
- request:
|
45
45
|
method: get
|
46
46
|
uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?where=%7B%22_id%22:%7B%22$in%22:%5B%224fd43cc56d11340000000005%22%5D%7D%7D
|
@@ -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:31 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: '{"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?where=%7B%22_id%22:%7B%22$in%22:[%224fd43cc56d11340000000005%22]%7D%7D"}]}'
|
81
|
+
encoding: US-ASCII
|
82
|
+
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?where=%7B%22_id%22:%7B%22$in%22:[%224fd43cc56d11340000000005%22]%7D%7D"}]}'
|
83
83
|
http_version:
|
84
|
-
recorded_at:
|
84
|
+
recorded_at: Fri, 12 Sep 2014 20:48:31 GMT
|
85
85
|
recorded_with: VCR 2.4.0
|