me
The signed-in user's own profile, password, courses, enrollments, and assignments.
List my assignments in a date range
Returns the assignments visible to the signed-in user whose due dates fall in a date range: the data behind the calendar view. Role-based visibility is applied inside getAssignmentsForUserRange. Bare dates are widened to cover the whole day in the user's timezone.
List my 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.
Inspect my enrollments (debug)
Debug helper: returns the signed-in user's own roster entries (with a little course info) plus their id and role. Handy for diagnosing enrollment issues; scoped to the caller, so it exposes nothing about other users.
List courses the caller can manage
Lists the courses the caller may manage, for the 'import assignment' picker: courses where they are FACULTY or TA, or every course when they are a system admin. Archived courses are included (you can import from a past term); soft-deleted courses never appear. Pass `excludeCourseId` to drop the course being imported into (importing from the same course is what Duplicate already does).
Change my password
Lets a signed-in user change their own password. Requires the current password, enforces the strength policy, and forbids reusing the existing one. A correct change also clears the `temporaryPassword` flag (used after admin resets).
Update my profile
Updates the signed-in user's own profile: names, timezone, and avatar. The avatar is written to disk and any previous file is removed; `deleteAvatar` clears it instead. Sent as multipart/form-data because it carries a file.
Get my profile
Returns the signed-in user's own profile.