Skip to main content

Comment Summary

{
"id": "integer",
"discussion": "integer",
"author": {},
"added_at": "string",
"html": "string",
"summary": "string",
"deleted": "boolean",
"collapsed": "boolean",
"parent": "integer",
"in_reply_to": "integer",
"comments_count": "integer",
"vote_count": 4,
"reactions_count": [],
"voted": "boolean",
"reaction": {},
"flag_count": "integer",
"comment_count": "integer"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalseread-onlyA unique integer value identifying this object
discussioninteger¦nullfalsenoneId of the Discussion
postinteger¦nullfalsenoneId of the Post
statusinteger¦nullfalsenoneId of the Status
authorUsertrueread-onlyThe user object
added_atstring(date-time)falseread-onlyThe creation datetime
htmlstringfalseread-onlyHtml
summarystringfalseread-onlyComment summary
deletedbooleanfalseread-onlyIs this comment deleted
collapsedbooleanfalseread-onlyIs this comment collapsed
parentinteger¦nullfalsenoneId of the parent Comment
in_reply_tointeger¦nullfalsenoneId of the reply Comment, it must have the same parent and object
vote_countintegerfalseread-onlyNumber of votes/reactions associated to this contribution
reactions_countlist(Reaction)falseread-onlyReactions associated to this contribution
votedbooleanfalseread-onlyIf true, the logged user has already voted this contribution
reactionReactionfalseread-onlyReaction of the logged user (if he voted this contribution)
flag_countintegerfalseread-onlyThe number of flags
comment_countintegerfalseread-onlyThe number of comments