Post Thread

POST /threads

Posting a new thread to the forum.

Headers
Authorization: Bearer {accessToken}
Content-Type: application/json
Body
{
  "title": "string",
  "body": "string"
}

Response

201 Created
Response Body
{
  "status": "success",
  "data": {
    "addedThread": {
      "id": "thread-UgSWZHsLgenAhWpt7licf",
      "title": "sebuah thread",
      "owner": "user-RHtgDdcR7d0fOBQ1qPfRm"
    }
  }
}