Delete API v1 post like by ID

Changed on
delete/api/v1/post/like/{id}

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

idstring required

PostID of the like

Example:123e4567-e89b-12d3-a456-426614174000

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

likedboolean required

Whether the requested user has liked the post

messagestring required

Message to display

totalinteger required

Total number of likes on the post

Example response

{
  "$schema": "https://example.com/schemas/DeletePostLikeResponse.json",
  "liked": true,
  "message": "Like was deleted successfully",
  "total": 25
}

Changes