Skip to main content
GET
Get Homework Assignments

Overview

This endpoint retrieves a paginated list of homework assignments. It supports filtering by teacher, course, and search terms.

Authentication

string
required
Authentication header with your tenant’s API key

Query Parameters

integer
default:"10"
The maximum number of assignments to return per page
integer
default:"0"
The number of items to skip before starting to collect results
string
Filter assignments by teacher UUID
string | string[]
Filter assignments by course ID(s)
Search term to filter assignments

Response

boolean
Indicates if there’s a previous page of results
boolean
Indicates if there’s a next page of results
array
Array of homework assignment objects
integer
Total number of assignments matching the query

Homework Assignment Object

string
Unique identifier for the homework assignment
string
Tenant identifier
string
ID of the teacher who created the assignment
string
Unique assignment identifier
string
The subject of the homework assignment (if available)
string
ID of the course this homework belongs to
string
Timestamp when the assignment was created
string
Timestamp when the assignment was last updated
array
Array of files associated with the homework assignment
object
Course information related to this homework

File Object

string
Unique identifier for the file
string
ID of the homework this file belongs to
string
Type of the file (e.g., “task”, “solution”, “restriction”)
string
Name of the file
string
Path to the file in storage
string
Content of the file
string
Timestamp when the file was created
string
Timestamp when the file was last updated

Course Object

string
Unique identifier for the course
string
Tenant identifier
string
ID of the teacher who created the course
string
Name of the course
string
Timestamp when the course was created
string
Timestamp when the course was last updated

Error Responses

Invalid query parameters
Invalid or missing API key
Server error processing the request

Example Usage

cURL

JavaScript