-
Notifications
You must be signed in to change notification settings - Fork 0
Routes
Yu-Jen Chang edited this page Mar 30, 2018
·
3 revisions
/login/signup-
/notes- all notes -
/notes/new- create a note -
/notes/:id- show a note -
/notebooks- all notebooks -
/notebooks/new- create a notebook -
/notebooks/:id- show a notebook -
/tags- all tags -
/tags/new- create a tag -
/tags/:id- show a tag
GET /api/users-
POST /api/users- Sign Up
-
POST /api/session- login -
DELETE /api/session- logout
-
GET /api/notes- index all notes -
GET /api/notes/new- create a new note -
GET /api/notes/:id- show a note -
PATCH /api/notes/:id- update a note -
DELET /api/notes/:id- remove a note
-
GET /api/notebooks- index all notebooks -
GET /api/notebooks/new- create a new notebook -
GET /api/notebooks/:id- show a single notebook -
PATCH /api/notebooks/:id- update a notebook -
DELET /api/notebooks/:id- remove a notebook
-
GET /api/tags- index all tags -
GET /api/tags/new- create a new tag -
GET /api/tags/:id- show a single tag -
PATCH /api/tags/:id- update a tag -
DELET /api/tags/:id- remove a tag