Teacher Courses

Get Course Assignment

Changed on

Fetch the (single) assignment for this course.

Returns a default skeleton with id=None and empty class_ids when no document exists yet so the frontend can render the configuration page immediately. Lazy-creation happens on the first PUT.

get/teacher/courses/{course_id}/assignment

Request

  • Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.excellence-ai.com/teacher/courses/{course_id}/assignment
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

course_idstring required

Response

Successful Response

idstring nullable
teacher_idstring nullable
course_idstring required
class_idsstring[]
frozen_school_yearsstring[]
assigned_atstring date-time nullable
start_datestring date-time nullable
is_visible_to_studentsboolean
due_datestring date-time nullable
instructionsstring nullable

Changes