πΈ 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}
Request
- Base URLhttps://api.freeapi.app/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Add or remove bookmark
Example response
{
"data": {
"isBookmarked": true
},
"message": "Bookmarked successfully",
"statusCode": 200,
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.