Skip to content

API Documentation

88joonyc edited this page Aug 27, 2021 · 3 revisions

API-Routes

This web app uses the following API routes to dynamically update pages

Events

A logged in user may delete one of their own events, removing it from the list of visible events without causing a refresh/redirect.

  • POST /api/events/
  • PUT /api/events/:id(\d+)
  • DELETE /api/events/:id(\d+)

Tickets

A logged in user can register or unregister for tickets with visible confirmation without causing a refresh/redirect.

  • POST /api/tickets/
  • DELETE /api/tickets/:id(\d+)

Hearts

A logged in user can like or unlike an event with visible confirmation without causing a refresh/redirect.

  • POST /api/hearts/
  • DELETE /api/hearts/:id(\d+)

Clone this wiki locally