Endpoint
Required Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Accept | application/json |
Query Parameters
Filter results to a specific course by its ID. Omit to return classes across all courses.
Number of homework classes to return per page.
Page number to retrieve.
Example Request
Response
200 OK
Response Fields
The current page number in the paginated result set.
Array of HomeworkObject items representing classes with PDF homework assignments.
The full URL for the first page of results.
The 1-based index of the first item on the current page.
The number of the last available page.
The full URL for the last page of results.
The full URL for the next page of results. Returns
null when you are on the last page.The base URL of the endpoint, without pagination query parameters.
The number of items returned per page, matching the
per_page query parameter.The full URL for the previous page of results. Returns
null when you are on the first page.The 1-based index of the last item on the current page.
The total number of homework classes matching the query across all pages.
Error Responses
| Status | Message | Cause |
|---|---|---|
401 | UnauthorizedRequest | Missing or invalid token, or the authenticated user does not have the Admin role. |

