-
Notifications
You must be signed in to change notification settings - Fork 2
Backend Routes
Ed Herman edited this page Dec 5, 2019
·
4 revisions
GET /StaticPagesController#root
-
GET /api/usersreturns author-info -
POST /api/userssign up
-
POST /api/sessionlog in -
DELETE /api/sessionlog out
-
GET api/projectsreturns a list of projects you are subscribed to -
GET api/projects/:idreturns the project page if you are subscribed -
POST api/projectscreates a new project (and blank todo_lists, messages, and events??!!??) -
PATCH api/projects/:idedit a project if you are subscribed -
DELETE api/projects/:iddelete a project if you are subscribed
-
GET api/projects/:project_id/todo_listsreturns the todo lists in the current project -
GET api/projects/:project_id/todo_lists/:idreturns the todo list,todo-comments and comment-boosts -
POST api/projects/:project_id/todo_listscreates a new todo list -
PATCH api/projects/:project_id/todo_lists/:idedit a todo list if you are subscribed -
DELETE api/projects/:project_id/todo_lists/:iddelete a todo list if you are subscribed
-
GET api/projects/:project_id/todo_lists/:list_id/todo/:idreturns the todo, its todo-comments, and comment-boosts -
POST api/projects/:project_id/todo_lists/:list_id/todo/create a todo -
PATCH api/projects/:project_id/todo_lists/:list_id/todo/:idedit the todo if you are subscribed -
DELETE api/projects/:project_id/todo_lists/:list_id/todo/:iddeletes the todo if you are subscribed
-
GET api/projects/:project_id/messagesreturns the messages in the current project -
GET api/projects/:project_id/messages/:idreturns the message, its message-boosts, its message-comments, and comment-boosts -
POST api/projects/:project_id/messagescreates a message -
PATCH api/projects/:project_id/messages/:idedits the message -
DELETE api/projects/:project_id/messages/:iddeletes the message if you are subscribed
-
GET api/projects/:project_id/eventsreturns the events in the current project -
GET api/projects/:project_id/events/:idreturns the event, its event-boosts, its event-comments, and comment-boosts -
POST api/projects/:project_id/eventscreates a event -
PATCH api/projects/:project_id/events/:idedits the event -
DELETE api/projects/:project_id/events/:iddeletes the event if you are subscribed
-
POST api/projects/:project_id/commentscreates a comment -
PATCH api/projects/:project_id/comments/:idedits the comment if you are the comment-author -
DELETE api/projects/:project_id/comments/:iddeletes the comment if you are the comment-author or commented-item-author
-
POST api/projects/:project_id/boostscreates a boost -
PATCH api/projects/:project_id/boosts/:idedits the boost if you are the boost-author -
DELETE api/projects/:project_id/boosts/:iddeletes the boost if you are the boost-author