Skip to main content

List my courses

GET 

/api/me/courses

Lists the courses visible to the signed-in user, in one of two shapes selected by the view query param: - default: the full role-scoped list (a student sees their published enrollments; staff/admins see more), shaped by getCoursesListForUser. - view=nav: a compact list for the sidebar navigation, only the caller's enrolled courses (published-only for students), with just the fields the nav needs (id, name, code, publish/archive flags), newest first.

Auth: requires FACULTY / TA / ADMIN / STUDENT

View source

Request

Responses

Courses visible to the caller (shape depends on view).