API Documentation - miguelalvinflores/jazzify GitHub Wiki

API Routes

This web app uses the following API routes to dynamically update the page to create a single-page-app-like feel for the user for specific features.

Playlists

  • A logged-in user profile can add or delete from their playlists with visible confirmation without causing a refresh/redirect.

    • UPDATE
    • POST /api/track/:trackId/playlist/:profileId
    • DELETE /api/track/:trackId/playlist/:profileId

Hearts

  • A logged-in user profile can heart/unheart a track with visible confirmation without causing a refresh/redirect.

    • POST /api/track/:trackId/likes/:profileId
    • DELETE /api/track/:trackId/likes/:profileId