POST /api/forum/edit

Requires: OAuth 2.0

Edit a forum post.

Example

Here's an example of editing a forum post. This call requires a valid access_token to authorize the call for the user. You can see how to get one here.

POSThttps://www.boardgameatlas.com/api/forum/edit?client_id=SB1VGnDv7M

headers: {
      Authorization: Bearer 57074b78b1282526107158f16sl3b253faf4dc05
}
body: {
      "post_id": "X5ol4Fez8S",
      "post_title": "My favorite game is Dominion",
      "post_description": "It has so many ways to play and enjoy it.",
}

Response

 {
   "post": {
      "id": "Kj6m45xtUf",
      "post_id": "2tNxQoXeYT",
      "title": "My favorite game is Dominion",
      "description": "It has so many ways to play and enjoy it.",
      "user": {
          "id": "bH8m8z3abA",
          "username": "trentellingsen"
      },
      "num_likes": 2,
      "created_at": "2019-04-04T17:57:04.439Z",
      "created_at_ago": "5 hours ago",
      "num_replies": 0,
      "score": 0,
      "is_reported": false
  }

Parameters

These are all the posible parameters to add to the POST body to make a forum post for a user.

ParameterTypeExampleDetails
post_idStringvYRmmlMOLB(Required) The specific id of a forum post to edit.
post_titleStringDominion is awesome.(Required) The text to replace the title with.
post_descriptionStringThis is a great board game.(Required) The text to replace the description with.
game_listStringK92cryrFW5,BVmFj3ACjpIds of the game or games to link to the post.
flairStringReviewA string to mark the post with flair. Approved options include Review, Rule Question, BGA, Spoiler, Deal, Crowdfunding, COMC, How-To/DIY, and Game Design.