Storyden
Posts

Post React Add

Add a reaction to a post.

Add a reaction to a post.

PUT/posts/{post_id}/reacts
storyden-session<token>

In: cookie

Path Parameters

post_idstring

Unique post ID.

Formatxid

Add a reaction to a post.

emojiReactEmoji

A single emoji character representing a reaction. In future, this will be augmented with a more fully fledged custom emoji system.

Response Body

curl -X PUT "https://loading/api/posts/cc5lnd2s1s4652adtu50/reacts" \  -H "Content-Type: application/json" \  -d '{    "emoji": "string"  }'
{
  "id": "cc5lnd2s1s4652adtu50",
  "emoji": "string",
  "author": {
    "id": "cc5lnd2s1s4652adtu50",
    "joined": "2019-08-24T14:15:22Z",
    "suspended": "2019-08-24T14:15:22Z",
    "handle": "Southclaws",
    "name": "Barnaby Keene"
  }
}
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}