Skip to main content

Get a course

GET 

/api/courses/:id

Fetches one course with derived metadata, shaped by the view query param to keep payloads lean (full/summary/roster/assignments/problems). Assignments come back with derived point totals and submission/comment counts; problems are tagged with whether an assignment uses them; the roster is flattened into a single enrolled array, and the caller's own course role is included. Access is restricted: any enrolled member of the course (any role) or a system admin.

Auth: requires FACULTY / TA / STUDENT

View source

Request

Responses

The course with metadata for the requested view.