All URIs are relative to https://silverchips.mbhs.edu/api
| Method | HTTP request | Description |
|---|---|---|
| sectionsList | GET /sections/ | |
| sectionsRead | GET /sections/{id}/ |
open class func sectionsList(limit: Int? = nil, offset: Int? = nil, completion: @escaping (_ data: SectionListResponse?, _ error: Error?) -> Void)// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import SCOAPIClient
let limit = 987 // Int | Number of results to return per page. (optional)
let offset = 987 // Int | The initial index from which to return the results. (optional)
SectionsAPI.sectionsList(limit: limit, offset: offset) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| limit | Int | Number of results to return per page. | [optional] |
| offset | Int | The initial index from which to return the results. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
open class func sectionsRead(id: Int, completion: @escaping (_ data: Section?, _ error: Error?) -> Void)// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import SCOAPIClient
let id = 987 // Int | A unique integer value identifying this section.
SectionsAPI.sectionsRead(id: id) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Int | A unique integer value identifying this section. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]