Endpoint
Required Headers
Path Parameters
integer
required
The unique class ID. Must be a numeric value.
This route only accepts numeric IDs. Passing a non-numeric value — for example,
/admin/homeworks/abc — returns a standard 404 response.Example Request
Response
200 OK
The example below shows a class with two submissions: one that has been reviewed and graded, and one that is still pending review.Response Fields
integer
The unique class ID.
string
The title of the class.
integer
The ID of the parent course this class belongs to.
string | null
The title of the parent course. Returns
null if the course has been deleted.boolean
Indicates whether the class has a PDF homework assignment. Always
true for classes returned by this endpoint.string | null
The submission deadline for the assignment, formatted as
dd/MM/YYYY hh:mm AM|PM. Returns null if no deadline was set.string | null
The instructor’s written homework instructions. Returns
null if no description was provided.string | null
The URL to the instructor’s homework PDF file. Returns
null if no file has been uploaded.string
The timestamp when the class was created, formatted as
YYYY-MM-DD HH:mm:ss.array
Array of SubmissionObjects representing student homework submissions. Returns an empty array if no submissions exist.

