clever-ruby 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1011bc7607898073fa4d3c179ea725ac22e4b07
4
- data.tar.gz: afdbc5d31bbe1a68624a966863a26c7643d0c10d
3
+ metadata.gz: 4bb241ee16e9429513d5f73121b0ba2d422219a2
4
+ data.tar.gz: 57d5a3e97eed2e039ff0af060e78118086403509
5
5
  SHA512:
6
- metadata.gz: 8b46b9e4cd4fb2ae2c7f80a75bd96596c3a3687d176d553d71c8c5faa099daa452f34e667484d1fad52e9c6699f5e980bf6671728cb46e93d718af7d43e1e4ae
7
- data.tar.gz: ab4ac64e1a8aa9924b3ea611eaed2745783312abc29429b14863a1602251adec5f59115b1977496a1de8500eb1d24f3cb328477a4124804341027a110eb4127b
6
+ metadata.gz: c5ad379292df7b04672d323a37d4472d9465a2aafa50e1d82fbacf6c637540b7e08dbf714483ab3003bff3e3f78481c1e30e9eaeb53f19c37159bbcc58682875
7
+ data.tar.gz: b4e6f23589a1a7add9041fbf2a151e3f7b5a80458576196552a882d5cc02ca88877cffaef2d47a614bbb3d2d078014e5d0856834087ad5bb0c334a17c685afb5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.5.0 (2014-09-09)
2
+
3
+ * Handle pagination through rel links, not manual numeric pagination (#36)
4
+
5
+ ## 0.4.0 (2014-09-05)
6
+
7
+ * Linked resources for all API resources (#34)
8
+
1
9
  ## 0.3.0 (2014-02-28)
2
10
 
3
11
  * Support for token auth (#17)
data/lib/clever-ruby.rb CHANGED
@@ -3,6 +3,8 @@ require 'rest_client'
3
3
  require 'multi_json'
4
4
  require 'open-uri'
5
5
  require 'set'
6
+ require 'uri'
7
+ require 'cgi'
6
8
 
7
9
  require 'clever-ruby/version'
8
10
 
@@ -63,7 +65,7 @@ module Clever
63
65
  params_arr = Util.flatten_params(params).map do |p|
64
66
  "#{URI.encode(p[0].to_s)}=#{URI.encode(p[1].to_s)}"
65
67
  end
66
- '?' + params_arr.join('&')
68
+ params_arr.join('&')
67
69
  else
68
70
  ''
69
71
  end
@@ -72,7 +74,12 @@ module Clever
72
74
  def self.create_payload(method, url, params)
73
75
  case method.to_s.downcase.to_sym
74
76
  when :get, :head, :delete
75
- url += convert_to_query_string params
77
+ url_obj = URI.parse(url)
78
+ if url_obj.query
79
+ params = CGI.parse(url_obj.query).map { |k, v| { k => v[0] } }.reduce(:merge).merge params
80
+ end
81
+ url_obj.query = convert_to_query_string params
82
+ url = url_obj.to_s
76
83
  payload = nil
77
84
  else
78
85
  payload = params
@@ -2,7 +2,7 @@ module Clever
2
2
  module APIOperations
3
3
  # Represents a page of data
4
4
  class Page
5
- attr_accessor :paging
5
+ include Enumerable
6
6
 
7
7
  def initialize(uri, filters = {})
8
8
  @uri = uri
@@ -10,12 +10,28 @@ module Clever
10
10
 
11
11
  response = Clever.request :get, uri, filters
12
12
  @list = Util.convert_to_clever_object response[:data]
13
- self.paging = response[:paging]
13
+ @links = {}
14
+ response[:links].each do |link|
15
+ @links[link[:rel].to_sym] = link[:uri]
16
+ end
14
17
  end
15
18
 
16
- # rubocop:disable TrivialAccessors
19
+ # Gets next page if one is present, nil otherwise.
20
+ def next
21
+ @links.key?(:next) ? Page.new(@links[:next]) : nil
22
+ end
23
+
24
+ def each(&blk)
25
+ @list.each(&blk)
26
+ end
27
+
28
+ # TODO: remove this
17
29
  def all
18
- @list
30
+ accum = []
31
+ each do |elem|
32
+ accum << elem
33
+ end
34
+ accum
19
35
  end
20
36
  end
21
37
  end
@@ -10,15 +10,10 @@ module Clever
10
10
  end
11
11
 
12
12
  def each
13
- current = 0
14
- total = 1
15
- while current < total
16
- page = Page.new @uri, @filters.merge(page: current + 1)
17
-
13
+ page = Page.new @uri, @filters
14
+ until page.nil?
18
15
  yield page
19
-
20
- current = page.paging[:current]
21
- total = page.paging[:total]
16
+ page = page.next
22
17
  end
23
18
  end
24
19
  end
@@ -1,4 +1,4 @@
1
1
  # Clever Ruby library
2
2
  module Clever
3
- VERSION = '0.4.1'
3
+ VERSION = '0.5.0'
4
4
  end
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?page=1
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - "*/*; q=0.5, application/xml"
11
+ - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  User-Agent:
@@ -23,22 +23,22 @@ http_interactions:
23
23
  Access-Control-Allow-Methods:
24
24
  - GET,PATCH,POST,DELETE
25
25
  Access-Control-Allow-Origin:
26
- - "*"
26
+ - ! '*'
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Wed, 03 Sep 2014 19:08:07 GMT
30
+ - Mon, 08 Sep 2014 21:31:30 GMT
31
31
  Server:
32
32
  - nginx/1.4.7
33
33
  X-Powered-By:
34
34
  - Express
35
35
  Content-Length:
36
- - '224'
36
+ - '217'
37
37
  Connection:
38
38
  - keep-alive
39
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?page=1"}]}'
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: Wed, 03 Sep 2014 19:08:07 GMT
43
+ recorded_at: Mon, 08 Sep 2014 21:31:30 GMT
44
44
  recorded_with: VCR 2.4.0
@@ -2,13 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://DEMO_KEY:@api.clever.com/v1.1/districts?page=1
5
+ uri: https://DEMO_KEY:@api.clever.com/v1.1/districts
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
9
9
  headers:
10
10
  Accept:
11
- - "*/*; q=0.5, application/xml"
11
+ - ! '*/*; q=0.5, application/xml'
12
12
  Accept-Encoding:
13
13
  - gzip, deflate
14
14
  User-Agent:
@@ -23,24 +23,24 @@ http_interactions:
23
23
  Access-Control-Allow-Methods:
24
24
  - GET,PATCH,POST,DELETE
25
25
  Access-Control-Allow-Origin:
26
- - "*"
26
+ - ! '*'
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Date:
30
- - Wed, 03 Sep 2014 19:05:15 GMT
30
+ - Mon, 08 Sep 2014 21:30:55 GMT
31
31
  Server:
32
32
  - nginx/1.4.7
33
33
  X-Powered-By:
34
34
  - Express
35
35
  Content-Length:
36
- - '224'
36
+ - '217'
37
37
  Connection:
38
38
  - keep-alive
39
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?page=1"}]}'
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: Wed, 03 Sep 2014 19:05:15 GMT
43
+ recorded_at: Mon, 08 Sep 2014 21:30:55 GMT
44
44
  - request:
45
45
  method: get
46
46
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -49,7 +49,7 @@ http_interactions:
49
49
  string: ''
50
50
  headers:
51
51
  Accept:
52
- - "*/*; q=0.5, application/xml"
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
- - Wed, 03 Sep 2014 19:05:16 GMT
71
+ - Mon, 08 Sep 2014 21:30:55 GMT
72
72
  Server:
73
73
  - nginx/1.4.7
74
74
  X-Powered-By:
@@ -78,10 +78,10 @@ http_interactions:
78
78
  Connection:
79
79
  - keep-alive
80
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"}]}'
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"}]}'
83
83
  http_version:
84
- recorded_at: Wed, 03 Sep 2014 19:05:15 GMT
84
+ recorded_at: Mon, 08 Sep 2014 21:30:55 GMT
85
85
  - request:
86
86
  method: get
87
87
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -90,7 +90,7 @@ http_interactions:
90
90
  string: ''
91
91
  headers:
92
92
  Accept:
93
- - "*/*; q=0.5, application/xml"
93
+ - ! '*/*; q=0.5, application/xml'
94
94
  Accept-Encoding:
95
95
  - gzip, deflate
96
96
  User-Agent:
@@ -105,11 +105,11 @@ http_interactions:
105
105
  Access-Control-Allow-Methods:
106
106
  - GET,PATCH,POST,DELETE
107
107
  Access-Control-Allow-Origin:
108
- - "*"
108
+ - ! '*'
109
109
  Content-Type:
110
110
  - application/json; charset=utf-8
111
111
  Date:
112
- - Wed, 03 Sep 2014 19:05:16 GMT
112
+ - Mon, 08 Sep 2014 21:30:56 GMT
113
113
  Server:
114
114
  - nginx/1.4.7
115
115
  X-Powered-By:
@@ -119,10 +119,10 @@ http_interactions:
119
119
  Connection:
120
120
  - keep-alive
121
121
  body:
122
- encoding: UTF-8
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"}]}'
122
+ encoding: US-ASCII
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"}]}'
124
124
  http_version:
125
- recorded_at: Wed, 03 Sep 2014 19:05:16 GMT
125
+ recorded_at: Mon, 08 Sep 2014 21:30:55 GMT
126
126
  - request:
127
127
  method: get
128
128
  uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=100000
@@ -131,7 +131,7 @@ http_interactions:
131
131
  string: ''
132
132
  headers:
133
133
  Accept:
134
- - "*/*; q=0.5, application/xml"
134
+ - ! '*/*; q=0.5, application/xml'
135
135
  Accept-Encoding:
136
136
  - gzip, deflate
137
137
  User-Agent:
@@ -146,13 +146,13 @@ http_interactions:
146
146
  Access-Control-Allow-Methods:
147
147
  - GET,PATCH,POST,DELETE
148
148
  Access-Control-Allow-Origin:
149
- - "*"
149
+ - ! '*'
150
150
  Content-Type:
151
151
  - application/json; charset=utf-8
152
152
  Date:
153
- - Wed, 03 Sep 2014 19:05:16 GMT
153
+ - Mon, 08 Sep 2014 21:30:56 GMT
154
154
  Etag:
155
- - '"194088862"'
155
+ - ! '"194088862"'
156
156
  Server:
157
157
  - nginx/1.4.7
158
158
  X-Powered-By:
@@ -162,8 +162,8 @@ http_interactions:
162
162
  Connection:
163
163
  - keep-alive
164
164
  body:
165
- encoding: UTF-8
166
- string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
165
+ encoding: US-ASCII
166
+ string: ! '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"},{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
167
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
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
169
  Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
@@ -188,7 +188,7 @@ http_interactions:
188
188
  Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
189
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":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=100000"}]}'
190
190
  http_version:
191
- recorded_at: Wed, 03 Sep 2014 19:05:16 GMT
191
+ recorded_at: Mon, 08 Sep 2014 21:30:56 GMT
192
192
  - request:
193
193
  method: get
194
194
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -197,7 +197,7 @@ http_interactions:
197
197
  string: ''
198
198
  headers:
199
199
  Accept:
200
- - "*/*; q=0.5, application/xml"
200
+ - ! '*/*; q=0.5, application/xml'
201
201
  Accept-Encoding:
202
202
  - gzip, deflate
203
203
  User-Agent:
@@ -212,11 +212,11 @@ http_interactions:
212
212
  Access-Control-Allow-Methods:
213
213
  - GET,PATCH,POST,DELETE
214
214
  Access-Control-Allow-Origin:
215
- - "*"
215
+ - ! '*'
216
216
  Content-Type:
217
217
  - application/json; charset=utf-8
218
218
  Date:
219
- - Wed, 03 Sep 2014 19:05:16 GMT
219
+ - Mon, 08 Sep 2014 21:30:56 GMT
220
220
  Server:
221
221
  - nginx/1.4.7
222
222
  X-Powered-By:
@@ -226,10 +226,10 @@ http_interactions:
226
226
  Connection:
227
227
  - keep-alive
228
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"}]}'
229
+ encoding: US-ASCII
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
231
  http_version:
232
- recorded_at: Wed, 03 Sep 2014 19:05:16 GMT
232
+ recorded_at: Mon, 08 Sep 2014 21:30:56 GMT
233
233
  - request:
234
234
  method: get
235
235
  uri: https://DEMO_KEY:@api.clever.com/v1.1/districts/4fd43cc56d11340000000005
@@ -238,7 +238,7 @@ http_interactions:
238
238
  string: ''
239
239
  headers:
240
240
  Accept:
241
- - "*/*; q=0.5, application/xml"
241
+ - ! '*/*; q=0.5, application/xml'
242
242
  Accept-Encoding:
243
243
  - gzip, deflate
244
244
  User-Agent:
@@ -253,11 +253,11 @@ http_interactions:
253
253
  Access-Control-Allow-Methods:
254
254
  - GET,PATCH,POST,DELETE
255
255
  Access-Control-Allow-Origin:
256
- - "*"
256
+ - ! '*'
257
257
  Content-Type:
258
258
  - application/json; charset=utf-8
259
259
  Date:
260
- - Wed, 03 Sep 2014 19:05:16 GMT
260
+ - Mon, 08 Sep 2014 21:30:56 GMT
261
261
  Server:
262
262
  - nginx/1.4.7
263
263
  X-Powered-By:
@@ -267,19 +267,19 @@ http_interactions:
267
267
  Connection:
268
268
  - keep-alive
269
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"}]}'
270
+ encoding: US-ASCII
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
272
  http_version:
273
- recorded_at: Wed, 03 Sep 2014 19:05:16 GMT
273
+ recorded_at: Mon, 08 Sep 2014 21:30:56 GMT
274
274
  - request:
275
275
  method: get
276
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=1
276
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1
277
277
  body:
278
278
  encoding: US-ASCII
279
279
  string: ''
280
280
  headers:
281
281
  Accept:
282
- - "*/*; q=0.5, application/xml"
282
+ - ! '*/*; q=0.5, application/xml'
283
283
  Accept-Encoding:
284
284
  - gzip, deflate
285
285
  User-Agent:
@@ -294,35 +294,35 @@ http_interactions:
294
294
  Access-Control-Allow-Methods:
295
295
  - GET,PATCH,POST,DELETE
296
296
  Access-Control-Allow-Origin:
297
- - "*"
297
+ - ! '*'
298
298
  Content-Type:
299
299
  - application/json; charset=utf-8
300
300
  Date:
301
- - Wed, 03 Sep 2014 19:05:16 GMT
301
+ - Mon, 08 Sep 2014 21:30:56 GMT
302
302
  Etag:
303
- - '"-1779268912"'
303
+ - ! '"-971773365"'
304
304
  Server:
305
305
  - nginx/1.4.7
306
306
  X-Powered-By:
307
307
  - Express
308
308
  Content-Length:
309
- - '1042'
309
+ - '1068'
310
310
  Connection:
311
311
  - keep-alive
312
312
  body:
313
- encoding: UTF-8
314
- string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"}],"paging":{"current":1,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=1"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=2"}]}'
313
+ encoding: US-ASCII
314
+ string: ! '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"8/31/1997","ell_status":"N","email":"monique.g@example.net","frl_status":"Paid","gender":"F","grade":"10","hispanic_ethnicity":"Y","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"556584559","state_id":"485279646","student_number":"556584559","credentials":{"district_username":"moniqueg59","district_password":"EPhie9th"},"location":{"zip":"10020"},"name":{"first":"Monique","middle":"J","last":"Gutmann"},"last_modified":"2014-06-04T14:10:42.770Z","created":"2014-02-26T21:15:16.916Z","id":"530e5964049e75a9262d0304"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.401Z","id":"53e90ce782399c964b0009e2"},"uri":"/v1.1/events/53e90ce782399c964b0009e2"}],"paging":{"current":1,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e2"}]}'
315
315
  http_version:
316
- recorded_at: Wed, 03 Sep 2014 19:05:16 GMT
316
+ recorded_at: Mon, 08 Sep 2014 21:30:56 GMT
317
317
  - request:
318
318
  method: get
319
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=2
319
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e2
320
320
  body:
321
321
  encoding: US-ASCII
322
322
  string: ''
323
323
  headers:
324
324
  Accept:
325
- - "*/*; q=0.5, application/xml"
325
+ - ! '*/*; q=0.5, application/xml'
326
326
  Accept-Encoding:
327
327
  - gzip, deflate
328
328
  User-Agent:
@@ -337,36 +337,36 @@ http_interactions:
337
337
  Access-Control-Allow-Methods:
338
338
  - GET,PATCH,POST,DELETE
339
339
  Access-Control-Allow-Origin:
340
- - "*"
340
+ - ! '*'
341
341
  Content-Type:
342
342
  - application/json; charset=utf-8
343
343
  Date:
344
- - Wed, 03 Sep 2014 19:05:16 GMT
344
+ - Mon, 08 Sep 2014 21:30:57 GMT
345
345
  Etag:
346
- - '"1493958564"'
346
+ - ! '"1767715974"'
347
347
  Server:
348
348
  - nginx/1.4.7
349
349
  X-Powered-By:
350
350
  - Express
351
351
  Content-Length:
352
- - '1150'
352
+ - '1203'
353
353
  Connection:
354
354
  - keep-alive
355
355
  body:
356
- encoding: UTF-8
357
- string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
358
- or African American","school":"530e595026403103360ff9fd","sis_id":"617499409","state_id":"979518299","student_number":"617499409","credentials":{"district_username":"williamh09","district_password":"roosh5Oo"},"location":{"zip":"11428"},"name":{"first":"William","middle":"M","last":"Hodkiewicz"},"last_modified":"2014-06-04T14:10:43.010Z","created":"2014-02-26T21:15:17.612Z","id":"530e5965049e75a9262d038f"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.402Z","id":"53e90ce782399c964b0009e3"},"uri":"/v1.1/events/53e90ce782399c964b0009e3"}],"paging":{"current":2,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=2"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=3"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=1"}]}'
356
+ encoding: US-ASCII
357
+ string: ! '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"11/4/1998","ell_status":"N","email":"h_william@example.net","frl_status":"Paid","gender":"M","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"Black
358
+ or African American","school":"530e595026403103360ff9fd","sis_id":"617499409","state_id":"979518299","student_number":"617499409","credentials":{"district_username":"williamh09","district_password":"roosh5Oo"},"location":{"zip":"11428"},"name":{"first":"William","middle":"M","last":"Hodkiewicz"},"last_modified":"2014-06-04T14:10:43.010Z","created":"2014-02-26T21:15:17.612Z","id":"530e5965049e75a9262d038f"},"previous_attributes":{"ell_status":"Y"}},"created":"2014-08-11T18:35:19.402Z","id":"53e90ce782399c964b0009e3"},"uri":"/v1.1/events/53e90ce782399c964b0009e3"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e2"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e3"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e3"}]}'
359
359
  http_version:
360
- recorded_at: Wed, 03 Sep 2014 19:05:16 GMT
360
+ recorded_at: Mon, 08 Sep 2014 21:30:57 GMT
361
361
  - request:
362
362
  method: get
363
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=3
363
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e3
364
364
  body:
365
365
  encoding: US-ASCII
366
366
  string: ''
367
367
  headers:
368
368
  Accept:
369
- - "*/*; q=0.5, application/xml"
369
+ - ! '*/*; q=0.5, application/xml'
370
370
  Accept-Encoding:
371
371
  - gzip, deflate
372
372
  User-Agent:
@@ -381,36 +381,36 @@ http_interactions:
381
381
  Access-Control-Allow-Methods:
382
382
  - GET,PATCH,POST,DELETE
383
383
  Access-Control-Allow-Origin:
384
- - "*"
384
+ - ! '*'
385
385
  Content-Type:
386
386
  - application/json; charset=utf-8
387
387
  Date:
388
- - Wed, 03 Sep 2014 19:05:17 GMT
388
+ - Mon, 08 Sep 2014 21:30:57 GMT
389
389
  Etag:
390
- - '"555041443"'
390
+ - ! '"351726310"'
391
391
  Server:
392
392
  - nginx/1.4.7
393
393
  X-Powered-By:
394
394
  - Express
395
395
  Content-Length:
396
- - '1134'
396
+ - '1187'
397
397
  Connection:
398
398
  - keep-alive
399
399
  body:
400
- encoding: UTF-8
401
- string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/17/1998","ell_status":"N","email":"corina.w@example.com","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"American
402
- Indian","school":"530e595026403103360ff9fd","sis_id":"670807511","state_id":"814185233","student_number":"670807511","credentials":{"district_username":"corinaw11","district_password":"Eiph5aeX"},"location":{"zip":"10004"},"name":{"first":"Corina","middle":"L","last":"Watsica"},"last_modified":"2014-06-04T14:10:43.290Z","created":"2014-02-26T21:15:18.067Z","id":"530e5966049e75a9262d03fc"},"previous_attributes":{"dob":"5/7/1998"}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e4"},"uri":"/v1.1/events/53e90ce782399c964b0009e4"}],"paging":{"current":3,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=3"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=4"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=2"}]}'
400
+ encoding: US-ASCII
401
+ string: ! '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/17/1998","ell_status":"N","email":"corina.w@example.com","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"Y","iep_status":"","race":"American
402
+ Indian","school":"530e595026403103360ff9fd","sis_id":"670807511","state_id":"814185233","student_number":"670807511","credentials":{"district_username":"corinaw11","district_password":"Eiph5aeX"},"location":{"zip":"10004"},"name":{"first":"Corina","middle":"L","last":"Watsica"},"last_modified":"2014-06-04T14:10:43.290Z","created":"2014-02-26T21:15:18.067Z","id":"530e5966049e75a9262d03fc"},"previous_attributes":{"dob":"5/7/1998"}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e4"},"uri":"/v1.1/events/53e90ce782399c964b0009e4"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e3"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e4"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e4"}]}'
403
403
  http_version:
404
- recorded_at: Wed, 03 Sep 2014 19:05:17 GMT
404
+ recorded_at: Mon, 08 Sep 2014 21:30:57 GMT
405
405
  - request:
406
406
  method: get
407
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=4
407
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e4
408
408
  body:
409
409
  encoding: US-ASCII
410
410
  string: ''
411
411
  headers:
412
412
  Accept:
413
- - "*/*; q=0.5, application/xml"
413
+ - ! '*/*; q=0.5, application/xml'
414
414
  Accept-Encoding:
415
415
  - gzip, deflate
416
416
  User-Agent:
@@ -425,35 +425,35 @@ http_interactions:
425
425
  Access-Control-Allow-Methods:
426
426
  - GET,PATCH,POST,DELETE
427
427
  Access-Control-Allow-Origin:
428
- - "*"
428
+ - ! '*'
429
429
  Content-Type:
430
430
  - application/json; charset=utf-8
431
431
  Date:
432
- - Wed, 03 Sep 2014 19:05:17 GMT
432
+ - Mon, 08 Sep 2014 21:30:57 GMT
433
433
  Etag:
434
- - '"1238704620"'
434
+ - ! '"1635149832"'
435
435
  Server:
436
436
  - nginx/1.4.7
437
437
  X-Powered-By:
438
438
  - Express
439
439
  Content-Length:
440
- - '1156'
440
+ - '1209'
441
441
  Connection:
442
442
  - keep-alive
443
443
  body:
444
- encoding: UTF-8
445
- string: '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/13/1998","ell_status":"Y","email":"kim_j@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"N","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"841688312","state_id":"484726796","student_number":"841688312","credentials":{"district_username":"kimj12","district_password":"phee7kah3R"},"location":{"zip":"11377"},"name":{"first":"Kimberly","last":"Jacobi","middle":"J"},"last_modified":"2014-06-04T14:10:44.004Z","created":"2014-02-26T21:15:19.645Z","id":"530e5967049e75a9262d057e"},"previous_attributes":{"name":{"first":"Kim","last":"Jacobi","middle":"J"}}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e5"},"uri":"/v1.1/events/53e90ce782399c964b0009e5"}],"paging":{"current":4,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=4"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=5"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=3"}]}'
444
+ encoding: US-ASCII
445
+ string: ! '{"data":[{"data":{"type":"students.updated","data":{"object":{"district":"4fd43cc56d11340000000005","dob":"5/13/1998","ell_status":"Y","email":"kim_j@example.org","frl_status":"Paid","gender":"F","grade":"9","hispanic_ethnicity":"N","iep_status":"","race":"Asian","school":"530e595026403103360ff9fd","sis_id":"841688312","state_id":"484726796","student_number":"841688312","credentials":{"district_username":"kimj12","district_password":"phee7kah3R"},"location":{"zip":"11377"},"name":{"first":"Kimberly","last":"Jacobi","middle":"J"},"last_modified":"2014-06-04T14:10:44.004Z","created":"2014-02-26T21:15:19.645Z","id":"530e5967049e75a9262d057e"},"previous_attributes":{"name":{"first":"Kim","last":"Jacobi","middle":"J"}}},"created":"2014-08-11T18:35:19.406Z","id":"53e90ce782399c964b0009e5"},"uri":"/v1.1/events/53e90ce782399c964b0009e5"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e4"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e5"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e5"}]}'
446
446
  http_version:
447
- recorded_at: Wed, 03 Sep 2014 19:05:17 GMT
447
+ recorded_at: Mon, 08 Sep 2014 21:30:57 GMT
448
448
  - request:
449
449
  method: get
450
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=5
450
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e5
451
451
  body:
452
452
  encoding: US-ASCII
453
453
  string: ''
454
454
  headers:
455
455
  Accept:
456
- - "*/*; q=0.5, application/xml"
456
+ - ! '*/*; q=0.5, application/xml'
457
457
  Accept-Encoding:
458
458
  - gzip, deflate
459
459
  User-Agent:
@@ -468,37 +468,37 @@ http_interactions:
468
468
  Access-Control-Allow-Methods:
469
469
  - GET,PATCH,POST,DELETE
470
470
  Access-Control-Allow-Origin:
471
- - "*"
471
+ - ! '*'
472
472
  Content-Type:
473
473
  - application/json; charset=utf-8
474
474
  Date:
475
- - Wed, 03 Sep 2014 19:05:18 GMT
475
+ - Mon, 08 Sep 2014 21:30:57 GMT
476
476
  Etag:
477
- - '"1852436678"'
477
+ - ! '"-1185028231"'
478
478
  Server:
479
479
  - nginx/1.4.7
480
480
  X-Powered-By:
481
481
  - Express
482
482
  Content-Length:
483
- - '1854'
483
+ - '1907'
484
484
  Connection:
485
485
  - keep-alive
486
486
  body:
487
- encoding: UTF-8
488
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
487
+ encoding: US-ASCII
488
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
489
489
  Guidance","course_number":"101","district":"4fd43cc56d11340000000005","grade":"10","name":"Group
490
- Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"last_modified":"2014-02-26T21:15:37.930Z","created":"2014-02-26T21:15:37.927Z","id":"530e5979049e75a9262d0af2"},"previous_attributes":{"students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5966049e75a9262d04ba","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"]}},"created":"2014-08-11T18:35:19.418Z","id":"53e90ce782399c964b0009e6"},"uri":"/v1.1/events/53e90ce782399c964b0009e6"}],"paging":{"current":5,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=5"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=6"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=4"}]}'
490
+ Guidance - 101 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"581","subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"],"last_modified":"2014-02-26T21:15:37.930Z","created":"2014-02-26T21:15:37.927Z","id":"530e5979049e75a9262d0af2"},"previous_attributes":{"students":["530e5961049e75a9262cffd9","530e5961049e75a9262d0010","530e5961049e75a9262d004e","530e5961049e75a9262d0080","530e5962049e75a9262d0156","530e5963049e75a9262d01b7","530e5963049e75a9262d0253","530e5966049e75a9262d0418","530e5966049e75a9262d0475","530e5966049e75a9262d04b4","530e5966049e75a9262d04ba","530e5967049e75a9262d0503","530e5968049e75a9262d05e9","530e5968049e75a9262d061f","530e5968049e75a9262d0632","530e5968049e75a9262d0647"]}},"created":"2014-08-11T18:35:19.418Z","id":"53e90ce782399c964b0009e6"},"uri":"/v1.1/events/53e90ce782399c964b0009e6"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e5"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e6"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e6"}]}'
491
491
  http_version:
492
- recorded_at: Wed, 03 Sep 2014 19:05:17 GMT
492
+ recorded_at: Mon, 08 Sep 2014 21:30:57 GMT
493
493
  - request:
494
494
  method: get
495
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=6
495
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e6
496
496
  body:
497
497
  encoding: US-ASCII
498
498
  string: ''
499
499
  headers:
500
500
  Accept:
501
- - "*/*; q=0.5, application/xml"
501
+ - ! '*/*; q=0.5, application/xml'
502
502
  Accept-Encoding:
503
503
  - gzip, deflate
504
504
  User-Agent:
@@ -513,37 +513,37 @@ http_interactions:
513
513
  Access-Control-Allow-Methods:
514
514
  - GET,PATCH,POST,DELETE
515
515
  Access-Control-Allow-Origin:
516
- - "*"
516
+ - ! '*'
517
517
  Content-Type:
518
518
  - application/json; charset=utf-8
519
519
  Date:
520
- - Wed, 03 Sep 2014 19:05:18 GMT
520
+ - Mon, 08 Sep 2014 21:30:57 GMT
521
521
  Etag:
522
- - '"1009868265"'
522
+ - ! '"-916155565"'
523
523
  Server:
524
524
  - nginx/1.4.7
525
525
  X-Powered-By:
526
526
  - Express
527
527
  Content-Length:
528
- - '1880'
528
+ - '1933'
529
529
  Connection:
530
530
  - keep-alive
531
531
  body:
532
- encoding: UTF-8
533
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
532
+ encoding: US-ASCII
533
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Group
534
534
  Guidance","course_number":"901","district":"4fd43cc56d11340000000005","grade":"9","name":"Group
535
- Guidance - 901 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"596","subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262d001a","530e5961049e75a9262d0034","530e5962049e75a9262d0110","530e5963049e75a9262d01db","530e5963049e75a9262d022f","530e5964049e75a9262d0284","530e5964049e75a9262d0309","530e5965049e75a9262d038e","530e5965049e75a9262d038f","530e5966049e75a9262d046c","530e5966049e75a9262d0471","530e5966049e75a9262d04b4","530e5967049e75a9262d057e","530e5968049e75a9262d0614","530e5968049e75a9262d061c","530e5968049e75a9262d0640"],"last_modified":"2014-02-26T21:15:37.996Z","created":"2014-02-26T21:15:37.994Z","id":"530e5979049e75a9262d0b01"},"previous_attributes":{"students":["530e5961049e75a9262d001a","530e5961049e75a9262d0034","530e5962049e75a9262d0110","530e5963049e75a9262d01db","530e5963049e75a9262d022f","530e5964049e75a9262d0284","530e5964049e75a9262d0309","530e5965049e75a9262d038e","530e5965049e75a9262d038f","530e5966049e75a9262d046c","530e5966049e75a9262d0471","530e5967049e75a9262d057e","530e5968049e75a9262d0614","530e5968049e75a9262d061c","530e5968049e75a9262d063a","530e5968049e75a9262d0640"]}},"created":"2014-08-11T18:35:19.420Z","id":"53e90ce782399c964b0009e7"},"uri":"/v1.1/events/53e90ce782399c964b0009e7"}],"paging":{"current":6,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=6"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=7"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=5"}]}'
535
+ Guidance - 901 - B. Greene (Section 1)","period":"0","school":"530e595026403103360ff9fd","sis_id":"596","subject":"homeroom/advisory","teacher":"530e5955d50c310f36112c11","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262d001a","530e5961049e75a9262d0034","530e5962049e75a9262d0110","530e5963049e75a9262d01db","530e5963049e75a9262d022f","530e5964049e75a9262d0284","530e5964049e75a9262d0309","530e5965049e75a9262d038e","530e5965049e75a9262d038f","530e5966049e75a9262d046c","530e5966049e75a9262d0471","530e5966049e75a9262d04b4","530e5967049e75a9262d057e","530e5968049e75a9262d0614","530e5968049e75a9262d061c","530e5968049e75a9262d0640"],"last_modified":"2014-02-26T21:15:37.996Z","created":"2014-02-26T21:15:37.994Z","id":"530e5979049e75a9262d0b01"},"previous_attributes":{"students":["530e5961049e75a9262d001a","530e5961049e75a9262d0034","530e5962049e75a9262d0110","530e5963049e75a9262d01db","530e5963049e75a9262d022f","530e5964049e75a9262d0284","530e5964049e75a9262d0309","530e5965049e75a9262d038e","530e5965049e75a9262d038f","530e5966049e75a9262d046c","530e5966049e75a9262d0471","530e5967049e75a9262d057e","530e5968049e75a9262d0614","530e5968049e75a9262d061c","530e5968049e75a9262d063a","530e5968049e75a9262d0640"]}},"created":"2014-08-11T18:35:19.420Z","id":"53e90ce782399c964b0009e7"},"uri":"/v1.1/events/53e90ce782399c964b0009e7"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e6"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53e90ce782399c964b0009e7"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e7"}]}'
536
536
  http_version:
537
- recorded_at: Wed, 03 Sep 2014 19:05:18 GMT
537
+ recorded_at: Mon, 08 Sep 2014 21:30:57 GMT
538
538
  - request:
539
539
  method: get
540
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=7
540
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e7
541
541
  body:
542
542
  encoding: US-ASCII
543
543
  string: ''
544
544
  headers:
545
545
  Accept:
546
- - "*/*; q=0.5, application/xml"
546
+ - ! '*/*; q=0.5, application/xml'
547
547
  Accept-Encoding:
548
548
  - gzip, deflate
549
549
  User-Agent:
@@ -558,37 +558,37 @@ http_interactions:
558
558
  Access-Control-Allow-Methods:
559
559
  - GET,PATCH,POST,DELETE
560
560
  Access-Control-Allow-Origin:
561
- - "*"
561
+ - ! '*'
562
562
  Content-Type:
563
563
  - application/json; charset=utf-8
564
564
  Date:
565
- - Wed, 03 Sep 2014 19:05:18 GMT
565
+ - Mon, 08 Sep 2014 21:30:57 GMT
566
566
  Etag:
567
- - '"-786739319"'
567
+ - ! '"102184804"'
568
568
  Server:
569
569
  - nginx/1.4.7
570
570
  X-Powered-By:
571
571
  - Express
572
572
  Content-Length:
573
- - '1899'
573
+ - '1952'
574
574
  Connection:
575
575
  - keep-alive
576
576
  body:
577
- encoding: UTF-8
578
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
577
+ encoding: US-ASCII
578
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Grade
579
579
  3 Math, Class 301","course_number":"301","district":"4fd43cc56d11340000000005","grade":"3","name":"Grade
580
- 3 Math, Class 301 - 301 - S. Block","period":"5","school":"530e595026403103360ff9fe","sis_id":"771","subject":"math","teacher":"530e5955d50c310f36112c15","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"],"last_modified":"2014-07-07T15:46:35.850Z","created":"2014-02-26T21:15:38.738Z","id":"530e597a049e75a9262d0baf"},"previous_attributes":{"students":["530e5960049e75a9262cff56","530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"]}},"created":"2014-08-28T18:01:13.872Z","id":"53ff6e6b322eced002000088"},"uri":"/v1.1/events/53ff6e6b322eced002000088"}],"paging":{"current":7,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=7"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=8"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=6"}]}'
580
+ 3 Math, Class 301 - 301 - S. Block","period":"5","school":"530e595026403103360ff9fe","sis_id":"771","subject":"math","teacher":"530e5955d50c310f36112c15","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"],"last_modified":"2014-07-07T15:46:35.850Z","created":"2014-02-26T21:15:38.738Z","id":"530e597a049e75a9262d0baf"},"previous_attributes":{"students":["530e5960049e75a9262cff56","530e5962049e75a9262d00fb","530e5962049e75a9262d015a","530e5963049e75a9262d0219","530e5964049e75a9262d0270","530e5964049e75a9262d02cf","530e5964049e75a9262d02fc","530e5965049e75a9262d0341","530e5965049e75a9262d0343","530e5965049e75a9262d038d","530e5965049e75a9262d03a7","530e5966049e75a9262d0415","530e5966049e75a9262d0439","530e5966049e75a9262d0458","530e5966049e75a9262d04d5","530e5967049e75a9262d04f4","530e5967049e75a9262d051f"]}},"created":"2014-08-28T18:01:13.872Z","id":"53ff6e6b322eced002000088"},"uri":"/v1.1/events/53ff6e6b322eced002000088"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53e90ce782399c964b0009e7"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced002000088"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088"}]}'
581
581
  http_version:
582
- recorded_at: Wed, 03 Sep 2014 19:05:18 GMT
582
+ recorded_at: Mon, 08 Sep 2014 21:30:57 GMT
583
583
  - request:
584
584
  method: get
585
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=8
585
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088
586
586
  body:
587
587
  encoding: US-ASCII
588
588
  string: ''
589
589
  headers:
590
590
  Accept:
591
- - "*/*; q=0.5, application/xml"
591
+ - ! '*/*; q=0.5, application/xml'
592
592
  Accept-Encoding:
593
593
  - gzip, deflate
594
594
  User-Agent:
@@ -603,38 +603,38 @@ http_interactions:
603
603
  Access-Control-Allow-Methods:
604
604
  - GET,PATCH,POST,DELETE
605
605
  Access-Control-Allow-Origin:
606
- - "*"
606
+ - ! '*'
607
607
  Content-Type:
608
608
  - application/json; charset=utf-8
609
609
  Date:
610
- - Wed, 03 Sep 2014 19:05:18 GMT
610
+ - Mon, 08 Sep 2014 21:30:58 GMT
611
611
  Etag:
612
- - '"1585486727"'
612
+ - ! '"-1500347951"'
613
613
  Server:
614
614
  - nginx/1.4.7
615
615
  X-Powered-By:
616
616
  - Express
617
617
  Content-Length:
618
- - '1597'
618
+ - '1650'
619
619
  Connection:
620
620
  - keep-alive
621
621
  body:
622
- encoding: UTF-8
623
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
622
+ encoding: US-ASCII
623
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
624
624
  Music, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
625
625
  Music, Class 001 - 001 - H. Willms","period":"5","school":"530e595026403103360ff9fe","sis_id":"804","subject":"arts
626
- and music","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:38.877Z","created":"2014-02-26T21:15:38.875Z","id":"530e597a049e75a9262d0bd0"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.064Z","id":"53ff6e6b322eced002000089"},"uri":"/v1.1/events/53ff6e6b322eced002000089"}],"paging":{"current":8,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=8"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=9"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=7"}]}'
626
+ and music","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:38.877Z","created":"2014-02-26T21:15:38.875Z","id":"530e597a049e75a9262d0bd0"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.064Z","id":"53ff6e6b322eced002000089"},"uri":"/v1.1/events/53ff6e6b322eced002000089"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000088"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced002000089"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089"}]}'
627
627
  http_version:
628
- recorded_at: Wed, 03 Sep 2014 19:05:18 GMT
628
+ recorded_at: Mon, 08 Sep 2014 21:30:57 GMT
629
629
  - request:
630
630
  method: get
631
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=9
631
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089
632
632
  body:
633
633
  encoding: US-ASCII
634
634
  string: ''
635
635
  headers:
636
636
  Accept:
637
- - "*/*; q=0.5, application/xml"
637
+ - ! '*/*; q=0.5, application/xml'
638
638
  Accept-Encoding:
639
639
  - gzip, deflate
640
640
  User-Agent:
@@ -649,38 +649,38 @@ http_interactions:
649
649
  Access-Control-Allow-Methods:
650
650
  - GET,PATCH,POST,DELETE
651
651
  Access-Control-Allow-Origin:
652
- - "*"
652
+ - ! '*'
653
653
  Content-Type:
654
654
  - application/json; charset=utf-8
655
655
  Date:
656
- - Wed, 03 Sep 2014 19:05:18 GMT
656
+ - Mon, 08 Sep 2014 21:30:58 GMT
657
657
  Etag:
658
- - '"1486566861"'
658
+ - ! '"1656632044"'
659
659
  Server:
660
660
  - nginx/1.4.7
661
661
  X-Powered-By:
662
662
  - Express
663
663
  Content-Length:
664
- - '1598'
664
+ - '1650'
665
665
  Connection:
666
666
  - keep-alive
667
667
  body:
668
- encoding: UTF-8
669
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
668
+ encoding: US-ASCII
669
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
670
670
  Music, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
671
671
  Music, Class 002 - 002 - S. Schoen","period":"5","school":"530e595026403103360ff9fe","sis_id":"805","subject":"arts
672
- and music","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"last_modified":"2014-02-26T21:15:38.882Z","created":"2014-02-26T21:15:38.879Z","id":"530e597a049e75a9262d0bd1"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.067Z","id":"53ff6e6b322eced00200008a"},"uri":"/v1.1/events/53ff6e6b322eced00200008a"}],"paging":{"current":9,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=9"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=10"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=8"}]}'
672
+ and music","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"last_modified":"2014-02-26T21:15:38.882Z","created":"2014-02-26T21:15:38.879Z","id":"530e597a049e75a9262d0bd1"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.067Z","id":"53ff6e6b322eced00200008a"},"uri":"/v1.1/events/53ff6e6b322eced00200008a"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced002000089"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008a"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a"}]}'
673
673
  http_version:
674
- recorded_at: Wed, 03 Sep 2014 19:05:18 GMT
674
+ recorded_at: Mon, 08 Sep 2014 21:30:58 GMT
675
675
  - request:
676
676
  method: get
677
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=10
677
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a
678
678
  body:
679
679
  encoding: US-ASCII
680
680
  string: ''
681
681
  headers:
682
682
  Accept:
683
- - "*/*; q=0.5, application/xml"
683
+ - ! '*/*; q=0.5, application/xml'
684
684
  Accept-Encoding:
685
685
  - gzip, deflate
686
686
  User-Agent:
@@ -695,38 +695,38 @@ http_interactions:
695
695
  Access-Control-Allow-Methods:
696
696
  - GET,PATCH,POST,DELETE
697
697
  Access-Control-Allow-Origin:
698
- - "*"
698
+ - ! '*'
699
699
  Content-Type:
700
700
  - application/json; charset=utf-8
701
701
  Date:
702
- - Wed, 03 Sep 2014 19:05:18 GMT
702
+ - Mon, 08 Sep 2014 21:30:58 GMT
703
703
  Etag:
704
- - '"1198867496"'
704
+ - ! '"-1598924870"'
705
705
  Server:
706
706
  - nginx/1.4.7
707
707
  X-Powered-By:
708
708
  - Express
709
709
  Content-Length:
710
- - '1599'
710
+ - '1649'
711
711
  Connection:
712
712
  - keep-alive
713
713
  body:
714
- encoding: UTF-8
715
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
714
+ encoding: US-ASCII
715
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
716
716
  Music, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
717
717
  Music, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"806","subject":"arts
718
- and music","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:38.886Z","created":"2014-02-26T21:15:38.883Z","id":"530e597a049e75a9262d0bd2"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.070Z","id":"53ff6e6b322eced00200008b"},"uri":"/v1.1/events/53ff6e6b322eced00200008b"}],"paging":{"current":10,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=10"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=11"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=9"}]}'
718
+ and music","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:38.886Z","created":"2014-02-26T21:15:38.883Z","id":"530e597a049e75a9262d0bd2"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.070Z","id":"53ff6e6b322eced00200008b"},"uri":"/v1.1/events/53ff6e6b322eced00200008b"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008a"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008b"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b"}]}'
719
719
  http_version:
720
- recorded_at: Wed, 03 Sep 2014 19:05:18 GMT
720
+ recorded_at: Mon, 08 Sep 2014 21:30:58 GMT
721
721
  - request:
722
722
  method: get
723
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=11
723
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b
724
724
  body:
725
725
  encoding: US-ASCII
726
726
  string: ''
727
727
  headers:
728
728
  Accept:
729
- - "*/*; q=0.5, application/xml"
729
+ - ! '*/*; q=0.5, application/xml'
730
730
  Accept-Encoding:
731
731
  - gzip, deflate
732
732
  User-Agent:
@@ -741,37 +741,37 @@ http_interactions:
741
741
  Access-Control-Allow-Methods:
742
742
  - GET,PATCH,POST,DELETE
743
743
  Access-Control-Allow-Origin:
744
- - "*"
744
+ - ! '*'
745
745
  Content-Type:
746
746
  - application/json; charset=utf-8
747
747
  Date:
748
- - Wed, 03 Sep 2014 19:05:19 GMT
748
+ - Mon, 08 Sep 2014 21:30:58 GMT
749
749
  Etag:
750
- - '"-2003798880"'
750
+ - ! '"-1819628218"'
751
751
  Server:
752
752
  - nginx/1.4.7
753
753
  X-Powered-By:
754
754
  - Express
755
755
  Content-Length:
756
- - '1598'
756
+ - '1647'
757
757
  Connection:
758
758
  - keep-alive
759
759
  body:
760
- encoding: UTF-8
761
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
760
+ encoding: US-ASCII
761
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
762
762
  Science, Class 001","course_number":"1","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
763
- Science, Class 001 - 001 - H. Willms","period":"2","school":"530e595026403103360ff9fe","sis_id":"864","subject":"science","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:39.166Z","created":"2014-02-26T21:15:39.165Z","id":"530e597b049e75a9262d0c0a"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.073Z","id":"53ff6e6b322eced00200008c"},"uri":"/v1.1/events/53ff6e6b322eced00200008c"}],"paging":{"current":11,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=11"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=12"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=10"}]}'
763
+ Science, Class 001 - 001 - H. Willms","period":"2","school":"530e595026403103360ff9fe","sis_id":"864","subject":"science","teacher":"530e5955d50c310f36112c02","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff5d","530e5960049e75a9262cff76","530e5961049e75a9262cffdc","530e5962049e75a9262d00d0","530e5962049e75a9262d012d","530e5963049e75a9262d01c1","530e5963049e75a9262d01d3","530e5963049e75a9262d01e1","530e5964049e75a9262d027a","530e5964049e75a9262d02ae","530e5965049e75a9262d03c0","530e5965049e75a9262d03c6","530e5966049e75a9262d042d","530e5966049e75a9262d0451","530e5966049e75a9262d0479","530e5967049e75a9262d057b","530e5967049e75a9262d05a3","530e5967049e75a9262d05ba","530e5967049e75a9262d05c1","530e5968049e75a9262d05e4"],"last_modified":"2014-02-26T21:15:39.166Z","created":"2014-02-26T21:15:39.165Z","id":"530e597b049e75a9262d0c0a"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.073Z","id":"53ff6e6b322eced00200008c"},"uri":"/v1.1/events/53ff6e6b322eced00200008c"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008b"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008c"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c"}]}'
764
764
  http_version:
765
- recorded_at: Wed, 03 Sep 2014 19:05:18 GMT
765
+ recorded_at: Mon, 08 Sep 2014 21:30:58 GMT
766
766
  - request:
767
767
  method: get
768
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=12
768
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c
769
769
  body:
770
770
  encoding: US-ASCII
771
771
  string: ''
772
772
  headers:
773
773
  Accept:
774
- - "*/*; q=0.5, application/xml"
774
+ - ! '*/*; q=0.5, application/xml'
775
775
  Accept-Encoding:
776
776
  - gzip, deflate
777
777
  User-Agent:
@@ -786,37 +786,37 @@ http_interactions:
786
786
  Access-Control-Allow-Methods:
787
787
  - GET,PATCH,POST,DELETE
788
788
  Access-Control-Allow-Origin:
789
- - "*"
789
+ - ! '*'
790
790
  Content-Type:
791
791
  - application/json; charset=utf-8
792
792
  Date:
793
- - Wed, 03 Sep 2014 19:05:19 GMT
793
+ - Mon, 08 Sep 2014 21:30:58 GMT
794
794
  Etag:
795
- - '"-1751089928"'
795
+ - ! '"1349360613"'
796
796
  Server:
797
797
  - nginx/1.4.7
798
798
  X-Powered-By:
799
799
  - Express
800
800
  Content-Length:
801
- - '1598'
801
+ - '1647'
802
802
  Connection:
803
803
  - keep-alive
804
804
  body:
805
- encoding: UTF-8
806
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
805
+ encoding: US-ASCII
806
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
807
807
  Science, Class 002","course_number":"2","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
808
- 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"}],"paging":{"current":12,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=12"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=13"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=11"}]}'
808
+ Science, Class 002 - 002 - S. Schoen","period":"3","school":"530e595026403103360ff9fe","sis_id":"865","subject":"science","teacher":"530e5955d50c310f36112c03","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5960049e75a9262cff1d","530e5960049e75a9262cff55","530e5961049e75a9262cffc2","530e5961049e75a9262d0012","530e5962049e75a9262d00c0","530e5962049e75a9262d010d","530e5962049e75a9262d0136","530e5962049e75a9262d0151","530e5962049e75a9262d0162","530e5963049e75a9262d01bb","530e5963049e75a9262d01f0","530e5964049e75a9262d0295","530e5964049e75a9262d02a7","530e5964049e75a9262d02d8","530e5965049e75a9262d0320","530e5965049e75a9262d03b9","530e5966049e75a9262d0491","530e5966049e75a9262d04c4","530e5967049e75a9262d0520","530e5968049e75a9262d0615"],"last_modified":"2014-02-26T21:15:39.183Z","created":"2014-02-26T21:15:39.181Z","id":"530e597b049e75a9262d0c0e"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.076Z","id":"53ff6e6b322eced00200008d"},"uri":"/v1.1/events/53ff6e6b322eced00200008d"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008c"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008d"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d"}]}'
809
809
  http_version:
810
- recorded_at: Wed, 03 Sep 2014 19:05:18 GMT
810
+ recorded_at: Mon, 08 Sep 2014 21:30:58 GMT
811
811
  - request:
812
812
  method: get
813
- uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=13
813
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d
814
814
  body:
815
815
  encoding: US-ASCII
816
816
  string: ''
817
817
  headers:
818
818
  Accept:
819
- - "*/*; q=0.5, application/xml"
819
+ - ! '*/*; q=0.5, application/xml'
820
820
  Accept-Encoding:
821
821
  - gzip, deflate
822
822
  User-Agent:
@@ -831,26 +831,67 @@ http_interactions:
831
831
  Access-Control-Allow-Methods:
832
832
  - GET,PATCH,POST,DELETE
833
833
  Access-Control-Allow-Origin:
834
- - "*"
834
+ - ! '*'
835
835
  Content-Type:
836
836
  - application/json; charset=utf-8
837
837
  Date:
838
- - Wed, 03 Sep 2014 19:05:19 GMT
838
+ - Mon, 08 Sep 2014 21:30:58 GMT
839
839
  Etag:
840
- - '"-144915801"'
840
+ - ! '"-1352995454"'
841
841
  Server:
842
842
  - nginx/1.4.7
843
843
  X-Powered-By:
844
844
  - Express
845
845
  Content-Length:
846
- - '1510'
846
+ - '1646'
847
847
  Connection:
848
848
  - keep-alive
849
849
  body:
850
- encoding: UTF-8
851
- string: '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
850
+ encoding: US-ASCII
851
+ string: ! '{"data":[{"data":{"type":"sections.updated","data":{"object":{"course_name":"Kindergarten
852
852
  Science, Class 003","course_number":"3","district":"4fd43cc56d11340000000005","grade":"Kindergarten","name":"Kindergarten
853
- 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":13,"total":13,"count":13},"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=13"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&page=12"}]}'
853
+ Science, Class 003 - 003 - J. Stark","period":"4","school":"530e595026403103360ff9fe","sis_id":"866","subject":"science","teacher":"50c20477987eda0d3d02d310","term":{"name":"Y1","start_date":"2012-08-01","end_date":"2013-06-01"},"students":["530e5961049e75a9262cffbe","530e5961049e75a9262cffc3","530e5961049e75a9262d0000","530e5961049e75a9262d0036","530e5961049e75a9262d0074","530e5962049e75a9262d00c5","530e5963049e75a9262d01fa","530e5964049e75a9262d027e","530e5964049e75a9262d02a8","530e5964049e75a9262d02ab","530e5964049e75a9262d02f7","530e5965049e75a9262d03b2","530e5965049e75a9262d03bf","530e5966049e75a9262d040a","530e5966049e75a9262d0449","530e5967049e75a9262d051b","530e5967049e75a9262d0565","530e5968049e75a9262d05f0","530e5968049e75a9262d061e","530e5968049e75a9262d0623"],"last_modified":"2014-02-26T21:15:39.195Z","created":"2014-02-26T21:15:39.193Z","id":"530e597b049e75a9262d0c12"},"previous_attributes":{"subject":"homeroom/advisory"}},"created":"2014-08-28T18:01:14.088Z","id":"53ff6e6b322eced00200008e"},"uri":"/v1.1/events/53ff6e6b322eced00200008e"}],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008d"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008e"},{"rel":"next","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e"}]}'
854
+ http_version:
855
+ recorded_at: Mon, 08 Sep 2014 21:30:58 GMT
856
+ - request:
857
+ method: get
858
+ uri: https://DEMO_KEY:@api.clever.com//v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e
859
+ body:
860
+ encoding: US-ASCII
861
+ string: ''
862
+ headers:
863
+ Accept:
864
+ - ! '*/*; q=0.5, application/xml'
865
+ Accept-Encoding:
866
+ - gzip, deflate
867
+ User-Agent:
868
+ - Ruby
869
+ response:
870
+ status:
871
+ code: 200
872
+ message: OK
873
+ headers:
874
+ Access-Control-Allow-Headers:
875
+ - Content-Type,Authorization,X-Requested-With,Accept,Origin,Referer,User-Agent
876
+ Access-Control-Allow-Methods:
877
+ - GET,PATCH,POST,DELETE
878
+ Access-Control-Allow-Origin:
879
+ - ! '*'
880
+ Content-Type:
881
+ - application/json; charset=utf-8
882
+ Date:
883
+ - Mon, 08 Sep 2014 21:30:59 GMT
884
+ Server:
885
+ - nginx/1.4.7
886
+ X-Powered-By:
887
+ - Express
888
+ Content-Length:
889
+ - '258'
890
+ Connection:
891
+ - keep-alive
892
+ body:
893
+ encoding: US-ASCII
894
+ string: ! '{"data":[],"links":[{"rel":"self","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&starting_after=53ff6e6b322eced00200008e"},{"rel":"prev","uri":"/v1.1/districts/4fd43cc56d11340000000005/events?limit=1&ending_before=53ff6e6b322eced00200008e"}]}'
854
895
  http_version:
855
- recorded_at: Wed, 03 Sep 2014 19:05:19 GMT
896
+ recorded_at: Mon, 08 Sep 2014 21:30:58 GMT
856
897
  recorded_with: VCR 2.4.0