Methods
List
Get a list of comment summaries
Velocity
#set($pagedListResponse = $core_v2_commentSummary.List("%{ AuthorId = $authorIdArg, ContentTypeIds = $contentTypeIdsArg, MaximumCommentCount = $maximumCommentCountArg, MinimumCommentCount = $minimumCommentCountArg, PageIndex = $pageIndexArg, PageSize = $pageSizeArg, SortBy = $sortByArg, SortOrder = $sortOrderArg }"))
JavaScript
var pagedListResponse = core_v2_commentSummary.List({ AuthorId: authorIdArg, ContentTypeIds: contentTypeIdsArg, MaximumCommentCount: maximumCommentCountArg, MinimumCommentCount: minimumCommentCountArg, PageIndex: pageIndexArg, PageSize: pageSizeArg, SortBy: sortByArg, SortOrder: sortOrderArg });
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | Options | Set of optional parameters including: | Required | ||
AuthorId | Guid | Author Id of the content with comments. | Optional | ||
ContentTypeIds | Int32 | Comma separated list of Content type Ids to filter content by. | Optional | ||
MaximumCommentCount | Int32 | Maximum number of comments content can have to be returned. | Optional | ||
MinimumCommentCount | Int32 | Minimum number of comments content must have to be returned. | Optional | ||
PageIndex | Int32 | Specify the page number of paged results to return. Zero-based index. | Optional | 0 | |
PageSize | Int32 | Specify the number of results to return per page. | Optional | 20 | |
SortBy | String | Sort mechanism | Optional | CommentCount | CommentCount, CreatedDate |
SortOrder | String | Sort order | Optional | Descending | Ascending, Descending |