Back to README
Fetches all submissions that requires grading from Canvas and stores the database.
URL : /fetch-submissions
Method : [GET, POST]
DATA :
{}
Auth required : YES
Header: { 'Authorization': 'Basic {credentials}' }
Code : 201 Created
Content
{
"message": "Successfully fetched new assignments from canvas"
}
Fetches all submissions that have been graded, from Canvas and stores the database.
URL : /re-fetch-graded-submissions
Method : [POST]
DATA :
{
"course": "{The Canvas Course name}",
"assignment": "{The assignment name it should re-fetch for}",
}
Auth required : YES
Header: { 'Authorization': 'Basic {credentials}' }
Code : 201 Created
Content
{
"message": "Successfully fetched new assignments from canvas"
}
Gets all the tested submissions from the database and reports them to Canvas. If know error code is encountered during testing, the grade U will be sent to Canvas.
URL : /wall-e/grade
Method : [GET, POST]
DATA :
{}
Auth required : YES
Header: { 'Authorization': 'Basic {credentials}' }
Code : 200 OK
Content examples
{
"message": "Canvas has been updated with the new grades."
}
The server might have a penging request to grade a submission. To avoid conflicts this will cancel the request.
Code: 423 Locked
Content examples
{
"message": "Wall-E is busy, try again in a few minutes"
}