body
is a string representing the body of the thread.
categories
is an array of objects, each representing a category associated with the thread.
Each category object includes an id
and a name
.
id
is a number representing the id of the category.
name
is a string representing the name of the category.
createdAt
is a number representing the timestamp when the thread was created.
id
is a number representing the id of the thread.
isLiked
is a boolean indicating whether the thread is liked by the user.
isLocked
is a boolean indicating whether the thread is locked.
isSticky
is a boolean indicating whether the thread is sticky.
isSubscribed
is a boolean indicating whether the user is subscribed to the thread.
likeCount
is a number representing the number of likes the thread has received.
likes
is an array of BasicUser
representing the users who liked the thread.
mediaCategories
is an array of MediaResponse
representing the media categories associated with the thread.
repliedAt
is a number representing the timestamp when the thread was replied to.
replyCommentId
is a number representing the id of the comment that was replied to in the thread.
replyCount
is a number representing the number of replies in the thread.
replyUser
is an instance of BasicUser
representing the user who replied to the thread.
replyUserId
is a number representing the id of the user who replied to the thread.
siteUrl
is a string representing the URL of the thread on the site.
title
is a string representing the title of the thread.
updatedAt
is a number representing the timestamp when the thread was last updated.
user
is an instance of BasicUser
representing the user who created the thread.
userId
is a number representing the id of the user who created the thread.
viewCount
is a number representing the number of views the thread has received.
ThreadResponse
is an interface representing the response from a thread query. It includes the thread's id, title, body, userId, replyUserId, replyCommentId, replyCount, viewCount, isLocked status, isSticky status, isSubscribed status, likeCount, isLiked status, repliedAt, createdAt, updatedAt, user of typeBasicUser
, replyUser of typeBasicUser
, likes of typeBasicUser[]
, siteUrl, categories, and mediaCategories of typeMediaResponse[]
.