List replies of a comment
PeerTube >= 8.3 List the direct replies of a comment, each of them nested up to maxDepth levels. Used to unfold the parts of a thread that GET /api/v1/videos/{id}/comment-threads/{threadId} truncated.
Parameters
idid | UUIDv4 | shortUUIDrequiredpathThe object id, uuid or short uuid
The comment id
startinteger>= 0queryOffset used to paginate results
countinteger[1, 100]15queryNumber of items to return
sortstringcreatedAt-createdAtcreatedAtquerySort the direct replies of the comment. Deeper levels of the tree are always sorted the same way.
Defaults to createdAt so the replies are appended to the thread tree in the order it was built
maxDepthinteger[1, 10]5queryNumber of nesting levels to include below the requested comment.
Bounded by repliesPerLevel and count, see the note on repliesPerLevel
repliesPerLevelinteger[1, 30]10queryNumber of direct replies to include for each comment of the tree. Does not apply to the first level of GET /api/v1/videos/{id}/comments/{commentId}/replies, which is paginated using start and count.
A tree can make the server walk through count * (repliesPerLevel ^ maxDepth - 1) / (repliesPerLevel - 1) comments, which grows exponentially. Combinations above 2000000 are rejected A deep tree has to be narrow and a wide tree has to be shallow.
x-peertube-video-passwordstringheaderRequired on password protected video
Response
successful operation