Skip to main content
This endpoint returns a paginated list of every class that has a PDF homework assignment attached, along with all student submissions for each class. Use the query parameters to filter by course or control pagination.

Endpoint

Required role: Admin

Required Headers

Query Parameters

integer
Filter results to a specific course by its ID. Omit to return classes across all courses.
integer
default:"15"
Number of homework classes to return per page.
integer
default:"1"
Page number to retrieve.
integer | optional
Filter homework items containing submissions updated on or after the specified timestamp.

Example Request

Response

200 OK

Response Fields

integer
The current page number in the paginated result set.
array
Array of HomeworkObject items representing classes with PDF homework assignments.
string
The full URL for the first page of results.
integer
The 1-based index of the first item on the current page.
integer
The number of the last available page.
string
The full URL for the last page of results.
string | null
The full URL for the next page of results. Returns null when you are on the last page.
string
The base URL of the endpoint, without pagination query parameters.
integer
The number of items returned per page, matching the per_page query parameter.
string | null
The full URL for the previous page of results. Returns null when you are on the first page.
integer
The 1-based index of the last item on the current page.
integer
The total number of homework classes matching the query across all pages.

Error Responses