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