POST /api/bookmarks/bookmarks📗 201 Created
Response Example:
{
"message": "Cover bookmarked",
"data": {
"Bookmark_ID": "da9a981a-fab5-498f-8081-f50688eefd43",
"User_ID": "e2f33b50-ffd8-4fda-ad26-a6dd98ea91f0",
"Cover_ID": "1bc81ef4-969c-4b04-a8ed-e7601d0df92a",
"Created_At": "2025-04-15T14:49:00.920258"
}
}
❌ 404 Not Found Response
Response Example:
{
"status": 404,
"error": "Not Found",
"message": "The requested resource could not be found"
}
⚠️ 400 Bad Request Response
Response Example:
{
"error": "user_id and cover_id are required"
}
🔒 401 Unauthorized Response
Response Example:
{
"status": 401,
"error": "Unauthorized",
"message": "Authentication required to access this resource"
}