Skip to content

Backend Routes

Onur edited this page Jul 2, 2019 · 8 revisions

Backend Routes

HTML

  • GET / StaticPagesController#root

API Endpoints

users

  • POST /api/users - sign up
  • GET /api/users/:id - returns user information

session

  • POST /api/session - log in
  • DELETE /api/session - log out

tasks

  • GET /api/tasks - returns all tasks
  • GET /api/tasks/:id - returns a task
  • POST /api/tasks - creates a task
  • DELETE /api/tasks/:id - removes(cancel) a task

categories

  • GET /api/categories - returns all categories
  • GET /api/categories/:id - returns a category
Clone this wiki locally