-
Notifications
You must be signed in to change notification settings - Fork 0
API routes
Nic Gauer edited this page Mar 29, 2021
·
3 revisions
- Login
get /api/login
post /api/login
- Signup
post /api/signup
- Logout
delete /api/logout
- Get Artist page
GET /api/:artistURL
- Create Artist
GET /api/new-artist
POST /api/new-artist
- Edit Artist page
GET /api/:artistURL/edit
POST /api/:artistURL/edit
- Get Albums page
GET /api/:artistURL/:albumName
- Create
GET /api/new-album
POST /api/new-album
- Edit Album
GET /api/:artistURL/:albumName/edit
POST /api/:artistURL/:albumName/edit
- Get Song
GET /api/:artistURL/:albumName/:songName
- Download Song
GET /api/:artistURL/:albumName/:songName/download
- Upload Song
GET /api/new-song
POST /api/new-song
- Edit Song
GET /api/:artistURL/:albumName/:songName/edit
POST /api/:artistURL/:albumName/:songName/edit
- Get Follows
GET /api/followed-artists/:userId
- Create Follow
POST /api/new-follow/:userId/:artistId
- Destroy Follow
DELETE /api/followed-artists/:userId/:artistId