forum-threads

(optional authentication) Get thread details.

This endpoint will retrieve the details for a forum thread.

get/forum-threads/{threadID}

Path parameters

threadIDinteger required

ID of the forum thread.

Response

Successful GET Forum-Threads Details JSON response.

object required

Example response

{
  "data": [
    {
      "id": 1,
      "type": "threads",
      "href": "/v1/forum-threads/1",
      "attributes": {
        "title": "Enim quia molestiae.",
        "content": "Fuga repellendus blanditiis quaerat provident et doloremque. Ad ullam nulla at optio ipsa ipsum.",
        "isLocked": false,
        "replyCount": 13,
        "metrics": {
          "count": 20,
          "weight": 10,
          "likes": 15,
          "dislikes": 5
        },
        "createdAt": "2020-07-27 12:59:34",
        "voteAction": 1
      },
      "relationships": {
        "user": {
          "data": [
            {
              "id": 29,
              "type": "users",
              "href": "/v1/users/29/profile",
              "attributes": {
                "username": "reynold71",
                "activityStatus": "Offline",
                "biography": "Et in dolor illo sit non. Veniam est et qui qui atque. Ut mollitia autem accusantium ea molestiae voluptatem a. Dicta in qui necessitatibus maiores.",
                "profileImageURL": null,
                "bannerImageURL": null,
                "followerCount": 67,
                "followingCount": 67,
                "reputationCount": 59,
                "isFollowed": false
              }
            }
          ]
        }
      }
    }
  ]
}

Changes