Whether the current caller has liked this post
GET /posts/{id}/like
GET
/posts/{id}/like
Used by the post modal on open to decide whether the Like button shows the active state. Returns {liked: bool}. Anonymous callers get 401.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Responses
Section titled “ Responses ”Like state for the caller
object
liked
required
boolean
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Resource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completed