v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📸 Social Media

Like or unlike comment

The API endpoint enables users to like or unlike a social media comments.

By accessing this endpoint, users can interact with the comment by either liking or unliking it.

post/social-media/like/comment/{commentId}

Response

Like or unlike post Copy

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "isLiked": true
  },
  "message": "Liked successfully",
  "statusCode": 200,
  "success": true
}