Skip to content

Capstone-auto-grader/grader-api-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grader-api-v2

This is a proof-of-concept prototype of version 2 of the grader API

General Flow

Endpoints

SubmitForGrading

Params:
- assignment URN
- zip key
- student name
- timeout

CreateAssignment

Params:
- image name
- image tar

To build

make build

To run graderd locally

./bin/graderd [--addr address] [--port port] [--cert public cert] [--key private key]

To call graderd using gRPC client

./bin/grader-cli [-a address:port] [-c public cert] submit [-u assignment-urn] [-z zip-key] [-n student's name]

To call graderd using curl

curl -X POST -k https://localhost:9090/api/submit -H "Content-Type: text/plain" -d '{"urn_key": "Hello", "zip_key": "Hello", "student_name": "Hello"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages