Enables scripted content fragments to use rated items

Methods

Get

Gets a rating summary for a piece of content

Usage

#set($ratedItemResponse = $core_v2_ratedItem.Get($contentId, "%{TypeId = $typeIdArg}"))

Parameters

NameTypeDescriptionRequiredDefaultOptions
contentIdGuidContent IdRequired
TypeIdGuidCategorization typeOptional

Return Type

RatedItem

List

Lists rating summaries for content

Usage

#set($pagedListResponse = $core_v2_ratedItem.List("%{ApplicationId = $applicationIdArg, ContainerId = $containerIdArg, ContentTypeId = $contentTypeIdArg, ContentUrl = $contentUrlArg, PageIndex = $pageIndexArg, PageSize = $pageSizeArg, SortBy = $sortByArg, SortOrder = $sortOrderArg, TypeId = $typeIdArg}"))

Parameters

NameTypeDescriptionRequiredDefaultOptions
ApplicationIdGuidContent application identifierOptional
ContainerIdGuidContent container identifier Optional
ContentTypeIdGuidContent type identifierOptional
ContentUrlstringContent urlOptional
PageIndexintSpecify the page number of paged results to return. Zero-based index.Optional0
PageSizeintSpecify the number of results to return per page.Optional20
SortBystringSort mechanismOptionalRatingRating
SortOrderstringSort orderOptionalAscendingAscending, Descending
TypeIdGuidCategorization typeOptional

Return Type

PagedList<RatedItem>