-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
Jonathan Bae edited this page Oct 1, 2019
·
3 revisions
-
GET/ StaticPagesController#root
-
POST/api/users - sign up
-
POST/api/session - sign in -
DELETE/api/session - sign out
-
GET/api/notes - returns preview of all notes -
GET/api/notes/:noteId - returns note with rich text body -
POST/api/notes - create a new note -
PATCH/api/notes/:noteId - update an existing note -
DELETE/api/notes/:noteId - delete a note
-
GET/api/notebooks - returns preview of all notebooks -
GET/api/notebooks/:notebookId - returns list of notes for associated notebook -
POST/api/notebooks - create a new notebook -
PATCH/api/notebooks/:notebookId - update an existing notebook -
DELETE/api/notebooks/:notebookId - delete a notebook
-
POST/api/tags - create a tag -
DELETE/api/tags/:tagId - remove a tag
-
GET/api/taggings - return all taggings -
POST/api/taggings - create a tagging -
DELETE/api/taggings/:taggingId - remove a tagging