Backend Routes - RawBData/Checkoff GitHub Wiki
Backend Routes
HTML
GET /
StaticPagesController#root
API Endpoints
users
GET /api/users
- returns the user information
POST /api/users
- sign up
session
POST /api/session
- log in
DELETE /api/session
- log out
lists
GET /api/lists
- returns lists
GET /api/lists/:id
- returns list
POST /api/lists
- creates a list
PATCH /api/lists/:id
- edit a list
DELETE /api/lists/:id
- remove a list
tasks
GET /api/lists/:lists_id/tasks
- returns tasks
GET /api/lists/:lists_id/tasks/:id
- returns task
POST /api/tasks
- creates a task
PATCH /api/lists/:lists_id/tasks/:id
- edit a task
DELETE /api/lists/:lists_id/tasks/:id
- remove a task
tag
GET /api/tag
- returns tag
GET /api/tag/:id
- returns tag
POST /api/tag
- creates a tag
PATCH /api/tag/:id
- edit a tag
DELETE /api/tag/:id
- remove a tag
taggings
POST /api/tagging
- creates tag to task reference
DELETE /api/tagging/:id
- removes tag to task reference