Add problems to an assignment
POST/api/courses/:id/assignments/:aid/problems
Attaches problems to an assignment with per-problem settings (points, submission cap, autograder). Course staff (faculty or TAs) or a system admin. Adds only problems not already linked; existing links, especially those with submissions, are preserved and reported back. Only problems belonging to this course are accepted.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The assignment's problem list plus a summary of what changed.
Empty/invalid body or invalid problemSettings.
Not signed in.
Caller is not course staff (faculty or TA) or a system admin.
Server error.