commonlit-clever-ruby 2.1.4 → 2.1.6.beta1

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.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +27 -30
  3. data/Makefile +1 -1
  4. data/README.md +60 -61
  5. data/clever-ruby.gemspec +6 -6
  6. data/docs/Contact.md +1 -1
  7. data/docs/ContactsApi.md +231 -0
  8. data/docs/ContactsCreated.md +2 -2
  9. data/docs/ContactsDeleted.md +2 -2
  10. data/docs/ContactsUpdated.md +2 -2
  11. data/docs/Course.md +1 -1
  12. data/docs/CoursesApi.md +231 -0
  13. data/docs/CoursesCreated.md +2 -2
  14. data/docs/CoursesDeleted.md +2 -2
  15. data/docs/CoursesUpdated.md +2 -2
  16. data/docs/District.md +9 -9
  17. data/docs/DistrictAdmin.md +2 -2
  18. data/docs/DistrictAdminsApi.md +171 -0
  19. data/docs/DistrictadminsCreated.md +2 -2
  20. data/docs/DistrictadminsDeleted.md +2 -2
  21. data/docs/DistrictadminsUpdated.md +2 -2
  22. data/docs/DistrictsApi.md +113 -0
  23. data/docs/DistrictsCreated.md +2 -2
  24. data/docs/DistrictsDeleted.md +2 -2
  25. data/docs/DistrictsUpdated.md +2 -2
  26. data/docs/Event.md +2 -2
  27. data/docs/EventsApi.md +1 -1
  28. data/docs/Location.md +2 -2
  29. data/docs/Name.md +1 -1
  30. data/docs/Principal.md +1 -1
  31. data/docs/School.md +3 -3
  32. data/docs/SchoolAdmin.md +3 -3
  33. data/docs/SchoolAdminsApi.md +231 -0
  34. data/docs/SchoolEnrollment.md +1 -1
  35. data/docs/SchooladminsCreated.md +2 -2
  36. data/docs/SchooladminsDeleted.md +2 -2
  37. data/docs/SchooladminsUpdated.md +2 -2
  38. data/docs/SchoolsApi.md +351 -0
  39. data/docs/SchoolsCreated.md +2 -2
  40. data/docs/SchoolsDeleted.md +2 -2
  41. data/docs/SchoolsUpdated.md +2 -2
  42. data/docs/Section.md +2 -2
  43. data/docs/SectionsApi.md +499 -0
  44. data/docs/SectionsCreated.md +2 -2
  45. data/docs/SectionsDeleted.md +2 -2
  46. data/docs/SectionsUpdated.md +2 -2
  47. data/docs/Student.md +3 -3
  48. data/docs/StudentsApi.md +463 -0
  49. data/docs/StudentsCreated.md +2 -2
  50. data/docs/StudentsDeleted.md +2 -2
  51. data/docs/StudentsUpdated.md +2 -2
  52. data/docs/Teacher.md +2 -2
  53. data/docs/TeachersApi.md +403 -0
  54. data/docs/TeachersCreated.md +2 -2
  55. data/docs/TeachersDeleted.md +2 -2
  56. data/docs/TeachersUpdated.md +2 -2
  57. data/docs/Term.md +2 -2
  58. data/docs/TermsApi.md +231 -0
  59. data/docs/TermsCreated.md +2 -2
  60. data/docs/TermsDeleted.md +2 -2
  61. data/docs/TermsUpdated.md +2 -2
  62. data/full-v2.yml +2541 -0
  63. data/lib/clever-ruby/api/contacts_api.rb +241 -0
  64. data/lib/clever-ruby/api/courses_api.rb +241 -0
  65. data/lib/clever-ruby/api/district_admins_api.rb +182 -0
  66. data/lib/clever-ruby/api/districts_api.rb +123 -0
  67. data/lib/clever-ruby/api/events_api.rb +3 -3
  68. data/lib/clever-ruby/api/school_admins_api.rb +241 -0
  69. data/lib/clever-ruby/api/schools_api.rb +359 -0
  70. data/lib/clever-ruby/api/sections_api.rb +500 -0
  71. data/lib/clever-ruby/api/students_api.rb +468 -0
  72. data/lib/clever-ruby/api/teachers_api.rb +409 -0
  73. data/lib/clever-ruby/api/terms_api.rb +241 -0
  74. data/lib/clever-ruby/api_client.rb +1 -0
  75. data/lib/clever-ruby/api_error.rb +3 -3
  76. data/lib/clever-ruby/configuration.rb +4 -4
  77. data/lib/clever-ruby/models/admin_name.rb +3 -3
  78. data/lib/clever-ruby/models/bad_request.rb +3 -3
  79. data/lib/clever-ruby/models/contact.rb +13 -13
  80. data/lib/clever-ruby/models/contact_object.rb +3 -3
  81. data/lib/clever-ruby/models/contact_response.rb +3 -3
  82. data/lib/clever-ruby/models/contacts_response.rb +3 -3
  83. data/lib/clever-ruby/models/course.rb +16 -16
  84. data/lib/clever-ruby/models/course_object.rb +3 -3
  85. data/lib/clever-ruby/models/course_response.rb +3 -3
  86. data/lib/clever-ruby/models/courses_response.rb +3 -3
  87. data/lib/clever-ruby/models/credentials.rb +3 -3
  88. data/lib/clever-ruby/models/district.rb +69 -69
  89. data/lib/clever-ruby/models/district_admin.rb +25 -25
  90. data/lib/clever-ruby/models/district_admin_object.rb +3 -3
  91. data/lib/clever-ruby/models/district_admin_response.rb +3 -3
  92. data/lib/clever-ruby/models/district_admins_response.rb +3 -3
  93. data/lib/clever-ruby/models/district_object.rb +3 -3
  94. data/lib/clever-ruby/models/district_response.rb +3 -3
  95. data/lib/clever-ruby/models/districts_response.rb +3 -3
  96. data/lib/clever-ruby/models/event.rb +16 -16
  97. data/lib/clever-ruby/models/event_response.rb +3 -3
  98. data/lib/clever-ruby/models/events_response.rb +3 -3
  99. data/lib/clever-ruby/models/internal_error.rb +3 -3
  100. data/lib/clever-ruby/models/link.rb +3 -3
  101. data/lib/clever-ruby/models/location.rb +25 -25
  102. data/lib/clever-ruby/models/name.rb +16 -16
  103. data/lib/clever-ruby/models/not_found.rb +3 -3
  104. data/lib/clever-ruby/models/principal.rb +16 -16
  105. data/lib/clever-ruby/models/school.rb +34 -34
  106. data/lib/clever-ruby/models/school_admin.rb +34 -34
  107. data/lib/clever-ruby/models/school_admin_object.rb +3 -3
  108. data/lib/clever-ruby/models/school_admin_response.rb +3 -3
  109. data/lib/clever-ruby/models/school_admins_response.rb +3 -3
  110. data/lib/clever-ruby/models/school_enrollment.rb +16 -16
  111. data/lib/clever-ruby/models/school_object.rb +3 -3
  112. data/lib/clever-ruby/models/school_response.rb +3 -3
  113. data/lib/clever-ruby/models/schools_response.rb +3 -3
  114. data/lib/clever-ruby/models/section.rb +25 -25
  115. data/lib/clever-ruby/models/section_object.rb +3 -3
  116. data/lib/clever-ruby/models/section_response.rb +3 -3
  117. data/lib/clever-ruby/models/sections_response.rb +3 -3
  118. data/lib/clever-ruby/models/student.rb +34 -34
  119. data/lib/clever-ruby/models/student_object.rb +3 -3
  120. data/lib/clever-ruby/models/student_response.rb +3 -3
  121. data/lib/clever-ruby/models/students_response.rb +3 -3
  122. data/lib/clever-ruby/models/teacher.rb +25 -25
  123. data/lib/clever-ruby/models/teacher_object.rb +3 -3
  124. data/lib/clever-ruby/models/teacher_response.rb +3 -3
  125. data/lib/clever-ruby/models/teachers_response.rb +3 -3
  126. data/lib/clever-ruby/models/term.rb +25 -25
  127. data/lib/clever-ruby/models/term_object.rb +3 -3
  128. data/lib/clever-ruby/models/term_response.rb +3 -3
  129. data/lib/clever-ruby/models/terms_response.rb +3 -3
  130. data/lib/clever-ruby/version.rb +4 -4
  131. data/lib/clever-ruby.rb +13 -4
  132. data/override/README-extension.md +4 -5
  133. data/override/api_client.rb +1 -0
  134. data/override/override.sh +4 -5
  135. data/spec/api/contacts_api_spec.rb +84 -0
  136. data/spec/api/courses_api_spec.rb +84 -0
  137. data/spec/api/district_admins_api_spec.rb +70 -0
  138. data/spec/api/districts_api_spec.rb +56 -0
  139. data/spec/api/events_api_spec.rb +60 -0
  140. data/spec/api/school_admins_api_spec.rb +84 -0
  141. data/spec/api/schools_api_spec.rb +112 -0
  142. data/spec/api/sections_api_spec.rb +142 -0
  143. data/spec/api/students_api_spec.rb +137 -0
  144. data/spec/api/teachers_api_spec.rb +123 -0
  145. data/spec/api/terms_api_spec.rb +84 -0
  146. data/spec/api_client_spec.rb +225 -0
  147. data/spec/spec_helper.rb +25 -18
  148. metadata +71 -33
  149. data/commonlit-clever-ruby-2.1.3.gem +0 -0
  150. data/docs/DataApi.md +0 -2852
  151. data/git_push.sh +0 -55
  152. data/lib/clever-ruby/api/data_api.rb +0 -2798
  153. data/spec/events.json +0 -227
  154. data/tags +0 -1681
@@ -3,9 +3,9 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **created** | **String** | | [optional]
7
- **id** | **String** | | [optional]
8
6
  **type** | **String** | |
7
+ **id** | **String** | | [optional]
8
+ **created** | **String** | | [optional]
9
9
  **data** | [**SchoolObject**](SchoolObject.md) | | [optional]
10
10
 
11
11
 
@@ -3,9 +3,9 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **created** | **String** | | [optional]
7
- **id** | **String** | | [optional]
8
6
  **type** | **String** | |
7
+ **id** | **String** | | [optional]
8
+ **created** | **String** | | [optional]
9
9
  **data** | [**SchoolObject**](SchoolObject.md) | | [optional]
10
10
  **previous_attributes** | **Object** | | [optional]
11
11
 
data/docs/Section.md CHANGED
@@ -3,12 +3,11 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
6
7
  **course** | **String** | | [optional]
7
8
  **created** | **String** | | [optional]
8
9
  **district** | **String** | | [optional]
9
- **ext** | **Object** | | [optional]
10
10
  **grade** | **String** | | [optional]
11
- **id** | **String** | | [optional]
12
11
  **last_modified** | **String** | | [optional]
13
12
  **name** | **String** | | [optional]
14
13
  **period** | **String** | | [optional]
@@ -20,5 +19,6 @@ Name | Type | Description | Notes
20
19
  **teacher** | **String** | | [optional]
21
20
  **teachers** | **Array<String>** | | [optional]
22
21
  **term_id** | **String** | | [optional]
22
+ **ext** | **Object** | | [optional]
23
23
 
24
24
 
@@ -0,0 +1,499 @@
1
+ # Clever::SectionsApi
2
+
3
+ All URIs are relative to *https://api.clever.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_course_for_section**](SectionsApi.md#get_course_for_section) | **GET** /sections/{id}/course |
8
+ [**get_district_for_section**](SectionsApi.md#get_district_for_section) | **GET** /sections/{id}/district |
9
+ [**get_school_for_section**](SectionsApi.md#get_school_for_section) | **GET** /sections/{id}/school |
10
+ [**get_section**](SectionsApi.md#get_section) | **GET** /sections/{id} |
11
+ [**get_sections**](SectionsApi.md#get_sections) | **GET** /sections |
12
+ [**get_students_for_section**](SectionsApi.md#get_students_for_section) | **GET** /sections/{id}/students |
13
+ [**get_teacher_for_section**](SectionsApi.md#get_teacher_for_section) | **GET** /sections/{id}/teacher |
14
+ [**get_teachers_for_section**](SectionsApi.md#get_teachers_for_section) | **GET** /sections/{id}/teachers |
15
+ [**get_term_for_section**](SectionsApi.md#get_term_for_section) | **GET** /sections/{id}/term |
16
+
17
+
18
+ # **get_course_for_section**
19
+ > CourseResponse get_course_for_section(id)
20
+
21
+
22
+
23
+ Returns the course for a section
24
+
25
+ ### Example
26
+ ```ruby
27
+ # load the gem
28
+ require 'clever-ruby'
29
+ # setup authorization
30
+ Clever.configure do |config|
31
+ # Configure OAuth2 access token for authorization: oauth
32
+ config.access_token = 'YOUR ACCESS TOKEN'
33
+ end
34
+
35
+ api_instance = Clever::SectionsApi.new
36
+
37
+ id = 'id_example' # String |
38
+
39
+
40
+ begin
41
+ result = api_instance.get_course_for_section(id)
42
+ p result
43
+ rescue Clever::ApiError => e
44
+ puts "Exception when calling SectionsApi->get_course_for_section: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ Name | Type | Description | Notes
51
+ ------------- | ------------- | ------------- | -------------
52
+ **id** | **String**| |
53
+
54
+ ### Return type
55
+
56
+ [**CourseResponse**](CourseResponse.md)
57
+
58
+ ### Authorization
59
+
60
+ [oauth](../README.md#oauth)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: Not defined
65
+ - **Accept**: application/json
66
+
67
+
68
+
69
+ # **get_district_for_section**
70
+ > DistrictResponse get_district_for_section(id)
71
+
72
+
73
+
74
+ Returns the district for a section
75
+
76
+ ### Example
77
+ ```ruby
78
+ # load the gem
79
+ require 'clever-ruby'
80
+ # setup authorization
81
+ Clever.configure do |config|
82
+ # Configure OAuth2 access token for authorization: oauth
83
+ config.access_token = 'YOUR ACCESS TOKEN'
84
+ end
85
+
86
+ api_instance = Clever::SectionsApi.new
87
+
88
+ id = 'id_example' # String |
89
+
90
+
91
+ begin
92
+ result = api_instance.get_district_for_section(id)
93
+ p result
94
+ rescue Clever::ApiError => e
95
+ puts "Exception when calling SectionsApi->get_district_for_section: #{e}"
96
+ end
97
+ ```
98
+
99
+ ### Parameters
100
+
101
+ Name | Type | Description | Notes
102
+ ------------- | ------------- | ------------- | -------------
103
+ **id** | **String**| |
104
+
105
+ ### Return type
106
+
107
+ [**DistrictResponse**](DistrictResponse.md)
108
+
109
+ ### Authorization
110
+
111
+ [oauth](../README.md#oauth)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: Not defined
116
+ - **Accept**: application/json
117
+
118
+
119
+
120
+ # **get_school_for_section**
121
+ > SchoolResponse get_school_for_section(id)
122
+
123
+
124
+
125
+ Returns the school for a section
126
+
127
+ ### Example
128
+ ```ruby
129
+ # load the gem
130
+ require 'clever-ruby'
131
+ # setup authorization
132
+ Clever.configure do |config|
133
+ # Configure OAuth2 access token for authorization: oauth
134
+ config.access_token = 'YOUR ACCESS TOKEN'
135
+ end
136
+
137
+ api_instance = Clever::SectionsApi.new
138
+
139
+ id = 'id_example' # String |
140
+
141
+
142
+ begin
143
+ result = api_instance.get_school_for_section(id)
144
+ p result
145
+ rescue Clever::ApiError => e
146
+ puts "Exception when calling SectionsApi->get_school_for_section: #{e}"
147
+ end
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ Name | Type | Description | Notes
153
+ ------------- | ------------- | ------------- | -------------
154
+ **id** | **String**| |
155
+
156
+ ### Return type
157
+
158
+ [**SchoolResponse**](SchoolResponse.md)
159
+
160
+ ### Authorization
161
+
162
+ [oauth](../README.md#oauth)
163
+
164
+ ### HTTP request headers
165
+
166
+ - **Content-Type**: Not defined
167
+ - **Accept**: application/json
168
+
169
+
170
+
171
+ # **get_section**
172
+ > SectionResponse get_section(id)
173
+
174
+
175
+
176
+ Returns a specific section
177
+
178
+ ### Example
179
+ ```ruby
180
+ # load the gem
181
+ require 'clever-ruby'
182
+ # setup authorization
183
+ Clever.configure do |config|
184
+ # Configure OAuth2 access token for authorization: oauth
185
+ config.access_token = 'YOUR ACCESS TOKEN'
186
+ end
187
+
188
+ api_instance = Clever::SectionsApi.new
189
+
190
+ id = 'id_example' # String |
191
+
192
+
193
+ begin
194
+ result = api_instance.get_section(id)
195
+ p result
196
+ rescue Clever::ApiError => e
197
+ puts "Exception when calling SectionsApi->get_section: #{e}"
198
+ end
199
+ ```
200
+
201
+ ### Parameters
202
+
203
+ Name | Type | Description | Notes
204
+ ------------- | ------------- | ------------- | -------------
205
+ **id** | **String**| |
206
+
207
+ ### Return type
208
+
209
+ [**SectionResponse**](SectionResponse.md)
210
+
211
+ ### Authorization
212
+
213
+ [oauth](../README.md#oauth)
214
+
215
+ ### HTTP request headers
216
+
217
+ - **Content-Type**: Not defined
218
+ - **Accept**: application/json
219
+
220
+
221
+
222
+ # **get_sections**
223
+ > SectionsResponse get_sections(opts)
224
+
225
+
226
+
227
+ Returns a list of sections
228
+
229
+ ### Example
230
+ ```ruby
231
+ # load the gem
232
+ require 'clever-ruby'
233
+ # setup authorization
234
+ Clever.configure do |config|
235
+ # Configure OAuth2 access token for authorization: oauth
236
+ config.access_token = 'YOUR ACCESS TOKEN'
237
+ end
238
+
239
+ api_instance = Clever::SectionsApi.new
240
+
241
+ opts = {
242
+ limit: 56, # Integer |
243
+ starting_after: 'starting_after_example', # String |
244
+ ending_before: 'ending_before_example', # String |
245
+ count: 'count_example' # String |
246
+ }
247
+
248
+ begin
249
+ result = api_instance.get_sections(opts)
250
+ p result
251
+ rescue Clever::ApiError => e
252
+ puts "Exception when calling SectionsApi->get_sections: #{e}"
253
+ end
254
+ ```
255
+
256
+ ### Parameters
257
+
258
+ Name | Type | Description | Notes
259
+ ------------- | ------------- | ------------- | -------------
260
+ **limit** | **Integer**| | [optional]
261
+ **starting_after** | **String**| | [optional]
262
+ **ending_before** | **String**| | [optional]
263
+ **count** | **String**| | [optional]
264
+
265
+ ### Return type
266
+
267
+ [**SectionsResponse**](SectionsResponse.md)
268
+
269
+ ### Authorization
270
+
271
+ [oauth](../README.md#oauth)
272
+
273
+ ### HTTP request headers
274
+
275
+ - **Content-Type**: Not defined
276
+ - **Accept**: application/json
277
+
278
+
279
+
280
+ # **get_students_for_section**
281
+ > StudentsResponse get_students_for_section(id, opts)
282
+
283
+
284
+
285
+ Returns the students for a section
286
+
287
+ ### Example
288
+ ```ruby
289
+ # load the gem
290
+ require 'clever-ruby'
291
+ # setup authorization
292
+ Clever.configure do |config|
293
+ # Configure OAuth2 access token for authorization: oauth
294
+ config.access_token = 'YOUR ACCESS TOKEN'
295
+ end
296
+
297
+ api_instance = Clever::SectionsApi.new
298
+
299
+ id = 'id_example' # String |
300
+
301
+ opts = {
302
+ limit: 56, # Integer |
303
+ starting_after: 'starting_after_example', # String |
304
+ ending_before: 'ending_before_example' # String |
305
+ }
306
+
307
+ begin
308
+ result = api_instance.get_students_for_section(id, opts)
309
+ p result
310
+ rescue Clever::ApiError => e
311
+ puts "Exception when calling SectionsApi->get_students_for_section: #{e}"
312
+ end
313
+ ```
314
+
315
+ ### Parameters
316
+
317
+ Name | Type | Description | Notes
318
+ ------------- | ------------- | ------------- | -------------
319
+ **id** | **String**| |
320
+ **limit** | **Integer**| | [optional]
321
+ **starting_after** | **String**| | [optional]
322
+ **ending_before** | **String**| | [optional]
323
+
324
+ ### Return type
325
+
326
+ [**StudentsResponse**](StudentsResponse.md)
327
+
328
+ ### Authorization
329
+
330
+ [oauth](../README.md#oauth)
331
+
332
+ ### HTTP request headers
333
+
334
+ - **Content-Type**: Not defined
335
+ - **Accept**: application/json
336
+
337
+
338
+
339
+ # **get_teacher_for_section**
340
+ > TeacherResponse get_teacher_for_section(id)
341
+
342
+
343
+
344
+ Returns the primary teacher for a section
345
+
346
+ ### Example
347
+ ```ruby
348
+ # load the gem
349
+ require 'clever-ruby'
350
+ # setup authorization
351
+ Clever.configure do |config|
352
+ # Configure OAuth2 access token for authorization: oauth
353
+ config.access_token = 'YOUR ACCESS TOKEN'
354
+ end
355
+
356
+ api_instance = Clever::SectionsApi.new
357
+
358
+ id = 'id_example' # String |
359
+
360
+
361
+ begin
362
+ result = api_instance.get_teacher_for_section(id)
363
+ p result
364
+ rescue Clever::ApiError => e
365
+ puts "Exception when calling SectionsApi->get_teacher_for_section: #{e}"
366
+ end
367
+ ```
368
+
369
+ ### Parameters
370
+
371
+ Name | Type | Description | Notes
372
+ ------------- | ------------- | ------------- | -------------
373
+ **id** | **String**| |
374
+
375
+ ### Return type
376
+
377
+ [**TeacherResponse**](TeacherResponse.md)
378
+
379
+ ### Authorization
380
+
381
+ [oauth](../README.md#oauth)
382
+
383
+ ### HTTP request headers
384
+
385
+ - **Content-Type**: Not defined
386
+ - **Accept**: application/json
387
+
388
+
389
+
390
+ # **get_teachers_for_section**
391
+ > TeachersResponse get_teachers_for_section(id, opts)
392
+
393
+
394
+
395
+ Returns the teachers for a section
396
+
397
+ ### Example
398
+ ```ruby
399
+ # load the gem
400
+ require 'clever-ruby'
401
+ # setup authorization
402
+ Clever.configure do |config|
403
+ # Configure OAuth2 access token for authorization: oauth
404
+ config.access_token = 'YOUR ACCESS TOKEN'
405
+ end
406
+
407
+ api_instance = Clever::SectionsApi.new
408
+
409
+ id = 'id_example' # String |
410
+
411
+ opts = {
412
+ limit: 56, # Integer |
413
+ starting_after: 'starting_after_example', # String |
414
+ ending_before: 'ending_before_example' # String |
415
+ }
416
+
417
+ begin
418
+ result = api_instance.get_teachers_for_section(id, opts)
419
+ p result
420
+ rescue Clever::ApiError => e
421
+ puts "Exception when calling SectionsApi->get_teachers_for_section: #{e}"
422
+ end
423
+ ```
424
+
425
+ ### Parameters
426
+
427
+ Name | Type | Description | Notes
428
+ ------------- | ------------- | ------------- | -------------
429
+ **id** | **String**| |
430
+ **limit** | **Integer**| | [optional]
431
+ **starting_after** | **String**| | [optional]
432
+ **ending_before** | **String**| | [optional]
433
+
434
+ ### Return type
435
+
436
+ [**TeachersResponse**](TeachersResponse.md)
437
+
438
+ ### Authorization
439
+
440
+ [oauth](../README.md#oauth)
441
+
442
+ ### HTTP request headers
443
+
444
+ - **Content-Type**: Not defined
445
+ - **Accept**: application/json
446
+
447
+
448
+
449
+ # **get_term_for_section**
450
+ > TermResponse get_term_for_section(id)
451
+
452
+
453
+
454
+ Returns the term for a section
455
+
456
+ ### Example
457
+ ```ruby
458
+ # load the gem
459
+ require 'clever-ruby'
460
+ # setup authorization
461
+ Clever.configure do |config|
462
+ # Configure OAuth2 access token for authorization: oauth
463
+ config.access_token = 'YOUR ACCESS TOKEN'
464
+ end
465
+
466
+ api_instance = Clever::SectionsApi.new
467
+
468
+ id = 'id_example' # String |
469
+
470
+
471
+ begin
472
+ result = api_instance.get_term_for_section(id)
473
+ p result
474
+ rescue Clever::ApiError => e
475
+ puts "Exception when calling SectionsApi->get_term_for_section: #{e}"
476
+ end
477
+ ```
478
+
479
+ ### Parameters
480
+
481
+ Name | Type | Description | Notes
482
+ ------------- | ------------- | ------------- | -------------
483
+ **id** | **String**| |
484
+
485
+ ### Return type
486
+
487
+ [**TermResponse**](TermResponse.md)
488
+
489
+ ### Authorization
490
+
491
+ [oauth](../README.md#oauth)
492
+
493
+ ### HTTP request headers
494
+
495
+ - **Content-Type**: Not defined
496
+ - **Accept**: application/json
497
+
498
+
499
+
@@ -3,9 +3,9 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **created** | **String** | | [optional]
7
- **id** | **String** | | [optional]
8
6
  **type** | **String** | |
7
+ **id** | **String** | | [optional]
8
+ **created** | **String** | | [optional]
9
9
  **data** | [**SectionObject**](SectionObject.md) | | [optional]
10
10
 
11
11
 
@@ -3,9 +3,9 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **created** | **String** | | [optional]
7
- **id** | **String** | | [optional]
8
6
  **type** | **String** | |
7
+ **id** | **String** | | [optional]
8
+ **created** | **String** | | [optional]
9
9
  **data** | [**SectionObject**](SectionObject.md) | | [optional]
10
10
 
11
11
 
@@ -3,9 +3,9 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **created** | **String** | | [optional]
7
- **id** | **String** | | [optional]
8
6
  **type** | **String** | |
7
+ **id** | **String** | | [optional]
8
+ **created** | **String** | | [optional]
9
9
  **data** | [**SectionObject**](SectionObject.md) | | [optional]
10
10
  **previous_attributes** | **Object** | | [optional]
11
11
 
data/docs/Student.md CHANGED
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **id** | **String** | | [optional]
6
7
  **created** | **String** | | [optional]
7
8
  **credentials** | [**Credentials**](Credentials.md) | | [optional]
8
9
  **district** | **String** | | [optional]
@@ -10,13 +11,11 @@ Name | Type | Description | Notes
10
11
  **ell_status** | **String** | | [optional]
11
12
  **email** | **String** | | [optional]
12
13
  **enrollments** | [**Array<SchoolEnrollment>**](SchoolEnrollment.md) | | [optional]
13
- **ext** | **Object** | | [optional]
14
14
  **gender** | **String** | | [optional]
15
- **grade** | **String** | | [optional]
16
15
  **graduation_year** | **String** | | [optional]
16
+ **grade** | **String** | | [optional]
17
17
  **hispanic_ethnicity** | **String** | | [optional]
18
18
  **home_language** | **String** | | [optional]
19
- **id** | **String** | | [optional]
20
19
  **iep_status** | **String** | | [optional]
21
20
  **last_modified** | **String** | | [optional]
22
21
  **location** | [**Location**](Location.md) | | [optional]
@@ -29,5 +28,6 @@ Name | Type | Description | Notes
29
28
  **student_number** | **String** | | [optional]
30
29
  **unweighted_gpa** | **String** | | [optional]
31
30
  **weighted_gpa** | **String** | | [optional]
31
+ **ext** | **Object** | | [optional]
32
32
 
33
33