📸 Social Media
Add or remove bookmark
The API endpoint allows users to add or remove posts from their bookmarks.
By accessing this endpoint, users can add a post to their bookmarks or remove a post from their bookmarks.
post/social-media/bookmarks/{postId}
Response
Add or remove bookmark
Example response
{
"data": {
"isBookmarked": true
},
"message": "Bookmarked successfully",
"statusCode": 200,
"success": true
}