Likes
Like Post Get
Retrieve all likes for the given post. Not paginated.
GET
Retrieve all likes for the given post. Not paginated.
cookie
storyden-session<token>post_id*stringUnique post ID.
Format
xidAll likes for a post.
application/json- response
likes*array<>curl -X GET 'https://example.com/api/likes/posts/string'Example Response
{ "likes": [ { "id": "string", "created_at": "2019-08-24T14:15:22Z", "owner": { "id": "string", "joined": "2019-08-24T14:15:22Z", "suspended": "2019-08-24T14:15:22Z", "handle": "string", "name": "string", "signature": "string", "roles": [ { "badge": true, "default": true, "id": "string", "name": "string", "colour": "string", "meta": {} } ] } } ]}Like Post Add PUT
Add a like/vote to a post from the authenticated account. A like records that account's appreciation of the post and makes it available through the account's liked-post list. Repeating the operation does not create another like.
Like Post Remove DELETE
Removes a like/vote from the authenticated account for the post. It also removes the post from that account's liked-post list. Repeating the operation leaves the like absent.