project-eval / back-end

3 stars 0 forks source link

API RESOURCES

api path

0.0.0.0:9000/api/

POST login

returns session cookie or error

POST register

register new account

POST logout

terminate session

GET me

get session information, role and username

GET user/:username

returns public information about an user

POST breadsticks

create a new empty breadstick (look at PUT breadsticks)

PUT breadsticks

update a breadstick

GET breadsticks?

query for breadsticks - NOTE: all queries are optional

GET breadstick/:id

get a breadstick by id - includes ALL info about breadstick

POST breadstick/:id/:index

submit code to evaluation

DELETE breadstick/:id

delete breadstick