Topics

Get specific posts from a topic

GET
https://discourse.example.com/t/{id}/posts.json

Body

application/json
post_ids[]integerrequired

Parameters

Api-Keystringrequiredheader
Api-Usernamestringrequiredheader
idstringrequiredpath

Response

200OKobject

specific posts

Response fields application/json
post_streamobject
Show child attributes
postsArray<object>
Show child attributes
idinteger
namestring | null
usernamestring
avatar_templatestring
created_atstring
cookedstring
post_numberinteger
post_typeinteger
updated_atstring
reply_countinteger
reply_to_post_numberstring | null
quote_countinteger
readsinteger
readers_countinteger
scorenumber
yoursboolean
topic_idinteger
topic_slugstring
display_usernamestring | null
primary_group_namestring | null
flair_namestring | null
flair_urlstring | null
flair_bg_colorstring | null
flair_colorstring | null
versioninteger
can_editboolean
can_deleteboolean
can_recoverboolean
can_wikiboolean
readboolean
user_titlestring | null
actions_summaryArray<object>
Show child attributes
idinteger
can_actboolean
moderatorboolean
adminboolean
staffboolean
user_idinteger
hiddenboolean
trust_levelinteger
deleted_atstring | null
user_deletedboolean
edit_reasonstring | null
can_view_edit_historyboolean
wikiboolean
reviewable_idinteger
reviewable_score_countinteger
reviewable_score_pending_countinteger
idinteger