List Comments
Retrieves a paginated list of comments for a specific subject (post, page, etc.).Query Parameters
The comment subject kind (e.g.,
Post, SinglePage).The comment subject version (e.g.,
v1alpha1).The comment subject name.
The comment subject group.
Page number. Default is 0.
Size number. Default is 0.
Sorting criteria in the format:
property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.Whether to include replies. Default is false.
Reply size of the comment. Only works when
withReplies is true.Response
Returns aCommentWithReplyVoList object containing paginated comment results.
Array of comment objects with replies.
Comment metadata including name, labels, and timestamps.
Comment specification.
Raw comment content.
Rendered comment content.
Comment owner information.
Whether the comment is approved.
Whether the comment is hidden.
Whether notifications are allowed.
Paginated list of replies (when
withReplies is true).Current page number, starts from 1.
Size of each page.
Total number of comments.
Total number of pages.
Whether this is the first page.
Whether this is the last page.
Whether there is a next page.
Whether there is a previous page.
Create Comment
Creates a new comment on a post or page.Request Body
Raw comment content (markdown/plain text).
Rendered comment content (HTML).
Whether to allow notifications for this comment.
Whether the comment should be hidden.
Response
Returns aComment object representing the created comment.
Get Comment
Retrieves a specific comment by name.Path Parameters
Comment name (unique identifier).
Response
Returns aCommentVoList object.
List Comment Replies
Retrieves all replies for a specific comment.Path Parameters
Comment name (unique identifier).
Query Parameters
Page number. Default is 0.
Size number. Default is 0.
Response
Returns aReplyVoList object containing paginated reply results.
Create Reply
Creates a new reply to a comment.Path Parameters
Comment name (unique identifier) to reply to.
Request Body
Raw reply content (markdown/plain text).
Rendered reply content (HTML).
Whether to allow notifications for this reply.
Whether the reply should be hidden.
Name of the reply being quoted.
Reply owner information (for non-logged-in users).
Response
Returns aReply object representing the created reply.