forum-threads

Leaves a reply on a thread.

This endpoint will leave a reply on a thread.

post/forum-threads/{threadID}/replies

Path parameters

threadIDinteger required

ID of the forum thread.

Response

Successful POST Forum-Threads Replies JSON response.

object required

Example response

{
  "data": [
    {
      "id": 210,
      "type": "replies",
      "href": "/v1/forum-threads/209/replies",
      "attributes": {
        "content": "New reply content.",
        "metrics": {
          "count": 0,
          "weight": 0,
          "likes": 0,
          "dislikes": 0
        },
        "createdAt": "2020-07-29 12:33:32",
        "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