Like Post
Toggle like on a post. If already liked, removes the like. If not liked, adds a like.
Authentication: Required — Bearer token.
Feature gate: Requires posts feature enabled.
Path parameters:
id(required) — Post ID
Response:
liked— Boolean indicating current like status after togglelikes_count— Updated total like count for the post
Errors:
404— Post not found
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Post ID
Response
OK