Social Feeds

Like a comment

Rate limit: 60 requests per 60 seconds. This is the default shared quota — it is shared with every other endpoint that has no dedicated limit, so requests across those endpoints all draw from the same budget.


Toggles a Like emotion on the specified comment for the authenticated user. emotionType defaults to Like (the only supported emotion type). The call is idempotent — liking an already-liked entity succeeds silently.

post/api/v1/posts/{postId}/comments/{commentId}/likes

Request

Path parameters

postIdstring uuid required

ID of the parent post (UUID)

commentIdstring uuid required

ID of the parent comment (UUID)

Headers

x-request-idstring uuid required
Example:8c165911-8307-4ee6-93ea-334a730abd4e

A unique request identifier.

x-api-keystring password required
Example:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663

API key for authentication.

x-user-keystring password required
Example:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_

User-specific authentication key.

Request body

object required

Empty JSON object. The body must be present but contains no fields.

Response

Like recorded successfully

Changes

No recorded changes to this operation across all 1 revision of this API.