Search.../
  1. REST
Generate a test token to explore our APIs

Post Object

Attributes

NAME
TYPE
DESCRIPTION
id
Read Only
string

Post ID.

categoryId
string

Category ID the post is listed under.

ownerId
Read Only
string

Post owner's member ID.

title
string

Post title.

contentText
string

The post content in plain text.

commentCount
Read Only
integer

Total number of post comments.

likeCount
Read Only
integer

Total number of post likes.

viewCount
Read Only
integer

Total number of post views.

createdDate
Read Only
string

Date post was created.

lastActivityDate
Read Only
string

Date of latest activity on this post (e.g., date the latest comment was added to post).

url
Read Only
object

Post URL.

slug
Read Only
string

Post slug.

bestAnswerCommentId
Read Only
string

ID of the best answer comment for this post (selected by forum admin or post owner).

images
Read Only
Array<object>

Images from post content.

videos
Read Only
Array<object>

Videos from post content.

pinned
boolean

Whether the post is pinned. Places the post at the top of the post list.

closed
boolean

Whether post is closed and commenting is disabled.

updatedDate
string

Date post was updated.

commentInteraction
Read Only
string

Supported values: UNKNOWN, REACTION, VOTE.

Defines what interactions may be applied on the comment under the post, vote or like.

Was this helpful?

Object

json

1{
2 "id" : "5cacd5fe04976c0015f35363",
3 "categoryId" : "5cacd5fe04976c0015f35362",
4 "ownerId" : "a27d2491-90b0-4a3a-87d9-7a9de00bf17a",
5 "title" : "Welcome to the Forum!",
6 "contentText" : "It’s good to have you here! Feel free to share anything - stories, ideas, pictures or whatever is on your mind.",
7 "bestAnswerCommentId" : "5ce7bb354f055300a4b7f945",
8 "pinned" : false,
9 "closed" : true,
10 "commentCount" : 3,
11 "likeCount" : 0,
12 "viewCount" : 11,
13 "createdDate" : "2019-04-09T17:27:26.171Z",
14 "updatedDate" : "2019-04-09T17:27:26.171Z",
15 "lastActivityDate" : "2019-05-24T11:55:29.339Z",
16 "slug" : "welcome-to-the-forum",
17 "postType" : "DISCUSSION",
18 "commentInteraction" : "REACTION",
19 "url" : {
20 "base" : "https://wix.com",
21 "path" : "/forum/discussion-corner/welcome-to-the-forum"
22 }
23}