Skip to main content

Search Post

{
"id": "integer",
"type": "string",
"last_activity_at": "string",
"author": {},
"added_at": "string",
"last_edited_at": "string",
"html": "string",
"summary": "string",
"deleted": "boolean",
"collapsed": "boolean",
"comment_count": "integer",
"view_count": "integer",
"vote_count": "integer",
"reactions_count": [],
"voted": "boolean",
"reaction": {},
"follower_count": "integer",
"followed": "boolean",
"suspended": "boolean",
"flag_count": "integer",
"share_count": "integer",
"slug": "string",
"categories": [],
"medias": [],
"location": "string",
"addressing": [],
"tags": [],
"poll": {},
"matches": [
{
"object": {
"id": "integer",
"type": "string",
"added_at": "string",
"html": "string"
},
"author": {}
}
]
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalseread-onlyA unique integer value identifying this post
typestringfalseread-onlyThe post type
last_activity_atstring(date-time)falseread-onlyDatetime of last activity
authorUserfalseread-onlyThe post author
added_atstring(date-time)falseread-onlyDatetime of post creation
last_edited_atstring(date-time)falseread-onlyDatetime of last post edit
htmlstringfalseread-onlyPost html
summarystringfalseread-onlyThe post summary
deletedbooleanfalseread-onlyIf true, post has been deleted
collapsedstringfalseread-onlyIf true, post has been collapsed
comment_countintegerfalseread-onlyThe number of comments associated to this contribution
view_countintegerfalseread-onlyThe number of views associated to this contribution
vote_countintegerfalseread-onlyThe number 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 the post
reactionReactionfalseread-onlyReaction of the logged user (if he voted this contribution)
follower_countintegerfalseread-onlyThe number of followers associated to this contribution
followedbooleanfalseread-onlyIf true, the logged user follows the post
suspendedbooleanfalseread-onlyIf true, the logged user has suspended the notifications for the post
flag_countintegerfalseread-onlyThe number of flags associated to this contribution
share_countintegerfalseread-onlyThe number of shares associated to this contribution
slugstringfalseread-onlyThe slug associated to this contribution
categorieslist(Category)trueread-onlyThe categories associated to this contribution
mediaslist(Media)falseread-onlyThe medias associated to this contribution
locationobject¦nullfalseread-onlyThe location object associated to this contribution
» locationstring¦nulltrueread-onlyLocation name
» latnumber¦nulltrueread-onlyLocation latitude
» lngnumber¦nulltrueread-onlyLocation longitude
addressinglist(integer)falseread-onlyList of Tag ids
pollPollfalseread-onlyThe post poll object
matcheslist(Search Match)falseread-onlyThe post search matches