Get all submissions for an existing project
DevelopingGET
/projects/{projectid}/submissionsOnly the teacher of this course and assistants of this course should be able to perform this action
Request
Path Params
projectid
string
required
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
submission
object (Submission)
optional
submissionId
number
required
projectUrl
string
required
groupUrl
string
optional
fileUrl
string
required
projectId
number
required
groupId
number
optional
structureAccepted
boolean
required
dockerStatus
string
required
"no_test" | "running" | "finished" | "aborted"
structureFeedback
string
required
dockerFeedback
object
required
artifactUrl
string
optional
submissionTime
string
required
timestamp
group
object (Group)
optional
groupId
string
required
name
string
required
capacity
number
required
groupclusterUrl
string
required
members
array [object {4}]
required
feedback
object
optional
score
integer
required
feedback
string
required
groupId
integer
required
projectId
integer
required
Example
[
{
"submission": {
"submissionId": 1,
"projectUrl": "/api/projects/1",
"groupUrl": "/api/groups/1",
"projectId": 1,
"groupId": 1,
"fileUrl": "/api/submissions/1/file",
"structureAccepted": true,
"dockerAccepted": true,
"submissionTime": "2024-03-31T07:34:31.666+00:00",
"structureFeedbackUrl": "/api/submissions/1/structurefeedback",
"dockerFeedbackUrl": "/api/submissions/1/dockerfeedback"
},
"group": {
"groupid": 1,
"name": "Group 1",
"groupClusterUrl": "/api/clusters/1",
"members": [
{
"name": "Inti Danschutter",
"url": "/api/users/1"
}
]
},
"feedback": {
"score": 95,
"feedback": "",
"groupId": 1,
"projectId": 1
}
}
]
Last modified: 8 months ago