Get API v1 post like by post ID likes

Changed on
get/api/v1/post/like/{post_id}/likes

Request

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

Path parameters

post_idstring required

Post to get like info for

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

totalinteger required

Total number of likes on the post

Example response

{
  "$schema": "https://example.com/schemas/GetPostLikeInfoResponse.json",
  "liked": true,
  "total": 25
}

Changes