Enables scripted content fragments to use BlogPostSummaries
Methods
List
List Overload 1
Lists blog post summaries
Velocity
#set($pagedListResponse = $core_v2_blogPostSummary.List($blogId))
JavaScript
var pagedListResponse = core_v2_blogPostSummary.List(blogId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| blogId | Int32 | Id of blog to summarize | Required |
List Overload 2
List blog post summaries
Velocity
#set($pagedListResponse = $core_v2_blogPostSummary.List($blogId, "%{ Month = $monthArg, PageIndex = $pageIndexArg, PageSize = $pageSizeArg }"))JavaScript
var pagedListResponse = core_v2_blogPostSummary.List(blogId, { Month: monthArg, PageIndex: pageIndexArg, PageSize: pageSizeArg });Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| blogId | Int32 | Id of blog to summarize | Required | ||
| options | Options | Set of optional parameters including: | Required | ||
| Month | DateTime | Month of blog posts to summarize | Optional | ||
| PageIndex | Int32 | Zero-based | Optional | 0 | |
| PageSize | Int32 | Amount of summaries to return per page | Optional | 20 |