Create a new project for an existing course
DevelopingPOST
/courses/{courseid}/projectsOnly the teacher of this course and assistants of this course should be able to perform this action
Request
Path Params
courseid
string
required
Query Params
name
string
required
description
string
required
visible
boolean
required
maxScore
number
required
groupClusterId
number
required
deadline
string
optional
timestamp
testId
number
optional
visibleAfter
string
optional
timestamp
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
projectId
number
required
clusterId
number
required
groupId
number
optional
null if not in a group
name
string
required
description
string
required
maxScore
number
required
visible
boolean
required
status
string
required
"correct" | "incorrect" | "not started" | "no group"
submissionUrl
string
required
testUrl
string
required
deadline
string
required
timestamp
progress
object
required
completed
integer
required
total
integer
required
course
object
required
name
string
required
url
string
required
courseId
integer
required
Example
{
"projectId": 0,
"clusterId": 0,
"groupId": 0,
"name": "string",
"description": "string",
"maxScore": 0,
"visible": true,
"status": "string",
"submissionUrl": "string",
"testUrl": "string",
"deadline": "string",
"progress": {
"completed": 0,
"total": 0
},
"course": {
"name": "string",
"url": "string",
"courseId": 0
}
}
Last modified: 8 months ago