Open JColonJr opened 2 years ago
Update and return an existing playlist.
[ ] An authenticated user is required for a successful response
[ ] Only the owner of the playlist is authorized to edit
[ ] Playlist record is updated in the database after request
[ ] Playlist data returned includes the id, userId, name, createdAt, updatedAt, and previewImage
[ ] Error response with status 400 is given when body validations for the name are violated
[ ] Error response with status 404 is given when a playlist does not exist with the provided id
Update and return an existing playlist.
[ ] An authenticated user is required for a successful response
[ ] Only the owner of the playlist is authorized to edit
[ ] Playlist record is updated in the database after request
[ ] Playlist data returned includes the id, userId, name, createdAt, updatedAt, and previewImage
[ ] Error response with status 400 is given when body validations for the name are violated
[ ] Error response with status 404 is given when a playlist does not exist with the provided id