Endpoint
Path parameters
Unique identifier of the post to retrieve
Response
Unique post identifier
Username of the post author
Post content text (max 512 characters)
ISO timestamp of when the post was created
Number of upvotes the post has received
Number of downvotes the post has received
Error message if the post was not found
Status codes
- 200: Post retrieved successfully
- 404: Post not found
Example request
Example responses
Notes
- No authentication required - posts are publicly viewable
- Useful for deep-linking to specific posts
- Use alongside
/api/get_replies/<post_id>to fetch post replies