Create a course assignment
POST/api/courses/:id/assignments
Creates an assignment in the course. Course staff (faculty or TAs) or a system admin. The due date is interpreted as end-of-day in the course's timezone. The late cutoff is optional when late submissions are on (blank means no deadline), must be omitted when late is off, and must fall on or after the due date when set.
Request
Responses
- 201
- 400
- 401
- 403
- 500
The created assignment.
Missing fields, or an inconsistent late-submission window.
Not signed in.
Not course staff or a system admin.
Server error.