forum-sections

Submit a new thread to a section.

This endpoint will submit a new thread.

post/forum-sections/{sectionID}/threads

Path parameters

sectionIDinteger required

ID of the forum section.

Response

Successful POST Forum-Threads Details JSON response.

object required

Example response

{
  "data": [
    {
      "id": 52,
      "type": "threads",
      "href": "/v1/forum-threads/52",
      "attributes": {
        "title": "Re:Zero",
        "content": "Good anime to watch.",
        "isLocked": false,
        "replyCount": 0,
        "metrics": {
          "count": 0,
          "weight": 0,
          "likes": 0,
          "dislikes": 0
        },
        "createdAt": "2020-07-29 18:28:59",
        "voteAction": 0
      },
      "relationships": {
        "user": {
          "data": [
            {
              "id": 2,
              "type": "users",
              "href": "/v1/users/2/profile",
              "attributes": {
                "username": "Kirito",
                "activityStatus": "Online",
                "biography": "My biography.",
                "profileImageURL": "https://kurozora.app/storage/2/ProfileImage.png",
                "bannerImageURL": "https://kurozora.app/storage/2/BannerImage.png",
                "followerCount": 0,
                "followingCount": 0,
                "reputationCount": 0,
                "isFollowed": false
              }
            }
          ]
        }
      }
    }
  ]
}

Changes