clever-ruby 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/CHANGELOG.md +4 -0
- data/clever-ruby.gemspec +2 -1
- data/lib/clever-ruby/api_operations/list.rb +71 -0
- data/lib/clever-ruby/api_operations/nested_list.rb +49 -0
- data/lib/clever-ruby/api_operations/page.rb +16 -8
- data/lib/clever-ruby/version.rb +1 -1
- data/test/data/vcr_cassettes/{district_count.yml → Clever_APIOperations_List/counts_district_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{event_count.yml → Clever_APIOperations_List/counts_event_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{school_count.yml → Clever_APIOperations_List/counts_school_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{section_count.yml → Clever_APIOperations_List/counts_section_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{student_count.yml → Clever_APIOperations_List/counts_student_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{teacher_count.yml → Clever_APIOperations_List/counts_teacher_properly.yml} +6 -4
- data/test/data/vcr_cassettes/{district_find_one.yml → Clever_APIOperations_List/finds_a_single_district.yml} +11 -7
- data/test/data/vcr_cassettes/{event_find_one.yml → Clever_APIOperations_List/finds_a_single_event.yml} +11 -7
- data/test/data/vcr_cassettes/{school_find_one.yml → Clever_APIOperations_List/finds_a_single_school.yml} +11 -7
- data/test/data/vcr_cassettes/{section_find_one.yml → Clever_APIOperations_List/finds_a_single_section.yml} +11 -7
- data/test/data/vcr_cassettes/{student_find_one.yml → Clever_APIOperations_List/finds_a_single_student.yml} +11 -7
- data/test/data/vcr_cassettes/{teacher_find_one.yml → Clever_APIOperations_List/finds_a_single_teacher.yml} +11 -7
- data/test/data/vcr_cassettes/{districts.yml → Clever_APIOperations_List/finds_districts_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{district_find_multiple.yml → Clever_APIOperations_List/finds_districts_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{events.yml → Clever_APIOperations_List/finds_events_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{event_find_multiple.yml → Clever_APIOperations_List/finds_events_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{schools.yml → Clever_APIOperations_List/finds_schools_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{school_find_multiple.yml → Clever_APIOperations_List/finds_schools_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{section_find_by_page.yml → Clever_APIOperations_List/finds_sections_by_page.yml} +26 -16
- data/test/data/vcr_cassettes/{section_find_multiple.yml → Clever_APIOperations_List/finds_sections_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{students.yml → Clever_APIOperations_List/finds_students_by_page.yml} +61 -37
- data/test/data/vcr_cassettes/{student_find_multiple.yml → Clever_APIOperations_List/finds_students_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{teachers.yml → Clever_APIOperations_List/finds_teachers_by_page.yml} +11 -7
- data/test/data/vcr_cassettes/{teacher_find_multiple.yml → Clever_APIOperations_List/finds_teachers_with_multiple_ids.yml} +11 -7
- data/test/data/vcr_cassettes/{district_find_by_page.yml → Clever_APIOperations_List/retrieves_all_district.yml} +11 -7
- data/test/data/vcr_cassettes/{event_find_by_page.yml → Clever_APIOperations_List/retrieves_all_event.yml} +11 -7
- data/test/data/vcr_cassettes/{school_find_by_page.yml → Clever_APIOperations_List/retrieves_all_school.yml} +11 -7
- data/test/data/vcr_cassettes/{sections.yml → Clever_APIOperations_List/retrieves_all_section.yml} +26 -16
- data/test/data/vcr_cassettes/{student_find_by_page.yml → Clever_APIOperations_List/retrieves_all_student.yml} +61 -37
- data/test/data/vcr_cassettes/{teacher_find_by_page.yml → Clever_APIOperations_List/retrieves_all_teacher.yml} +11 -7
- data/test/data/vcr_cassettes/{districts_event_pages.yml → Clever_District/pages_methods/pages_a_district_s_events.yml} +56 -34
- data/test/data/vcr_cassettes/{districts_school_pages.yml → Clever_District/pages_methods/pages_a_district_s_schools.yml} +26 -16
- data/test/data/vcr_cassettes/{districts_section_pages.yml → Clever_District/pages_methods/pages_a_district_s_sections.yml} +206 -124
- data/test/data/vcr_cassettes/{districts_student_pages.yml → Clever_District/pages_methods/pages_a_district_s_students.yml} +121 -73
- data/test/data/vcr_cassettes/{districts_teacher_pages.yml → Clever_District/pages_methods/pages_a_district_s_teachers.yml} +61 -37
- data/test/data/vcr_cassettes/{district_events.yml → Clever_NestedResource/retrieves_a_district_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{district_schools.yml → Clever_NestedResource/retrieves_a_district_s_schools.yml} +21 -13
- data/test/data/vcr_cassettes/{district_sections.yml → Clever_NestedResource/retrieves_a_district_s_sections.yml} +51 -31
- data/test/data/vcr_cassettes/{district_students.yml → Clever_NestedResource/retrieves_a_district_s_students.yml} +121 -73
- data/test/data/vcr_cassettes/{district_teachers.yml → Clever_NestedResource/retrieves_a_district_s_teachers.yml} +21 -13
- data/test/data/vcr_cassettes/{school_district.yml → Clever_NestedResource/retrieves_a_school_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{school_events.yml → Clever_NestedResource/retrieves_a_school_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{school_sections.yml → Clever_NestedResource/retrieves_a_school_s_sections.yml} +31 -19
- data/test/data/vcr_cassettes/{school_students.yml → Clever_NestedResource/retrieves_a_school_s_students.yml} +61 -37
- data/test/data/vcr_cassettes/{school_teachers.yml → Clever_NestedResource/retrieves_a_school_s_teachers.yml} +21 -13
- data/test/data/vcr_cassettes/{section_district.yml → Clever_NestedResource/retrieves_a_section_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{section_events.yml → Clever_NestedResource/retrieves_a_section_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{section_school.yml → Clever_NestedResource/retrieves_a_section_s_school.yml} +16 -10
- data/test/data/vcr_cassettes/{section_students.yml → Clever_NestedResource/retrieves_a_section_s_students.yml} +21 -13
- data/test/data/vcr_cassettes/{section_teacher.yml → Clever_NestedResource/retrieves_a_section_s_teacher.yml} +16 -10
- data/test/data/vcr_cassettes/{student_district.yml → Clever_NestedResource/retrieves_a_student_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{student_events.yml → Clever_NestedResource/retrieves_a_student_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{student_school.yml → Clever_NestedResource/retrieves_a_student_s_school.yml} +16 -10
- data/test/data/vcr_cassettes/{student_sections.yml → Clever_NestedResource/retrieves_a_student_s_sections.yml} +21 -13
- data/test/data/vcr_cassettes/{student_teachers.yml → Clever_NestedResource/retrieves_a_student_s_teachers.yml} +21 -13
- data/test/data/vcr_cassettes/{teacher_district.yml → Clever_NestedResource/retrieves_a_teacher_s_district.yml} +16 -10
- data/test/data/vcr_cassettes/{teacher_events.yml → Clever_NestedResource/retrieves_a_teacher_s_events.yml} +21 -13
- data/test/data/vcr_cassettes/{teacher_school.yml → Clever_NestedResource/retrieves_a_teacher_s_school.yml} +16 -10
- data/test/data/vcr_cassettes/{teacher_sections.yml → Clever_NestedResource/retrieves_a_teacher_s_sections.yml} +21 -13
- data/test/data/vcr_cassettes/{teacher_students.yml → Clever_NestedResource/retrieves_a_teacher_s_students.yml} +21 -13
- data/test/data/vcr_cassettes/{error_handling.yml → Error_handling/raises_an_InvalidRequestError_when_given_a_bad_created_since.yml} +16 -10
- data/test/data/vcr_cassettes/Optional_attributes/has_the_expected_value_for_an_optional_attribute_that_is_present.yml +49 -0
- data/test/data/vcr_cassettes/last_method/page/has_working_first_and_last_methods.yml +719 -0
- data/test/data/vcr_cassettes/last_method/resource/has_working_first_and_last_methods.yml +648 -0
- data/test/integration/api_operations/list_test.rb +40 -50
- data/test/integration/district_test.rb +13 -15
- data/test/integration/error_handling_test.rb +6 -8
- data/test/integration/last_test.rb +70 -0
- data/test/integration/nested_resource_test.rb +7 -9
- data/test/test_helper.rb +3 -0
- data/test/unit/clever_test.rb +1 -1
- data/test/unit/configuration_test.rb +6 -0
- data/test/unit/optional_attributes_test.rb +4 -10
- metadata +147 -129
- data/test/data/vcr_cassettes/schools_optional_attributes.yml +0 -55
- data/test/data/vcr_cassettes/student_teacher.yml +0 -161
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/events?limit=20
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:05:05 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"981617823"'
|
33
35
|
Server:
|
@@ -59,10 +61,10 @@ http_interactions:
|
|
59
61
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
60
62
|
Science, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"866","subject":"science","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:39.195Z","created":"2014-02-26T21:15:39.193Z","id":"530e597b049e75a9262d0c12"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.088Z","id":"53ff6e6b322eced00200008e"},"uri":"/v1.1/events/53ff6e6b322eced00200008e"}],"paging":{"current":1,"total":1,"count":7},"links":[{"rel":"self","uri":"/v1.1/events?limit=20"}]}'
|
61
63
|
http_version:
|
62
|
-
recorded_at:
|
64
|
+
recorded_at: Sat, 13 Sep 2014 00:05:05 GMT
|
63
65
|
- request:
|
64
66
|
method: get
|
65
|
-
uri: https://
|
67
|
+
uri: https://api.clever.com/v1.1/events?where=%7B%22_id%22:%7B%22$in%22:%5B%2253ff6e6b322eced002000088%22,%2253ff6e6b322eced00200008a%22,%2253ff6e6b322eced00200008c%22,%2253ff6e6b322eced00200008e%22%5D%7D%7D
|
66
68
|
body:
|
67
69
|
encoding: US-ASCII
|
68
70
|
string: ''
|
@@ -71,6 +73,8 @@ http_interactions:
|
|
71
73
|
- ! '*/*; q=0.5, application/xml'
|
72
74
|
Accept-Encoding:
|
73
75
|
- gzip, deflate
|
76
|
+
Authorization:
|
77
|
+
- Bearer DEMO_TOKEN
|
74
78
|
User-Agent:
|
75
79
|
- Ruby
|
76
80
|
response:
|
@@ -87,7 +91,7 @@ http_interactions:
|
|
87
91
|
Content-Type:
|
88
92
|
- application/json; charset=utf-8
|
89
93
|
Date:
|
90
|
-
-
|
94
|
+
- Sat, 13 Sep 2014 00:05:05 GMT
|
91
95
|
Etag:
|
92
96
|
- ! '"2078605315"'
|
93
97
|
Server:
|
@@ -111,5 +115,5 @@ http_interactions:
|
|
111
115
|
Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
|
112
116
|
Science, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"866","subject":"science","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:39.195Z","created":"2014-02-26T21:15:39.193Z","id":"530e597b049e75a9262d0c12"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.088Z","id":"53ff6e6b322eced00200008e"},"uri":"/v1.1/events/53ff6e6b322eced00200008e"}],"paging":{"current":1,"total":1,"count":4},"links":[{"rel":"self","uri":"/v1.1/events?where=%7B%22_id%22:%7B%22$in%22:[%2253ff6e6b322eced002000088%22,%2253ff6e6b322eced00200008a%22,%2253ff6e6b322eced00200008c%22,%2253ff6e6b322eced00200008e%22]%7D%7D"}]}'
|
113
117
|
http_version:
|
114
|
-
recorded_at:
|
115
|
-
recorded_with: VCR 2.
|
118
|
+
recorded_at: Sat, 13 Sep 2014 00:05:05 GMT
|
119
|
+
recorded_with: VCR 2.9.3
|
data/test/data/vcr_cassettes/{schools.yml → Clever_APIOperations_List/finds_schools_by_page.yml}
RENAMED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/schools
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:04:54 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"1408105812"'
|
33
35
|
Server:
|
@@ -51,10 +53,10 @@ http_interactions:
|
|
51
53
|
Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
|
52
54
|
Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"paging":{"current":1,"total":1,"count":3},"links":[{"rel":"self","uri":"/v1.1/schools"}]}'
|
53
55
|
http_version:
|
54
|
-
recorded_at:
|
56
|
+
recorded_at: Sat, 13 Sep 2014 00:04:54 GMT
|
55
57
|
- request:
|
56
58
|
method: get
|
57
|
-
uri: https://
|
59
|
+
uri: https://api.clever.com/v1.1/schools?count=true
|
58
60
|
body:
|
59
61
|
encoding: US-ASCII
|
60
62
|
string: ''
|
@@ -63,6 +65,8 @@ http_interactions:
|
|
63
65
|
- ! '*/*; q=0.5, application/xml'
|
64
66
|
Accept-Encoding:
|
65
67
|
- gzip, deflate
|
68
|
+
Authorization:
|
69
|
+
- Bearer DEMO_TOKEN
|
66
70
|
User-Agent:
|
67
71
|
- Ruby
|
68
72
|
response:
|
@@ -79,7 +83,7 @@ http_interactions:
|
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Date:
|
82
|
-
-
|
86
|
+
- Sat, 13 Sep 2014 00:04:54 GMT
|
83
87
|
Server:
|
84
88
|
- nginx/1.4.7
|
85
89
|
X-Powered-By:
|
@@ -92,5 +96,5 @@ http_interactions:
|
|
92
96
|
encoding: US-ASCII
|
93
97
|
string: ! '{"count":3,"links":[{"rel":"self","uri":"/v1.1/schools?count=true"}]}'
|
94
98
|
http_version:
|
95
|
-
recorded_at:
|
96
|
-
recorded_with: VCR 2.
|
99
|
+
recorded_at: Sat, 13 Sep 2014 00:04:54 GMT
|
100
|
+
recorded_with: VCR 2.9.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/schools?limit=20
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:05:04 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"275883657"'
|
33
35
|
Server:
|
@@ -51,10 +53,10 @@ http_interactions:
|
|
51
53
|
Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
|
52
54
|
Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"paging":{"current":1,"total":1,"count":3},"links":[{"rel":"self","uri":"/v1.1/schools?limit=20"}]}'
|
53
55
|
http_version:
|
54
|
-
recorded_at:
|
56
|
+
recorded_at: Sat, 13 Sep 2014 00:05:04 GMT
|
55
57
|
- request:
|
56
58
|
method: get
|
57
|
-
uri: https://
|
59
|
+
uri: https://api.clever.com/v1.1/schools?where=%7B%22_id%22:%7B%22$in%22:%5B%22530e595026403103360ff9fd%22,%22530e595026403103360ff9ff%22%5D%7D%7D
|
58
60
|
body:
|
59
61
|
encoding: US-ASCII
|
60
62
|
string: ''
|
@@ -63,6 +65,8 @@ http_interactions:
|
|
63
65
|
- ! '*/*; q=0.5, application/xml'
|
64
66
|
Accept-Encoding:
|
65
67
|
- gzip, deflate
|
68
|
+
Authorization:
|
69
|
+
- Bearer DEMO_TOKEN
|
66
70
|
User-Agent:
|
67
71
|
- Ruby
|
68
72
|
response:
|
@@ -79,7 +83,7 @@ http_interactions:
|
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Date:
|
82
|
-
-
|
86
|
+
- Sat, 13 Sep 2014 00:05:05 GMT
|
83
87
|
Etag:
|
84
88
|
- ! '"-1879088916"'
|
85
89
|
Server:
|
@@ -100,5 +104,5 @@ http_interactions:
|
|
100
104
|
Middle School","nces_id":"360001000000","phone":"(718) 555-8989","principal":{"name":"Leonard
|
101
105
|
Springsteen","email":"lspringsteen@mailinator.com"},"school_number":"27Q321","sis_id":"27Q321","state_id":"412","id":"530e595026403103360ff9ff"},"uri":"/v1.1/schools/530e595026403103360ff9ff"}],"paging":{"current":1,"total":1,"count":2},"links":[{"rel":"self","uri":"/v1.1/schools?where=%7B%22_id%22:%7B%22$in%22:[%22530e595026403103360ff9fd%22,%22530e595026403103360ff9ff%22]%7D%7D"}]}'
|
102
106
|
http_version:
|
103
|
-
recorded_at:
|
104
|
-
recorded_with: VCR 2.
|
107
|
+
recorded_at: Sat, 13 Sep 2014 00:05:05 GMT
|
108
|
+
recorded_with: VCR 2.9.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/sections
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:05:02 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"1525695678"'
|
33
35
|
Server:
|
@@ -304,10 +306,10 @@ http_interactions:
|
|
304
306
|
I","course_number":"101","created":"2014-02-26T21:15:38.354Z","district":"4fd43cc56d11340000000005","grade":"9","last_modified":"2014-02-26T21:15:38.356Z","name":"French
|
305
307
|
I - 101 - G. Gorczany (Section 1)","period":"9","school":"530e595026403103360ff9fd","sis_id":"681","students":["530e5960049e75a9262cff1e","530e5960049e75a9262cff4b","530e5960049e75a9262cff5b","530e5960049e75a9262cff7a","530e5961049e75a9262cfffb","530e5961049e75a9262d005d","530e5961049e75a9262d0070","530e5962049e75a9262d00e8","530e5962049e75a9262d00ff","530e5962049e75a9262d015f","530e5963049e75a9262d0211","530e5963049e75a9262d022f","530e5964049e75a9262d0284","530e5964049e75a9262d02a9","530e5964049e75a9262d02c3","530e5965049e75a9262d0325","530e5965049e75a9262d033f","530e5965049e75a9262d036c","530e5965049e75a9262d038f","530e5966049e75a9262d03f8","530e5966049e75a9262d0468","530e5966049e75a9262d046c","530e5966049e75a9262d0471","530e5966049e75a9262d0496","530e5967049e75a9262d057e","530e5967049e75a9262d0590","530e5967049e75a9262d05b5","530e5968049e75a9262d05cb","530e5968049e75a9262d05d1","530e5968049e75a9262d05e3","530e5968049e75a9262d0605","530e5968049e75a9262d061c","530e5968049e75a9262d063c"],"subject":"language","teacher":"530e5955d50c310f36112bf9","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e597a049e75a9262d0b55"},"uri":"/v1.1/sections/530e597a049e75a9262d0b55"}],"paging":{"current":1,"total":4,"count":379},"links":[{"rel":"self","uri":"/v1.1/sections"},{"rel":"next","uri":"/v1.1/sections?starting_after=530e597a049e75a9262d0b55"}]}'
|
306
308
|
http_version:
|
307
|
-
recorded_at:
|
309
|
+
recorded_at: Sat, 13 Sep 2014 00:05:02 GMT
|
308
310
|
- request:
|
309
311
|
method: get
|
310
|
-
uri: https://
|
312
|
+
uri: https://api.clever.com//v1.1/sections?starting_after=530e597a049e75a9262d0b55
|
311
313
|
body:
|
312
314
|
encoding: US-ASCII
|
313
315
|
string: ''
|
@@ -316,6 +318,8 @@ http_interactions:
|
|
316
318
|
- ! '*/*; q=0.5, application/xml'
|
317
319
|
Accept-Encoding:
|
318
320
|
- gzip, deflate
|
321
|
+
Authorization:
|
322
|
+
- Bearer DEMO_TOKEN
|
319
323
|
User-Agent:
|
320
324
|
- Ruby
|
321
325
|
response:
|
@@ -332,7 +336,7 @@ http_interactions:
|
|
332
336
|
Content-Type:
|
333
337
|
- application/json; charset=utf-8
|
334
338
|
Date:
|
335
|
-
-
|
339
|
+
- Sat, 13 Sep 2014 00:05:03 GMT
|
336
340
|
Etag:
|
337
341
|
- ! '"-2141551314"'
|
338
342
|
Server:
|
@@ -563,10 +567,10 @@ http_interactions:
|
|
563
567
|
Class 602","course_number":"602","created":"2014-02-26T21:15:38.782Z","district":"4fd43cc56d11340000000005","grade":"6","last_modified":"2014-02-26T21:15:38.785Z","name":"Mathematics,
|
564
568
|
Class 602 - 602 - B. Goldner","period":"3","school":"530e595026403103360ff9ff","sis_id":"781","students":["530e5960049e75a9262cff4e","530e5961049e75a9262cffed","530e5961049e75a9262cfff5","530e5961049e75a9262d0009","530e5961049e75a9262d000f","530e5961049e75a9262d005e","530e5961049e75a9262d0083","530e5962049e75a9262d0098","530e5962049e75a9262d00a0","530e5962049e75a9262d00d4","530e5962049e75a9262d010b","530e5963049e75a9262d0220","530e5964049e75a9262d02b3","530e5964049e75a9262d02b8","530e5964049e75a9262d02f6","530e5965049e75a9262d034c","530e5965049e75a9262d0389","530e5965049e75a9262d03c5","530e5966049e75a9262d041e","530e5966049e75a9262d0494","530e5967049e75a9262d05ae","530e5967049e75a9262d05c4","530e5968049e75a9262d05d6","530e5968049e75a9262d05f3","530e5968049e75a9262d05ff","530e5968049e75a9262d060b"],"subject":"math","teacher":"530e5955d50c310f36112be0","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e597a049e75a9262d0bb9"},"uri":"/v1.1/sections/530e597a049e75a9262d0bb9"}],"links":[{"rel":"self","uri":"/v1.1/sections?starting_after=530e597a049e75a9262d0b55"},{"rel":"prev","uri":"/v1.1/sections?ending_before=530e597a049e75a9262d0b56"},{"rel":"next","uri":"/v1.1/sections?starting_after=530e597a049e75a9262d0bb9"}]}'
|
565
569
|
http_version:
|
566
|
-
recorded_at:
|
570
|
+
recorded_at: Sat, 13 Sep 2014 00:05:03 GMT
|
567
571
|
- request:
|
568
572
|
method: get
|
569
|
-
uri: https://
|
573
|
+
uri: https://api.clever.com//v1.1/sections?starting_after=530e597a049e75a9262d0bb9
|
570
574
|
body:
|
571
575
|
encoding: US-ASCII
|
572
576
|
string: ''
|
@@ -575,6 +579,8 @@ http_interactions:
|
|
575
579
|
- ! '*/*; q=0.5, application/xml'
|
576
580
|
Accept-Encoding:
|
577
581
|
- gzip, deflate
|
582
|
+
Authorization:
|
583
|
+
- Bearer DEMO_TOKEN
|
578
584
|
User-Agent:
|
579
585
|
- Ruby
|
580
586
|
response:
|
@@ -591,7 +597,7 @@ http_interactions:
|
|
591
597
|
Content-Type:
|
592
598
|
- application/json; charset=utf-8
|
593
599
|
Date:
|
594
|
-
-
|
600
|
+
- Sat, 13 Sep 2014 00:05:03 GMT
|
595
601
|
Etag:
|
596
602
|
- ! '"-126630109"'
|
597
603
|
Server:
|
@@ -864,10 +870,10 @@ http_interactions:
|
|
864
870
|
Chemistry","course_number":"404","created":"2014-02-26T21:15:39.240Z","district":"4fd43cc56d11340000000005","grade":"12","last_modified":"2014-02-26T21:15:39.242Z","name":"AP
|
865
871
|
Chemistry - 404 - M. Kulas (Section 3)","period":"3","school":"530e595026403103360ff9fd","sis_id":"881","students":["530e5960049e75a9262cff52","530e5960049e75a9262cff67","530e5960049e75a9262cff6a","530e5961049e75a9262cffb7","530e5961049e75a9262d005b","530e5962049e75a9262d012c","530e5962049e75a9262d015b","530e5963049e75a9262d018b","530e5963049e75a9262d0209","530e5963049e75a9262d024a","530e5964049e75a9262d02ee","530e5965049e75a9262d0326","530e5965049e75a9262d0332","530e5965049e75a9262d0349","530e5965049e75a9262d0372","530e5966049e75a9262d0447","530e5967049e75a9262d04fa","530e5967049e75a9262d058c","530e5968049e75a9262d05dc","530e5968049e75a9262d063b"],"subject":"science","teacher":"530e5955d50c310f36112bd6","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e597b049e75a9262d0c1d"},"uri":"/v1.1/sections/530e597b049e75a9262d0c1d"}],"links":[{"rel":"self","uri":"/v1.1/sections?starting_after=530e597a049e75a9262d0bb9"},{"rel":"prev","uri":"/v1.1/sections?ending_before=530e597a049e75a9262d0bba"},{"rel":"next","uri":"/v1.1/sections?starting_after=530e597b049e75a9262d0c1d"}]}'
|
866
872
|
http_version:
|
867
|
-
recorded_at:
|
873
|
+
recorded_at: Sat, 13 Sep 2014 00:05:03 GMT
|
868
874
|
- request:
|
869
875
|
method: get
|
870
|
-
uri: https://
|
876
|
+
uri: https://api.clever.com//v1.1/sections?starting_after=530e597b049e75a9262d0c1d
|
871
877
|
body:
|
872
878
|
encoding: US-ASCII
|
873
879
|
string: ''
|
@@ -876,6 +882,8 @@ http_interactions:
|
|
876
882
|
- ! '*/*; q=0.5, application/xml'
|
877
883
|
Accept-Encoding:
|
878
884
|
- gzip, deflate
|
885
|
+
Authorization:
|
886
|
+
- Bearer DEMO_TOKEN
|
879
887
|
User-Agent:
|
880
888
|
- Ruby
|
881
889
|
response:
|
@@ -892,7 +900,7 @@ http_interactions:
|
|
892
900
|
Content-Type:
|
893
901
|
- application/json; charset=utf-8
|
894
902
|
Date:
|
895
|
-
-
|
903
|
+
- Sat, 13 Sep 2014 00:05:04 GMT
|
896
904
|
Etag:
|
897
905
|
- ! '"-790023927"'
|
898
906
|
Server:
|
@@ -1101,10 +1109,10 @@ http_interactions:
|
|
1101
1109
|
to Visual Arts - 100 - R. Plant","period":"1","school":"530e595026403103360ff9fd","sis_id":"960","students":["530e5960049e75a9262cff3c","530e5961049e75a9262cffcd","530e5961049e75a9262d001a","530e5961049e75a9262d0038","530e5961049e75a9262d0048","530e5961049e75a9262d0085","530e5962049e75a9262d00e8","530e5962049e75a9262d015f","530e5963049e75a9262d01a2","530e5963049e75a9262d022f","530e5964049e75a9262d02d3","530e5965049e75a9262d0325","530e5966049e75a9262d04d7","530e5967049e75a9262d0501","530e5967049e75a9262d052d","530e5967049e75a9262d05b5","530e5967049e75a9262d05be","530e5968049e75a9262d05cb","530e5968049e75a9262d061c","530e5968049e75a9262d063c"],"subject":"arts
|
1102
1110
|
and music","teacher":"530e5955d50c310f36112c09","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e597b049e75a9262d0c6c"},"uri":"/v1.1/sections/530e597b049e75a9262d0c6c"}],"links":[{"rel":"self","uri":"/v1.1/sections?starting_after=530e597b049e75a9262d0c1d"},{"rel":"prev","uri":"/v1.1/sections?ending_before=530e597b049e75a9262d0c1e"}]}'
|
1103
1111
|
http_version:
|
1104
|
-
recorded_at:
|
1112
|
+
recorded_at: Sat, 13 Sep 2014 00:05:04 GMT
|
1105
1113
|
- request:
|
1106
1114
|
method: get
|
1107
|
-
uri: https://
|
1115
|
+
uri: https://api.clever.com/v1.1/sections?count=true
|
1108
1116
|
body:
|
1109
1117
|
encoding: US-ASCII
|
1110
1118
|
string: ''
|
@@ -1113,6 +1121,8 @@ http_interactions:
|
|
1113
1121
|
- ! '*/*; q=0.5, application/xml'
|
1114
1122
|
Accept-Encoding:
|
1115
1123
|
- gzip, deflate
|
1124
|
+
Authorization:
|
1125
|
+
- Bearer DEMO_TOKEN
|
1116
1126
|
User-Agent:
|
1117
1127
|
- Ruby
|
1118
1128
|
response:
|
@@ -1129,7 +1139,7 @@ http_interactions:
|
|
1129
1139
|
Content-Type:
|
1130
1140
|
- application/json; charset=utf-8
|
1131
1141
|
Date:
|
1132
|
-
-
|
1142
|
+
- Sat, 13 Sep 2014 00:05:04 GMT
|
1133
1143
|
Server:
|
1134
1144
|
- nginx/1.4.7
|
1135
1145
|
X-Powered-By:
|
@@ -1142,5 +1152,5 @@ http_interactions:
|
|
1142
1152
|
encoding: US-ASCII
|
1143
1153
|
string: ! '{"count":379,"links":[{"rel":"self","uri":"/v1.1/sections?count=true"}]}'
|
1144
1154
|
http_version:
|
1145
|
-
recorded_at:
|
1146
|
-
recorded_with: VCR 2.
|
1155
|
+
recorded_at: Sat, 13 Sep 2014 00:05:04 GMT
|
1156
|
+
recorded_with: VCR 2.9.3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/sections?limit=20
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:02:46 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"-1690172883"'
|
33
35
|
Server:
|
@@ -81,10 +83,10 @@ http_interactions:
|
|
81
83
|
Guidance","course_number":"905","created":"2014-02-26T21:15:38.011Z","district":"4fd43cc56d11340000000005","grade":"9","last_modified":"2014-02-26T21:15:38.013Z","name":"Group
|
82
84
|
Guidance - 905 - J. Cummings (Section 5)","period":"0","school":"530e595026403103360ff9fd","sis_id":"600","students":["530e5960049e75a9262cff1e","530e5960049e75a9262cff27","530e5960049e75a9262cff5b","530e5961049e75a9262cfffb","530e5961049e75a9262d0038","530e5961049e75a9262d0089","530e5962049e75a9262d00ba","530e5962049e75a9262d00e6","530e5963049e75a9262d0181","530e5963049e75a9262d020f","530e5963049e75a9262d021b","530e5964049e75a9262d02d3","530e5965049e75a9262d033c","530e5966049e75a9262d045e","530e5966049e75a9262d0496","530e5966049e75a9262d04a5","530e5968049e75a9262d063c"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c16","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e597a049e75a9262d0b05"},"uri":"/v1.1/sections/530e597a049e75a9262d0b05"}],"paging":{"current":1,"total":19,"count":379},"links":[{"rel":"self","uri":"/v1.1/sections?limit=20"},{"rel":"next","uri":"/v1.1/sections?limit=20&starting_after=530e597a049e75a9262d0b05"}]}'
|
83
85
|
http_version:
|
84
|
-
recorded_at:
|
86
|
+
recorded_at: Sat, 13 Sep 2014 00:02:46 GMT
|
85
87
|
- request:
|
86
88
|
method: get
|
87
|
-
uri: https://
|
89
|
+
uri: https://api.clever.com/v1.1/sections?where=%7B%22_id%22:%7B%22$in%22:%5B%22530e5979049e75a9262d0af2%22,%22530e5979049e75a9262d0af4%22,%22530e5979049e75a9262d0af6%22,%22530e5979049e75a9262d0af8%22,%22530e5979049e75a9262d0afa%22,%22530e5979049e75a9262d0afc%22,%22530e5979049e75a9262d0afe%22,%22530e5979049e75a9262d0b00%22,%22530e5979049e75a9262d0b02%22,%22530e597a049e75a9262d0b04%22%5D%7D%7D
|
88
90
|
body:
|
89
91
|
encoding: US-ASCII
|
90
92
|
string: ''
|
@@ -93,6 +95,8 @@ http_interactions:
|
|
93
95
|
- ! '*/*; q=0.5, application/xml'
|
94
96
|
Accept-Encoding:
|
95
97
|
- gzip, deflate
|
98
|
+
Authorization:
|
99
|
+
- Bearer DEMO_TOKEN
|
96
100
|
User-Agent:
|
97
101
|
- Ruby
|
98
102
|
response:
|
@@ -109,7 +113,7 @@ http_interactions:
|
|
109
113
|
Content-Type:
|
110
114
|
- application/json; charset=utf-8
|
111
115
|
Date:
|
112
|
-
-
|
116
|
+
- Sat, 13 Sep 2014 00:02:47 GMT
|
113
117
|
Etag:
|
114
118
|
- ! '"-1277459956"'
|
115
119
|
Server:
|
@@ -143,5 +147,5 @@ http_interactions:
|
|
143
147
|
Guidance","course_number":"904","created":"2014-02-26T21:15:38.006Z","district":"4fd43cc56d11340000000005","grade":"9","last_modified":"2014-02-26T21:15:38.008Z","name":"Group
|
144
148
|
Guidance - 904 - J. Isaacs (Section 4)","period":"0","school":"530e595026403103360ff9fd","sis_id":"599","students":["530e5960049e75a9262cff23","530e5960049e75a9262cff3c","530e5961049e75a9262d007d","530e5962049e75a9262d0127","530e5962049e75a9262d0174","530e5963049e75a9262d019f","530e5963049e75a9262d01fb","530e5963049e75a9262d0231","530e5964049e75a9262d02a9","530e5965049e75a9262d0325","530e5965049e75a9262d03a5","530e5966049e75a9262d042b","530e5966049e75a9262d048d","530e5967049e75a9262d05b5","530e5967049e75a9262d05be","530e5968049e75a9262d0605","530e5968049e75a9262d0646"],"subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c14","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"id":"530e597a049e75a9262d0b04"},"uri":"/v1.1/sections/530e597a049e75a9262d0b04"}],"paging":{"current":1,"total":1,"count":10},"links":[{"rel":"self","uri":"/v1.1/sections?where=%7B%22_id%22:%7B%22$in%22:[%22530e5979049e75a9262d0af2%22,%22530e5979049e75a9262d0af4%22,%22530e5979049e75a9262d0af6%22,%22530e5979049e75a9262d0af8%22,%22530e5979049e75a9262d0afa%22,%22530e5979049e75a9262d0afc%22,%22530e5979049e75a9262d0afe%22,%22530e5979049e75a9262d0b00%22,%22530e5979049e75a9262d0b02%22,%22530e597a049e75a9262d0b04%22]%7D%7D"}]}'
|
145
149
|
http_version:
|
146
|
-
recorded_at:
|
147
|
-
recorded_with: VCR 2.
|
150
|
+
recorded_at: Sat, 13 Sep 2014 00:02:47 GMT
|
151
|
+
recorded_with: VCR 2.9.3
|
data/test/data/vcr_cassettes/{students.yml → Clever_APIOperations_List/finds_students_by_page.yml}
RENAMED
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://
|
5
|
+
uri: https://api.clever.com/v1.1/students
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -11,6 +11,8 @@ http_interactions:
|
|
11
11
|
- ! '*/*; q=0.5, application/xml'
|
12
12
|
Accept-Encoding:
|
13
13
|
- gzip, deflate
|
14
|
+
Authorization:
|
15
|
+
- Bearer DEMO_TOKEN
|
14
16
|
User-Agent:
|
15
17
|
- Ruby
|
16
18
|
response:
|
@@ -27,7 +29,7 @@ http_interactions:
|
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Date:
|
30
|
-
-
|
32
|
+
- Sat, 13 Sep 2014 00:03:49 GMT
|
31
33
|
Etag:
|
32
34
|
- ! '"-1704869160"'
|
33
35
|
Server:
|
@@ -113,10 +115,10 @@ http_interactions:
|
|
113
115
|
or More Races","school":"530e595026403103360ff9ff","sis_id":"189422359","state_id":"949395711","student_number":"189422359","id":"530e5961049e75a9262cffe3"},"uri":"/v1.1/students/530e5961049e75a9262cffe3"},{"data":{"created":"2014-02-26T21:15:13.206Z","credentials":{"district_username":"mial61","district_password":"uka5Hixae"},"district":"4fd43cc56d11340000000005","dob":"11/10/2002","ell_status":"N","email":"l_mia@example.org","frl_status":"Paid","gender":"F","grade":"5","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.072Z","location":{"zip":"10002"},"name":{"first":"Mia","middle":"J","last":"Lindgren"},"race":"Black
|
114
116
|
or African American","school":"530e595026403103360ff9fe","sis_id":"189492161","state_id":"661166974","student_number":"189492161","id":"530e5961049e75a9262cffe4"},"uri":"/v1.1/students/530e5961049e75a9262cffe4"}],"paging":{"current":1,"total":11,"count":1004},"links":[{"rel":"self","uri":"/v1.1/students"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"}]}'
|
115
117
|
http_version:
|
116
|
-
recorded_at:
|
118
|
+
recorded_at: Sat, 13 Sep 2014 00:03:49 GMT
|
117
119
|
- request:
|
118
120
|
method: get
|
119
|
-
uri: https://
|
121
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5961049e75a9262cffe4
|
120
122
|
body:
|
121
123
|
encoding: US-ASCII
|
122
124
|
string: ''
|
@@ -125,6 +127,8 @@ http_interactions:
|
|
125
127
|
- ! '*/*; q=0.5, application/xml'
|
126
128
|
Accept-Encoding:
|
127
129
|
- gzip, deflate
|
130
|
+
Authorization:
|
131
|
+
- Bearer DEMO_TOKEN
|
128
132
|
User-Agent:
|
129
133
|
- Ruby
|
130
134
|
response:
|
@@ -141,7 +145,7 @@ http_interactions:
|
|
141
145
|
Content-Type:
|
142
146
|
- application/json; charset=utf-8
|
143
147
|
Date:
|
144
|
-
-
|
148
|
+
- Sat, 13 Sep 2014 00:03:50 GMT
|
145
149
|
Etag:
|
146
150
|
- ! '"841128607"'
|
147
151
|
Server:
|
@@ -220,10 +224,10 @@ http_interactions:
|
|
220
224
|
or More Races","school":"530e595026403103360ff9ff","sis_id":"281506967","state_id":"783233963","student_number":"281506967","id":"530e5962049e75a9262d00a0"},"uri":"/v1.1/students/530e5962049e75a9262d00a0"},{"data":{"created":"2014-02-26T21:15:14.041Z","credentials":{"district_username":"ethans60","district_password":"iv5ooga4Ie"},"district":"4fd43cc56d11340000000005","dob":"10/19/2004","ell_status":"N","email":"s_ethan@example.com","frl_status":"Paid","gender":"M","grade":"3","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.470Z","location":{"zip":"10465"},"name":{"first":"Ethan","middle":"S","last":"Stokes"},"race":"Caucasian","school":"530e595026403103360ff9fe","sis_id":"281770560","state_id":"424914041","student_number":"281770560","id":"530e5962049e75a9262d00a2"},"uri":"/v1.1/students/530e5962049e75a9262d00a2"},{"data":{"created":"2014-02-26T21:15:14.049Z","credentials":{"district_username":"kimberlyt62","district_password":"Ue7oevee"},"district":"4fd43cc56d11340000000005","dob":"12/24/1997","ell_status":"N","email":"t.kimberly@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.482Z","location":{"zip":"11695"},"name":{"first":"Kimberly","middle":"J","last":"Torphy"},"race":"Black
|
221
225
|
or African American","school":"530e595026403103360ff9fd","sis_id":"282491062","state_id":"918036457","student_number":"282491062","id":"530e5962049e75a9262d00a5"},"uri":"/v1.1/students/530e5962049e75a9262d00a5"},{"data":{"created":"2014-02-26T21:15:14.060Z","credentials":{"district_username":"alexp21","district_password":"la8ohShee"},"district":"4fd43cc56d11340000000005","dob":"9/24/2003","ell_status":"N","email":"p.alex@example.com","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:41.486Z","location":{"zip":"10018"},"name":{"first":"Alex","middle":"M","last":"Pacocha"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"283207621","state_id":"729866081","student_number":"283207621","id":"530e5962049e75a9262d00a9"},"uri":"/v1.1/students/530e5962049e75a9262d00a9"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5961049e75a9262cffe4"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5961049e75a9262cffe5"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5962049e75a9262d00a9"}]}'
|
222
226
|
http_version:
|
223
|
-
recorded_at:
|
227
|
+
recorded_at: Sat, 13 Sep 2014 00:03:50 GMT
|
224
228
|
- request:
|
225
229
|
method: get
|
226
|
-
uri: https://
|
230
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5962049e75a9262d00a9
|
227
231
|
body:
|
228
232
|
encoding: US-ASCII
|
229
233
|
string: ''
|
@@ -232,6 +236,8 @@ http_interactions:
|
|
232
236
|
- ! '*/*; q=0.5, application/xml'
|
233
237
|
Accept-Encoding:
|
234
238
|
- gzip, deflate
|
239
|
+
Authorization:
|
240
|
+
- Bearer DEMO_TOKEN
|
235
241
|
User-Agent:
|
236
242
|
- Ruby
|
237
243
|
response:
|
@@ -248,7 +254,7 @@ http_interactions:
|
|
248
254
|
Content-Type:
|
249
255
|
- application/json; charset=utf-8
|
250
256
|
Date:
|
251
|
-
-
|
257
|
+
- Sat, 13 Sep 2014 00:03:50 GMT
|
252
258
|
Etag:
|
253
259
|
- ! '"-968465703"'
|
254
260
|
Server:
|
@@ -331,10 +337,10 @@ http_interactions:
|
|
331
337
|
or African American","school":"530e595026403103360ff9fd","sis_id":"365272887","state_id":"700708728","student_number":"365272887","id":"530e5962049e75a9262d015f"},"uri":"/v1.1/students/530e5962049e75a9262d015f"},{"data":{"created":"2014-02-26T21:15:14.870Z","credentials":{"district_username":"virgiem43","district_password":"Lein8oop"},"district":"4fd43cc56d11340000000005","dob":"1/20/2005","ell_status":"N","email":"m_virgie@example.net","frl_status":"Paid","gender":"F","grade":"2","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:41.888Z","location":{"zip":"10465"},"name":{"first":"Virgie","middle":"J","last":"Mueller"},"race":"Black
|
332
338
|
or African American","school":"530e595026403103360ff9fe","sis_id":"365316343","state_id":"857518638","student_number":"365316343","id":"530e5962049e75a9262d0160"},"uri":"/v1.1/students/530e5962049e75a9262d0160"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5962049e75a9262d00a9"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5962049e75a9262d00ac"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5962049e75a9262d0160"}]}'
|
333
339
|
http_version:
|
334
|
-
recorded_at:
|
340
|
+
recorded_at: Sat, 13 Sep 2014 00:03:50 GMT
|
335
341
|
- request:
|
336
342
|
method: get
|
337
|
-
uri: https://
|
343
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5962049e75a9262d0160
|
338
344
|
body:
|
339
345
|
encoding: US-ASCII
|
340
346
|
string: ''
|
@@ -343,6 +349,8 @@ http_interactions:
|
|
343
349
|
- ! '*/*; q=0.5, application/xml'
|
344
350
|
Accept-Encoding:
|
345
351
|
- gzip, deflate
|
352
|
+
Authorization:
|
353
|
+
- Bearer DEMO_TOKEN
|
346
354
|
User-Agent:
|
347
355
|
- Ruby
|
348
356
|
response:
|
@@ -359,7 +367,7 @@ http_interactions:
|
|
359
367
|
Content-Type:
|
360
368
|
- application/json; charset=utf-8
|
361
369
|
Date:
|
362
|
-
-
|
370
|
+
- Sat, 13 Sep 2014 00:03:50 GMT
|
363
371
|
Etag:
|
364
372
|
- ! '"-1723479948"'
|
365
373
|
Server:
|
@@ -443,10 +451,10 @@ http_interactions:
|
|
443
451
|
or More Races","school":"530e595026403103360ff9ff","sis_id":"443841431","state_id":"888501124","student_number":"443841431","id":"530e5963049e75a9262d0220"},"uri":"/v1.1/students/530e5963049e75a9262d0220"},{"data":{"created":"2014-02-26T21:15:15.683Z","credentials":{"district_username":"myrnaw92","district_password":"si7fuD3oh"},"district":"4fd43cc56d11340000000005","dob":"12/19/2006","ell_status":"Y","email":"w.myrna@example.com","frl_status":"Paid","gender":"F","grade":"1","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.288Z","location":{"zip":"10007"},"name":{"first":"Myrna","middle":"J","last":"Wilkinson"},"race":"Black
|
444
452
|
or African American","school":"530e595026403103360ff9fe","sis_id":"447837192","state_id":"100034975","student_number":"447837192","id":"530e5963049e75a9262d0225"},"uri":"/v1.1/students/530e5963049e75a9262d0225"},{"data":{"created":"2014-02-26T21:15:15.691Z","credentials":{"district_username":"sharons28","district_password":"uo2eoL3aiZ"},"district":"4fd43cc56d11340000000005","dob":"12/7/1995","ell_status":"Y","email":"s_sharon@example.net","frl_status":"Paid","gender":"F","grade":"12","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.293Z","location":{"zip":"10309"},"name":{"first":"Sharon","middle":"R","last":"Schamberger"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"449269728","state_id":"870415736","student_number":"449269728","id":"530e5963049e75a9262d0227"},"uri":"/v1.1/students/530e5963049e75a9262d0227"},{"data":{"created":"2014-02-26T21:15:15.696Z","credentials":{"district_username":"christineh14","district_password":"aeWaib2ahs6"},"district":"4fd43cc56d11340000000005","dob":"11/13/1999","ell_status":"N","email":"christine.h@example.com","frl_status":"Paid","gender":"F","grade":"8","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.297Z","location":{"zip":"10466"},"name":{"first":"Christine","middle":"K","last":"Hoppe"},"race":"Caucasian","school":"530e595026403103360ff9ff","sis_id":"450147614","state_id":"823859002","student_number":"450147614","id":"530e5963049e75a9262d0228"},"uri":"/v1.1/students/530e5963049e75a9262d0228"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5962049e75a9262d0160"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5962049e75a9262d0161"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5963049e75a9262d0228"}]}'
|
445
453
|
http_version:
|
446
|
-
recorded_at:
|
454
|
+
recorded_at: Sat, 13 Sep 2014 00:03:50 GMT
|
447
455
|
- request:
|
448
456
|
method: get
|
449
|
-
uri: https://
|
457
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5963049e75a9262d0228
|
450
458
|
body:
|
451
459
|
encoding: US-ASCII
|
452
460
|
string: ''
|
@@ -455,6 +463,8 @@ http_interactions:
|
|
455
463
|
- ! '*/*; q=0.5, application/xml'
|
456
464
|
Accept-Encoding:
|
457
465
|
- gzip, deflate
|
466
|
+
Authorization:
|
467
|
+
- Bearer DEMO_TOKEN
|
458
468
|
User-Agent:
|
459
469
|
- Ruby
|
460
470
|
response:
|
@@ -471,7 +481,7 @@ http_interactions:
|
|
471
481
|
Content-Type:
|
472
482
|
- application/json; charset=utf-8
|
473
483
|
Date:
|
474
|
-
-
|
484
|
+
- Sat, 13 Sep 2014 00:03:51 GMT
|
475
485
|
Etag:
|
476
486
|
- ! '"1170102698"'
|
477
487
|
Server:
|
@@ -552,10 +562,10 @@ http_interactions:
|
|
552
562
|
or African American","school":"530e595026403103360ff9fd","sis_id":"534675808","state_id":"651155420","student_number":"534675808","id":"530e5964049e75a9262d02d9"},"uri":"/v1.1/students/530e5964049e75a9262d02d9"},{"data":{"created":"2014-02-26T21:15:16.705Z","credentials":{"district_username":"vivians08","district_password":"Quieze4sh"},"district":"4fd43cc56d11340000000005","dob":"2/27/2000","ell_status":"N","email":"s_vivian@example.net","frl_status":"Paid","gender":"F","grade":"7","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.690Z","location":{"zip":"11355"},"name":{"first":"Vivian","middle":"K","last":"Schaefer"},"race":"Caucasian","school":"530e595026403103360ff9ff","sis_id":"538539808","state_id":"195542681","student_number":"538539808","id":"530e5964049e75a9262d02de"},"uri":"/v1.1/students/530e5964049e75a9262d02de"},{"data":{"created":"2014-02-26T21:15:16.713Z","credentials":{"district_username":"williamf53","district_password":"ahng4Ceeth"},"district":"4fd43cc56d11340000000005","dob":"7/21/2003","ell_status":"Y","email":"william_f@example.net","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:42.694Z","location":{"zip":"11217"},"name":{"first":"William","middle":"M","last":"Franecki"},"race":"Two
|
553
563
|
or More Races","school":"530e595026403103360ff9fe","sis_id":"538754153","state_id":"287289543","student_number":"538754153","id":"530e5964049e75a9262d02e1"},"uri":"/v1.1/students/530e5964049e75a9262d02e1"},{"data":{"created":"2014-02-26T21:15:16.740Z","credentials":{"district_username":"dianen73","district_password":"eel7Thohd"},"district":"4fd43cc56d11340000000005","dob":"6/16/1996","ell_status":"N","email":"n_diane@example.net","frl_status":"Paid","gender":"F","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:42.697Z","location":{"zip":"11691"},"name":{"first":"Diane","middle":"J","last":"Nader"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"541253373","state_id":"817987559","student_number":"541253373","id":"530e5964049e75a9262d02e7"},"uri":"/v1.1/students/530e5964049e75a9262d02e7"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5963049e75a9262d0228"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5963049e75a9262d0229"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5964049e75a9262d02e7"}]}'
|
554
564
|
http_version:
|
555
|
-
recorded_at:
|
565
|
+
recorded_at: Sat, 13 Sep 2014 00:03:51 GMT
|
556
566
|
- request:
|
557
567
|
method: get
|
558
|
-
uri: https://
|
568
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5964049e75a9262d02e7
|
559
569
|
body:
|
560
570
|
encoding: US-ASCII
|
561
571
|
string: ''
|
@@ -564,6 +574,8 @@ http_interactions:
|
|
564
574
|
- ! '*/*; q=0.5, application/xml'
|
565
575
|
Accept-Encoding:
|
566
576
|
- gzip, deflate
|
577
|
+
Authorization:
|
578
|
+
- Bearer DEMO_TOKEN
|
567
579
|
User-Agent:
|
568
580
|
- Ruby
|
569
581
|
response:
|
@@ -580,7 +592,7 @@ http_interactions:
|
|
580
592
|
Content-Type:
|
581
593
|
- application/json; charset=utf-8
|
582
594
|
Date:
|
583
|
-
-
|
595
|
+
- Sat, 13 Sep 2014 00:03:51 GMT
|
584
596
|
Etag:
|
585
597
|
- ! '"901956348"'
|
586
598
|
Server:
|
@@ -657,10 +669,10 @@ http_interactions:
|
|
657
669
|
or African American","school":"530e595026403103360ff9fe","sis_id":"636094492","state_id":"187787907","student_number":"636094492","id":"530e5965049e75a9262d03b5"},"uri":"/v1.1/students/530e5965049e75a9262d03b5"},{"data":{"created":"2014-02-26T21:15:17.758Z","credentials":{"district_username":"marvink72","district_password":"XieC1pha0Aa"},"district":"4fd43cc56d11340000000005","dob":"7/29/1997","ell_status":"Y","email":"k.marvin@example.net","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.090Z","location":{"zip":"10033"},"name":{"first":"Marvin","middle":"R","last":"Kerluke"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"636206672","state_id":"513617328","student_number":"636206672","id":"530e5965049e75a9262d03b6"},"uri":"/v1.1/students/530e5965049e75a9262d03b6"},{"data":{"created":"2014-02-26T21:15:17.764Z","credentials":{"district_username":"brandons01","district_password":"uuGhie5poo"},"district":"4fd43cc56d11340000000005","dob":"2/9/2001","ell_status":"Y","email":"s.brandon@example.com","frl_status":"Paid","gender":"M","grade":"6","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.095Z","location":{"zip":"10303"},"name":{"first":"Brandon","middle":"D","last":"Satterfield"},"race":"Black
|
658
670
|
or African American","school":"530e595026403103360ff9ff","sis_id":"636675101","state_id":"341635613","student_number":"636675101","id":"530e5965049e75a9262d03b7"},"uri":"/v1.1/students/530e5965049e75a9262d03b7"},{"data":{"created":"2014-02-26T21:15:17.768Z","credentials":{"district_username":"bettyg52","district_password":"ahd1eiceeV"},"district":"4fd43cc56d11340000000005","dob":"8/21/1999","ell_status":"Y","email":"g_betty@example.net","frl_status":"Paid","gender":"F","grade":"8","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.099Z","location":{"zip":"10026"},"name":{"first":"Betty","middle":"A","last":"Graham"},"race":"Asian","school":"530e595026403103360ff9ff","sis_id":"636776752","state_id":"694201438","student_number":"636776752","id":"530e5965049e75a9262d03b8"},"uri":"/v1.1/students/530e5965049e75a9262d03b8"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5964049e75a9262d02e7"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5964049e75a9262d02e9"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5965049e75a9262d03b8"}]}'
|
659
671
|
http_version:
|
660
|
-
recorded_at:
|
672
|
+
recorded_at: Sat, 13 Sep 2014 00:03:51 GMT
|
661
673
|
- request:
|
662
674
|
method: get
|
663
|
-
uri: https://
|
675
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5965049e75a9262d03b8
|
664
676
|
body:
|
665
677
|
encoding: US-ASCII
|
666
678
|
string: ''
|
@@ -669,6 +681,8 @@ http_interactions:
|
|
669
681
|
- ! '*/*; q=0.5, application/xml'
|
670
682
|
Accept-Encoding:
|
671
683
|
- gzip, deflate
|
684
|
+
Authorization:
|
685
|
+
- Bearer DEMO_TOKEN
|
672
686
|
User-Agent:
|
673
687
|
- Ruby
|
674
688
|
response:
|
@@ -685,7 +699,7 @@ http_interactions:
|
|
685
699
|
Content-Type:
|
686
700
|
- application/json; charset=utf-8
|
687
701
|
Date:
|
688
|
-
-
|
702
|
+
- Sat, 13 Sep 2014 00:03:52 GMT
|
689
703
|
Etag:
|
690
704
|
- ! '"419409629"'
|
691
705
|
Server:
|
@@ -762,10 +776,10 @@ http_interactions:
|
|
762
776
|
or African American","school":"530e595026403103360ff9fd","sis_id":"727160681","state_id":"381222631","student_number":"727160681","id":"530e5966049e75a9262d046b"},"uri":"/v1.1/students/530e5966049e75a9262d046b"},{"data":{"created":"2014-02-26T21:15:18.511Z","credentials":{"district_username":"chesterw93","district_password":"co5Eepohng"},"district":"4fd43cc56d11340000000005","dob":"11/15/1998","ell_status":"Y","email":"w_chester@example.org","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.513Z","location":{"zip":"11233"},"name":{"first":"Chester","middle":"R","last":"Watsica"},"race":"Black
|
763
777
|
or African American","school":"530e595026403103360ff9fd","sis_id":"728386393","state_id":"921766728","student_number":"728386393","id":"530e5966049e75a9262d046c"},"uri":"/v1.1/students/530e5966049e75a9262d046c"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5965049e75a9262d03b8"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5965049e75a9262d03b9"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5966049e75a9262d046c"}]}'
|
764
778
|
http_version:
|
765
|
-
recorded_at:
|
779
|
+
recorded_at: Sat, 13 Sep 2014 00:03:52 GMT
|
766
780
|
- request:
|
767
781
|
method: get
|
768
|
-
uri: https://
|
782
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5966049e75a9262d046c
|
769
783
|
body:
|
770
784
|
encoding: US-ASCII
|
771
785
|
string: ''
|
@@ -774,6 +788,8 @@ http_interactions:
|
|
774
788
|
- ! '*/*; q=0.5, application/xml'
|
775
789
|
Accept-Encoding:
|
776
790
|
- gzip, deflate
|
791
|
+
Authorization:
|
792
|
+
- Bearer DEMO_TOKEN
|
777
793
|
User-Agent:
|
778
794
|
- Ruby
|
779
795
|
response:
|
@@ -790,7 +806,7 @@ http_interactions:
|
|
790
806
|
Content-Type:
|
791
807
|
- application/json; charset=utf-8
|
792
808
|
Date:
|
793
|
-
-
|
809
|
+
- Sat, 13 Sep 2014 00:03:52 GMT
|
794
810
|
Etag:
|
795
811
|
- ! '"-1806770542"'
|
796
812
|
Server:
|
@@ -873,10 +889,10 @@ http_interactions:
|
|
873
889
|
or African American","school":"530e595026403103360ff9fe","sis_id":"819021071","state_id":"575688366","student_number":"819021071","id":"530e5967049e75a9262d054d"},"uri":"/v1.1/students/530e5967049e75a9262d054d"},{"data":{"created":"2014-02-26T21:15:19.474Z","credentials":{"district_username":"edwarde77","district_password":"wo4thoep4AB"},"district":"4fd43cc56d11340000000005","dob":"2/25/2003","ell_status":"N","email":"e.edward@example.com","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:43.927Z","location":{"zip":"11210"},"name":{"first":"Edward","middle":"M","last":"Emard"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"821986877","state_id":"279178317","student_number":"821986877","id":"530e5967049e75a9262d0553"},"uri":"/v1.1/students/530e5967049e75a9262d0553"},{"data":{"created":"2014-02-26T21:15:19.485Z","credentials":{"district_username":"samuelo65","district_password":"fai9ahYoo"},"district":"4fd43cc56d11340000000005","dob":"8/4/2005","ell_status":"N","email":"o.samuel@example.com","frl_status":"Paid","gender":"M","grade":"2","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:43.929Z","location":{"zip":"10010"},"name":{"first":"Samuel","middle":"B","last":"O''Keefe"},"race":"Black
|
874
890
|
or African American","school":"530e595026403103360ff9fe","sis_id":"822547765","state_id":"966505139","student_number":"822547765","id":"530e5967049e75a9262d0557"},"uri":"/v1.1/students/530e5967049e75a9262d0557"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5966049e75a9262d046c"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5966049e75a9262d046d"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5967049e75a9262d0557"}]}'
|
875
891
|
http_version:
|
876
|
-
recorded_at:
|
892
|
+
recorded_at: Sat, 13 Sep 2014 00:03:52 GMT
|
877
893
|
- request:
|
878
894
|
method: get
|
879
|
-
uri: https://
|
895
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5967049e75a9262d0557
|
880
896
|
body:
|
881
897
|
encoding: US-ASCII
|
882
898
|
string: ''
|
@@ -885,6 +901,8 @@ http_interactions:
|
|
885
901
|
- ! '*/*; q=0.5, application/xml'
|
886
902
|
Accept-Encoding:
|
887
903
|
- gzip, deflate
|
904
|
+
Authorization:
|
905
|
+
- Bearer DEMO_TOKEN
|
888
906
|
User-Agent:
|
889
907
|
- Ruby
|
890
908
|
response:
|
@@ -901,7 +919,7 @@ http_interactions:
|
|
901
919
|
Content-Type:
|
902
920
|
- application/json; charset=utf-8
|
903
921
|
Date:
|
904
|
-
-
|
922
|
+
- Sat, 13 Sep 2014 00:03:52 GMT
|
905
923
|
Etag:
|
906
924
|
- ! '"2114698730"'
|
907
925
|
Server:
|
@@ -980,10 +998,10 @@ http_interactions:
|
|
980
998
|
or More Races","school":"530e595026403103360ff9fe","sis_id":"912597949","state_id":"486294596","student_number":"912597949","id":"530e5968049e75a9262d05e0"},"uri":"/v1.1/students/530e5968049e75a9262d05e0"},{"data":{"created":"2014-02-26T21:15:20.164Z","credentials":{"district_username":"ronaldp24","district_password":"Egaengah8Ne"},"district":"4fd43cc56d11340000000005","dob":"3/7/2003","ell_status":"Y","email":"p.ronald@example.org","frl_status":"Paid","gender":"M","grade":"4","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.329Z","location":{"zip":"11225"},"name":{"first":"Ronald","middle":"K","last":"Padberg"},"race":"Caucasian","school":"530e595026403103360ff9fe","sis_id":"912667824","state_id":"430895037","student_number":"912667824","id":"530e5968049e75a9262d05e1"},"uri":"/v1.1/students/530e5968049e75a9262d05e1"},{"data":{"created":"2014-02-26T21:15:20.168Z","credentials":{"district_username":"marthag20","district_password":"iiban1oB6"},"district":"4fd43cc56d11340000000005","dob":"4/2/1998","ell_status":"N","email":"g_martha@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.332Z","location":{"zip":"11694"},"name":{"first":"Martha","middle":"T","last":"Greenholt"},"race":"Asian","school":"530e595026403103360ff9fd","sis_id":"913113920","state_id":"975729843","student_number":"913113920","id":"530e5968049e75a9262d05e2"},"uri":"/v1.1/students/530e5968049e75a9262d05e2"},{"data":{"created":"2014-02-26T21:15:20.173Z","credentials":{"district_username":"johnw53","district_password":"och8Aw0Ie"},"district":"4fd43cc56d11340000000005","dob":"1/31/1998","ell_status":"Y","email":"john_w@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.336Z","location":{"zip":"10451"},"name":{"first":"John","middle":"K","last":"Watsica"},"race":"Two
|
981
999
|
or More Races","school":"530e595026403103360ff9fd","sis_id":"914153353","state_id":"765870576","student_number":"914153353","id":"530e5968049e75a9262d05e3"},"uri":"/v1.1/students/530e5968049e75a9262d05e3"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5967049e75a9262d0557"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5967049e75a9262d0559"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5968049e75a9262d05e3"}]}'
|
982
1000
|
http_version:
|
983
|
-
recorded_at:
|
1001
|
+
recorded_at: Sat, 13 Sep 2014 00:03:52 GMT
|
984
1002
|
- request:
|
985
1003
|
method: get
|
986
|
-
uri: https://
|
1004
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5968049e75a9262d05e3
|
987
1005
|
body:
|
988
1006
|
encoding: US-ASCII
|
989
1007
|
string: ''
|
@@ -992,6 +1010,8 @@ http_interactions:
|
|
992
1010
|
- ! '*/*; q=0.5, application/xml'
|
993
1011
|
Accept-Encoding:
|
994
1012
|
- gzip, deflate
|
1013
|
+
Authorization:
|
1014
|
+
- Bearer DEMO_TOKEN
|
995
1015
|
User-Agent:
|
996
1016
|
- Ruby
|
997
1017
|
response:
|
@@ -1008,7 +1028,7 @@ http_interactions:
|
|
1008
1028
|
Content-Type:
|
1009
1029
|
- application/json; charset=utf-8
|
1010
1030
|
Date:
|
1011
|
-
-
|
1031
|
+
- Sat, 13 Sep 2014 00:03:53 GMT
|
1012
1032
|
Etag:
|
1013
1033
|
- ! '"-292018979"'
|
1014
1034
|
Server:
|
@@ -1080,10 +1100,10 @@ http_interactions:
|
|
1080
1100
|
or African American","school":"530e595026403103360ff9ff","sis_id":"988363878","state_id":"528811928","student_number":"988363878","id":"530e5968049e75a9262d0641"},"uri":"/v1.1/students/530e5968049e75a9262d0641"},{"data":{"created":"2014-02-26T21:15:20.591Z","credentials":{"district_username":"marjoriew79","district_password":"ien7fam3Ai"},"district":"4fd43cc56d11340000000005","dob":"8/1/2005","ell_status":"N","email":"w_marjorie@example.org","frl_status":"Paid","gender":"F","grade":"2","hispanic_ethnicity":"Y","iep_status":"","last_modified":"2014-06-04T14:10:44.717Z","location":{"zip":"11436"},"name":{"first":"Marjorie","middle":"J","last":"White"},"race":"Black
|
1081
1101
|
or African American","school":"530e595026403103360ff9fe","sis_id":"989693879","state_id":"568608854","student_number":"989693879","id":"530e5968049e75a9262d0642"},"uri":"/v1.1/students/530e5968049e75a9262d0642"},{"data":{"created":"2014-02-26T21:15:20.595Z","credentials":{"district_username":"stevenr21","district_password":"Cae6Zoogh"},"district":"4fd43cc56d11340000000005","dob":"8/19/2006","ell_status":"N","email":"steven.r@example.com","frl_status":"Paid","gender":"M","grade":"1","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.720Z","location":{"zip":"11413"},"name":{"first":"Steven","middle":"A","last":"Robel"},"race":"Caucasian","school":"530e595026403103360ff9fe","sis_id":"992399521","state_id":"486242945","student_number":"992399521","id":"530e5968049e75a9262d0643"},"uri":"/v1.1/students/530e5968049e75a9262d0643"},{"data":{"created":"2014-02-26T21:15:20.601Z","credentials":{"district_username":"beths47","district_password":"keefooY9anoe"},"district":"4fd43cc56d11340000000005","dob":"1/21/2004","ell_status":"Y","email":"s_beth@example.net","frl_status":"Paid","gender":"F","grade":"3","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.724Z","location":{"zip":"11106"},"name":{"first":"Beth","middle":"K","last":"Spencer"},"race":"Asian","school":"530e595026403103360ff9fe","sis_id":"992702547","state_id":"899990945","student_number":"992702547","id":"530e5968049e75a9262d0644"},"uri":"/v1.1/students/530e5968049e75a9262d0644"},{"data":{"created":"2014-02-26T21:15:20.604Z","credentials":{"district_username":"jeffreyt39","district_password":"Daichaep5"},"district":"4fd43cc56d11340000000005","dob":"2/1/1997","ell_status":"N","email":"jeffrey_t@example.com","frl_status":"Paid","gender":"M","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.728Z","location":{"zip":"10032"},"name":{"first":"Jeffrey","middle":"C","last":"Turner"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"993335439","state_id":"985250921","student_number":"993335439","id":"530e5968049e75a9262d0645"},"uri":"/v1.1/students/530e5968049e75a9262d0645"},{"data":{"created":"2014-02-26T21:15:20.608Z","credentials":{"district_username":"samuelc82","district_password":"Ooghee1j"},"district":"4fd43cc56d11340000000005","dob":"11/28/1998","ell_status":"N","email":"c_samuel@example.org","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.732Z","location":{"zip":"10035"},"name":{"first":"Samuel","middle":"S","last":"Crona"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"993756982","state_id":"496635778","student_number":"993756982","id":"530e5968049e75a9262d0646"},"uri":"/v1.1/students/530e5968049e75a9262d0646"},{"data":{"created":"2014-02-26T21:15:20.611Z","credentials":{"district_username":"marjoriel40","district_password":"iushoo1It"},"district":"4fd43cc56d11340000000005","dob":"11/4/1997","ell_status":"N","email":"marjorie_l@example.org","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.735Z","location":{"zip":"10016"},"name":{"first":"Marjorie","middle":"L","last":"Lesch"},"race":"Caucasian","school":"530e595026403103360ff9fd","sis_id":"994397040","state_id":"828598322","student_number":"994397040","id":"530e5968049e75a9262d0647"},"uri":"/v1.1/students/530e5968049e75a9262d0647"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5968049e75a9262d05e3"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5968049e75a9262d05e4"},{"rel":"next","uri":"/v1.1/students?starting_after=530e5968049e75a9262d0647"}]}'
|
1082
1102
|
http_version:
|
1083
|
-
recorded_at:
|
1103
|
+
recorded_at: Sat, 13 Sep 2014 00:03:53 GMT
|
1084
1104
|
- request:
|
1085
1105
|
method: get
|
1086
|
-
uri: https://
|
1106
|
+
uri: https://api.clever.com//v1.1/students?starting_after=530e5968049e75a9262d0647
|
1087
1107
|
body:
|
1088
1108
|
encoding: US-ASCII
|
1089
1109
|
string: ''
|
@@ -1092,6 +1112,8 @@ http_interactions:
|
|
1092
1112
|
- ! '*/*; q=0.5, application/xml'
|
1093
1113
|
Accept-Encoding:
|
1094
1114
|
- gzip, deflate
|
1115
|
+
Authorization:
|
1116
|
+
- Bearer DEMO_TOKEN
|
1095
1117
|
User-Agent:
|
1096
1118
|
- Ruby
|
1097
1119
|
response:
|
@@ -1108,7 +1130,7 @@ http_interactions:
|
|
1108
1130
|
Content-Type:
|
1109
1131
|
- application/json; charset=utf-8
|
1110
1132
|
Date:
|
1111
|
-
-
|
1133
|
+
- Sat, 13 Sep 2014 00:03:53 GMT
|
1112
1134
|
Etag:
|
1113
1135
|
- ! '"-1554319852"'
|
1114
1136
|
Server:
|
@@ -1126,10 +1148,10 @@ http_interactions:
|
|
1126
1148
|
or African American","school":"530e595026403103360ff9ff","sis_id":"998414435","state_id":"134063200","student_number":"998414435","id":"530e5968049e75a9262d064a"},"uri":"/v1.1/students/530e5968049e75a9262d064a"},{"data":{"created":"2014-02-26T21:15:20.623Z","credentials":{"district_username":"markr17","district_password":"yo0ohYo6ro"},"district":"4fd43cc56d11340000000005","dob":"8/24/1996","ell_status":"N","email":"r_mark@example.com","frl_status":"Paid","gender":"M","grade":"11","hispanic_ethnicity":"N","iep_status":"","last_modified":"2014-06-04T14:10:44.750Z","location":{"zip":"10034"},"name":{"first":"Mark","middle":"S","last":"Reilly"},"race":"American
|
1127
1149
|
Indian","school":"530e595026403103360ff9fd","sis_id":"999447617","state_id":"651135073","student_number":"999447617","id":"530e5968049e75a9262d064b"},"uri":"/v1.1/students/530e5968049e75a9262d064b"}],"links":[{"rel":"self","uri":"/v1.1/students?starting_after=530e5968049e75a9262d0647"},{"rel":"prev","uri":"/v1.1/students?ending_before=530e5968049e75a9262d0648"}]}'
|
1128
1150
|
http_version:
|
1129
|
-
recorded_at:
|
1151
|
+
recorded_at: Sat, 13 Sep 2014 00:03:53 GMT
|
1130
1152
|
- request:
|
1131
1153
|
method: get
|
1132
|
-
uri: https://
|
1154
|
+
uri: https://api.clever.com/v1.1/students?count=true
|
1133
1155
|
body:
|
1134
1156
|
encoding: US-ASCII
|
1135
1157
|
string: ''
|
@@ -1138,6 +1160,8 @@ http_interactions:
|
|
1138
1160
|
- ! '*/*; q=0.5, application/xml'
|
1139
1161
|
Accept-Encoding:
|
1140
1162
|
- gzip, deflate
|
1163
|
+
Authorization:
|
1164
|
+
- Bearer DEMO_TOKEN
|
1141
1165
|
User-Agent:
|
1142
1166
|
- Ruby
|
1143
1167
|
response:
|
@@ -1154,7 +1178,7 @@ http_interactions:
|
|
1154
1178
|
Content-Type:
|
1155
1179
|
- application/json; charset=utf-8
|
1156
1180
|
Date:
|
1157
|
-
-
|
1181
|
+
- Sat, 13 Sep 2014 00:04:53 GMT
|
1158
1182
|
Server:
|
1159
1183
|
- nginx/1.4.7
|
1160
1184
|
X-Powered-By:
|
@@ -1167,5 +1191,5 @@ http_interactions:
|
|
1167
1191
|
encoding: US-ASCII
|
1168
1192
|
string: ! '{"count":1004,"links":[{"rel":"self","uri":"/v1.1/students?count=true"}]}'
|
1169
1193
|
http_version:
|
1170
|
-
recorded_at:
|
1171
|
-
recorded_with: VCR 2.
|
1194
|
+
recorded_at: Sat, 13 Sep 2014 00:04:53 GMT
|
1195
|
+
recorded_with: VCR 2.9.3
|