Posts
Retrieve a single post
Changed onThis endpoint can be used to get the number of likes on a post using the actions_summary property in the response. actions_summary responses with the id of 2 signify a like. If there are no actions_summary items with the id of 2, that means there are 0 likes. Other ids likely refer to various different flag types.
get/posts/{id}.json
Request
- Base URLhttps://discourse.example.com
- Authnone declared
Path parameters
idstring required
Response
single reviewable post
Changes
- info
added the required property
to the response with the status - info
added the required property
to the response with the status
- info
- breaking
the
response's property type changed fromstringnulltointegernullfor status - breaking
the
response's property type changed fromstringnulltointegernullfor status
- breaking