Enables scripted content fragments to use AbusiveContent
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
DefiniteAbuseThreshold | int | Ignore content in the abuse management list. It will not be shown again until another report is made on it. | ||
PossibleAbuseThreshold | int | Returns an abusive content record for a given piece of content |
Methods
Get
Usage
#set($abusiveContentResponse = $core_v2_abusiveContent.Get($contentId, $contentTypeId))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
Return Type
Ignore
Usage
$core_v2_abusiveContent.Ignore($contentId, $contentTypeId)
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
List
Lists abusive content
Usage
#set($pagedListResponse = $core_v2_abusiveContent.List("%{AbuseState = $abuseStateArg, AppealState = $appealStateArg, ApplicationId = $applicationIdArg, AuthorUserId = $authorUserIdArg, ContainerId = $containerIdArg, ContentTypeId = $contentTypeIdArg, EndCreateDate = $endCreateDateArg, EndReportDate = $endReportDateArg, IncludeIgnoredContent = $includeIgnoredContentArg, PageIndex = $pageIndexArg, PageSize = $pageSizeArg, SortBy = $sortByArg, SortOrder = $sortOrderArg, StartCreateDate = $startCreateDateArg, StartReportDate = $startReportDateArg}"))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
AbuseState | string | Abuse State | Optional | Abusive, Default, Expunged, Moderated, NotAbusive, NotReported, Reported | |
AppealState | string | Appeal State | Optional | Accepted, AuthorResponded, Default, Expired, Initiated, ModerationRequired, Rejected | |
ApplicationId | Guid | Application Id | Optional | ||
AuthorUserId | Guid | Author User Id | Optional | ||
ContainerId | Guid | Container Id | Optional | ||
ContentTypeId | Guid | Content Type Id | Optional | ||
EndCreateDate | DateTime | End Create Date | Optional | ||
EndReportDate | DateTime | End Report Date | Optional | ||
IncludeIgnoredContent | bool | Include Ignored Content | Optional | ||
PageIndex | int | Specify the page number of paged results to return. Zero-based index. | Optional | 0 | |
PageSize | int | Specify the number of results to return per page. | Optional | 20 | |
SortBy | string | Sort By | Optional | AbuseId, AuthorUserId, AuthorUserName | |
SortOrder | string | Sort order | Optional | Ascending | Ascending, Descending |
StartCreateDate | DateTime | Start Create Date | Optional | ||
StartReportDate | DateTime | Start Report Date | Optional |