-
Notifications
You must be signed in to change notification settings - Fork 1
backend routes
imshentastic edited this page Dec 5, 2019
·
1 revision
- GET / StaticPagesController#root
-
GET /api/users- returns current user's information, including full name and email -
POST /api/users- create user account
-
POST /api/session- log into account -
DELETE /api/session- log out of account
-
GET /api/notes- returns all notes (filtered by specified params) -
GET /api/notes/:id- returns specified note -
POST /api/notes- creates a new note -
PATCH /api/notes/:id- edits a specified note -
DELETE /api/notes/:id- deletes a specified note Note: Optional for a note to have a parent notebook
-
GET /api/notebooks- returns all notebooks (filtered by specified params) -
GET /api/notebooks/:id- returns specified notebook -
POST /api/notebooks- creates a new notebook -
PATCH /api/notebooks/:id- edits a specified notebook -
DELETE /api/notebooks/:id- deletes a specified notebook
-
GET /api/tags- returns all tags (filtered by specified params) -
GET /api/tags/:id- returns specified tag -
POST /api/tags- creates a new tag -
PATCH /api/tags/:id- edits a specified tag -
DELETE /api/tags/:id- deletes a specified tag