v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📸 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

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "isBookmarked": true
  },
  "message": "Bookmarked successfully",
  "statusCode": 200,
  "success": true
}