Open JColonJr opened 2 years ago
[ ] An authenticated user is required for a successful response
[ ] Only the owner of the album is authorized to add a song
[ ] New song exists 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 an album does not exist with the provided id
[ ] An authenticated user is required for a successful response
[ ] Only the owner of the album is authorized to add a song
[ ] New song exists 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 an album does not exist with the provided id