-
Notifications
You must be signed in to change notification settings - Fork 0
Backend Routes
guanw88 edited this page Dec 11, 2018
·
2 revisions
GET / StaticPagesController#root
-
GET /api/users- returns list of users -
GET /api/users/:id- returns information about a specific user -
PATCH /api/users/:id- update user information (e.g. purchase history) -
POST /api/users- creates a new user
-
POST /api/session- logs in -
DELETE /api/session- logs out
-
GET /api/events- returns list of events -
GET /api/event/:id- returns information about a specific event -
PATCH /api/event/:id- update event information -
POST /api/events- creates a new event -
DELETE /api/events/:id- cancel an event
-
GET /api/tickets- returns list of tickets -
GET /api/tickets/:id- returns information about a specific ticket -
PATCH /api/tickets/:id- update ticket information -
POST /api/tickets- creates a new ticket -
DELETE /api/tickets/:id- delete/cancel a ticket
-
POST /api/categories- add a category to an event -
DELETE /api/categories/:id- remove a category from an event
-
POST /api/bookmarks- create a bookmark -
DELETE /api/bookmarks/:id- delete a bookmark