Get the comments of a Reddit post
Changed onReads the comments of any Reddit post the connected account can see, for example one found through /v1/reddit/feed or /v1/reddit/search, straight from Reddit on every call. The tree comes flattened in thread order (a reply follows its parent); rebuild it from parentId, which is t3_… for a reply to the post and t1_… for a reply to a comment. Deleted and removed comments are passed through as Reddit sends them ([deleted] / [removed]). Where Reddit truncates a thread, the ids it left out are listed in more; commentId fetches one such comment with its replies. A post Reddit no longer serves answers 404 and a private subreddit 403, both with platform_api_error. For comments on posts published through Zernio, /v1/inbox/comments/{postId} adds caching, moderation and replies.
Request
- Base URL: https://zernio.com/api
- URL: https://zernio.com/api/v1/reddit/comments/{postId}
- Auth: HTTP bearer
Path parameters
Reddit post id, with or without the t3_ prefix (as id or fullname on RedditPost).
Query parameters
An active Reddit account the request is made as.
Maximum number of top-level comments.
Return only this comment and its replies, with or without the t1_ prefix; pass an id from more to expand it.
Response
The post and its comments
Changes
- ○
endpoint added
- ○