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