-
Notifications
You must be signed in to change notification settings - Fork 0
Routes
jcompagni10 edited this page Nov 23, 2017
·
6 revisions
-
GET /
StaticPagesController#root
-
GET /api/users
- returns the user information -
POST /api/users
- sign up
-
POST /api/session
- log in -
DELETE /api/session
- log out
-
GET /api/tasks/
- returns index of all tasks (not sure if actually necessary) -
GET /api/tasks/:id
- returns task joined with tests -
POST /api/tasks/:id/check
- checks correctness of task, returns test results
-
GET /api/level_sets
- returns index of all tasks sets joined with title and order of tasks and user task completion
-
GET /api/bots
- returns index of all bots joined with user bot_completion -
GET /api/bots/:id
- returns single bot
-
GET /api/head_to_head/:id
- returns single head to head
/login
/signup
-
/dashboard
- navigate to mode of play -
/arcade
- select arcade level -
/bots
- select bot -
/:mode/repl/:taskId/:language
- complete a task in repl