Enables scripted content fragments to use AbuseAppeals

Properties

NameTypeDescriptionDefaultOptions
CurrentAbuseAppealGets the current contextual Abuse Appeal

Methods

AcceptAppeal

Board accepts an appeal

Usage

#set($abuseAppealResponse = $core_v2_abuseAppeal.AcceptAppeal($appealId, $boardResponse))

Parameters

NameTypeDescriptionRequiredDefaultOptions
appealIdGuidId of the appealRequired
boardResponsestringResponse of the BoardRequired

Return Type

AbuseAppeal

Get

Get a single appeal

Usage

#set($abuseAppealResponse = $core_v2_abuseAppeal.Get($appealId))

Parameters

NameTypeDescriptionRequiredDefaultOptions
appealIdGuidId of the appealRequired

Return Type

AbuseAppeal

List

Lists abuse appeals

Usage

#set($pagedListResponse = $core_v2_abuseAppeal.List("%{AbuseId = $abuseIdArg, AppealId = $appealIdArg, AppealState = $appealStateArg, ApplicationId = $applicationIdArg, ContainerId = $containerIdArg, ContentAuthorId = $contentAuthorIdArg, ContentId = $contentIdArg, ContentTypeId = $contentTypeIdArg, PageIndex = $pageIndexArg, PageSize = $pageSizeArg, SortBy = $sortByArg, SortOrder = $sortOrderArg}"))

Parameters

NameTypeDescriptionRequiredDefaultOptions
AbuseIdGuidAbuse IdOptional
AppealIdGuidAppeal IdOptional
AppealStatestringAppeal StateOptionalDefaultAccepted, AuthorResponded, Default, Expired, Initiated, Rejected
ApplicationIdGuidApplication IdOptional
ContainerIdGuidContainer IdOptional
ContentAuthorIdGuidContent Author IdOptional
ContentIdGuidContent IdOptional
ContentTypeIdGuidContent Type IdOptional
PageIndexintSpecify the page number of paged results to return. Zero-based index.Optional0
PageSizeintSpecify the number of results to return per page.Optional20
SortBystringSort ByOptionalAppealDateAppealDate, AppealId, AuthorUserId, AuthorUserName, ContentDate
SortOrderstringSort OrderOptionalAscendingAscending, Descending

Return Type

PagedList<AbuseAppeal>

RejectAppeal

Board rejects an appeal

Usage

#set($abuseAppealResponse = $core_v2_abuseAppeal.RejectAppeal($appealId, $boardResponse))

Parameters

NameTypeDescriptionRequiredDefaultOptions
appealIdGuidId of the appealRequired
boardResponsestringResponse of the BoardRequired

Return Type

AbuseAppeal

RespondToAppeal

Author responds to an appeal

Usage

#set($abuseAppealResponse = $core_v2_abuseAppeal.RespondToAppeal($appealId, $authorResponse))

Parameters

NameTypeDescriptionRequiredDefaultOptions
appealIdGuidId of the appealRequired
authorResponsestringResponse of the AuthorRequired

Return Type

AbuseAppeal