Skip to main content

Create a problem in a course

POST 

/api/courses/:id/problems

Creates a problem in a course from an uploaded solution file (multipart/form-data). Course staff (faculty or TAs) or a system admin. The file's XML structure is validated against the problem type before it's written to disk, and it's size-checked against the system upload limit. maxStates applies to FA/PDA and isDeterministic to FA. The course comes from the path.

View source

Request

Responses

The created problem.