POST /api/forum/post/reply
Requires: OAuth 2.0
Reply to a forum post or to another comment on a post for a user. This writes user data that can be fetched with /api/forum/comments.
Example
Here's an example of commenting on a forum asking about the game Century. This call requires a valid access_token to authorize the call for the user. You can see how to get one here.
POSThttps://api.boardgameatlas.com/api/forum/post/reply?client_id=
headers: { Authorization: Bearer 57074b78b1282526107158f16sl3b253faf4dc05 } body: { "post_id": "iW1T0zQUgm", "body": "I like Golem Edition because of the theme and mechanic match up but Spice Road allows you to buy the expansions so it just depends on if you want to do that or not." }
Response
{ "comment": { "id": "QXQ69WqJTc", "post_id": "iW1T0zQUgm" } }
Parameters
These are all the posible parameters to add to the POST body to make a forum post for a user.
Parameter | Type | Example | Details |
---|---|---|---|
post_id | String | iW1T0zQUgm | (Required) The forum post id to add the comment to |
body | String | This is an easy decision, just follow your heart and get Golem Edition. | (Required) This is the body text of the comment. A limited number of styling html tags can be used too. It includes 'b', 'i', 'u', 'em', 'strong', 'strike', 'sup', 'sub', 'ol', 'ul', 'li', 'a', 'p', 'h1', 'h2', 'h3', 'h4', 'h5', and 'h6'. |
reply_to_comment_id | String | vYRmmlMOLB | The specific id of another comment in the forum post to reply to. |