forum-threads

(optional authentication) Gets the replies on a thread.

This endpoint will retrieve the replies on a thread.

get/forum-threads/{threadID}/replies

Path parameters

threadIDinteger required

ID of the forum thread.

Query parameters

order'best' | 'top' | 'new' | 'old' | 'poor' | 'controversial' required

The set of available forum sort types.

  • best: sorted by the most well received resource.
  • top: sorted by the most liked resource.
  • new: sorted by the newly created resource at the top.
  • old: sorted by the oldest created resource.
  • poor: sorted by the least liked resource.
  • controversial: sorted by the least well received resource.

The method of ordering the results.

pageinteger

The next page or group of objects to fetch. The default value is 1.

Response

Successful GET Forum-Threads Replies JSON response.

object required

Example response

{
  "data": [
    {
      "id": 56,
      "type": "replies",
      "href": "/v1/forum-threads/56/replies",
      "attributes": {
        "content": "Ipsum aliquid quasi hic accusamus. Dolor incidunt repellendus voluptatum modi temporibus cum totam.",
        "metrics": {
          "count": 22,
          "weight": -8,
          "likes": 7,
          "dislikes": 15
        },
        "createdAt": "2020-07-27 12:59:35",
        "voteAction": 0
      },
      "relationships": {
        "user": {
          "data": [
            {
              "id": 45,
              "type": "users",
              "href": "/v1/users/45/profile",
              "attributes": {
                "username": "mattie47",
                "activityStatus": "Offline",
                "biography": "Alias odit quaerat odit magnam. Quia eius fuga quos temporibus cumque laborum. Tempora at itaque et sequi aperiam non accusantium. Dolorem consectetur maiores dolores id.",
                "profileImageURL": null,
                "bannerImageURL": null,
                "followerCount": 0,
                "followingCount": 0,
                "reputationCount": 0,
                "isFollowed": false
              }
            }
          ]
        }
      }
    },
    {
      "id": 97,
      "type": "replies",
      "href": "/v1/forum-threads/97/replies",
      "attributes": {
        "content": "Tenetur dignissimos exercitationem qui dolores doloremque labore. Nobis non in iste qui est exercitationem.",
        "metrics": {
          "count": 233,
          "weight": 152,
          "likes": 152,
          "dislikes": 81
        },
        "createdAt": "2020-07-27 12:59:35",
        "voteAction": 0
      },
      "relationships": {
        "user": {
          "data": [
            {
              "id": 14,
              "type": "users",
              "href": "/v1/users/14/profile",
              "attributes": {
                "username": "neal.green",
                "activityStatus": "Offline",
                "biography": "Aspernatur sint eligendi similique qui natus. Consequatur sed incidunt consectetur laborum. Ipsum voluptates expedita aut est ut reprehenderit.",
                "profileImageURL": "https://kurozora.app/storage/14/ProfileImage.png",
                "bannerImageURL": "https://kurozora.app/storage/14/BannerImage.png",
                "followerCount": 299,
                "followingCount": 128,
                "reputationCount": 547,
                "isFollowed": true
              }
            }
          ]
        }
      }
    }
  ],
  "next": "/api/v1/forum-threads/1/replies?page=2"
}

Changes