GET r/{subreddit}/comments/{post_id}.json
Summary: Get post and comments
Operation ID: getPostComments
Auth: unknown
Operation ID: getPostComments
Auth: unknown
Description
Retrieve a post and its comments by subreddit and post ID. Returns an array with post data first, then comments.
Parameters (5)
depth
(integer, query, optional, default: 10)
Maximum depth of comment tree
limit
(integer, query, optional, default: 25)
Maximum number of comments
post_id
(string, path, required)
The post ID (the base36 ID from the URL)
sort
(string, query, optional, default: confidence)
Comment sort order
Constraints: {'enum': ['confidence', 'top', 'new', 'controversial', 'old', 'random', 'qa']}
subreddit
(string, path, required)
No probe data for this endpoint yet.