curl --request GET \
--url https://localhost:5000/posts/bookmarks \
--header 'Authorization: Bearer <token>'{
"success": true,
"posts": [
{
"image": "<string>",
"image_public_id": "<string>",
"author": "<string>",
"_id": "<string>",
"caption": "<string>",
"likes": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isLiked": true,
"isBookmarked": true,
"likesCount": 123,
"commentsCount": 123
}
]
}Get posts bookmarked by the current user
curl --request GET \
--url https://localhost:5000/posts/bookmarks \
--header 'Authorization: Bearer <token>'{
"success": true,
"posts": [
{
"image": "<string>",
"image_public_id": "<string>",
"author": "<string>",
"_id": "<string>",
"caption": "<string>",
"likes": [
"<string>"
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isLiked": true,
"isBookmarked": true,
"likesCount": 123,
"commentsCount": 123
}
]
}