Skip to main content

comments

comments returns a filtered comments connection that can be paginated. This is a fairly expensive edge to filter against, moderation queues should utilize the dedicated edges for more optimized responses.

comments(
first: Int = 10
after: Cursor
storyID: ID
siteID: ID
status: COMMENT_STATUS
section: SectionFilter
tag: TAG
query: String
orderBy: COMMENT_SORT = CREATED_AT_DESC
): CommentsConnection!

Arguments​

comments.first ● Int scalar​

comments.after ● Cursor scalar​

comments.storyID ● ID scalar​

comments.siteID ● ID scalar​

comments.status ● COMMENT_STATUS enum​

comments.section ● SectionFilter input​

comments.tag ● TAG enum​

comments.query ● String scalar​

comments.orderBy ● COMMENT_SORT enum​

Type​

CommentsConnection object​

CommentsConnection represents a subset of a comment list.