Contents

List classes

List classes in an Apple School Manager organization.

URL

GET https://api-school.apple.com/rosterapi/v1/classes

Query Parameters

NameTypeDescription
limit Optionalstring

The maximum number of class records to return. The default is 100.

pageToken Optionalstring

A token for paging through a large number of results. If the number of records in the organization is greater than the limit parameter, pass the token returned in Classes.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
Classes

The request was successful.

401Unauthorized

The access token was invalid.

403Forbidden

Access to the list of classes was forbidden.

429

The client made too many requests. The response includes an X-Retry-After header that indicates the number of seconds to wait before making another request.

500Internal Server Error

The server encountered an internal error.

Mentioned in

Discussion

Example

See Also

Information about classes