Methods
AcceptAppeal
Board accepts an appeal
Usage
#set($abuseAppealResponse = $core_v2_abuseAppeal.AcceptAppeal($appealId, $boardResponse))
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| appealId | Guid | Id of the appeal | Required | | |
| boardResponse | string | Response of the Board | Required | | |
Return Type
AbuseAppeal
Get
Get a single appeal
Usage
#set($abuseAppealResponse = $core_v2_abuseAppeal.Get($appealId))
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| appealId | Guid | Id of the appeal | Required | | |
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
| Name | Type | Description | Required | Default | Options |
|---|
| AbuseId | Guid | Abuse Id | Optional | | |
| AppealId | Guid | Appeal Id | Optional | | |
| AppealState | string | Appeal State | Optional | Default | Accepted, AuthorResponded, Default, Expired, Initiated, Rejected |
| ApplicationId | Guid | Application Id | Optional | | |
| ContainerId | Guid | Container Id | Optional | | |
| ContentAuthorId | Guid | Content Author Id | Optional | | |
| ContentId | Guid | Content Id | Optional | | |
| ContentTypeId | Guid | Content Type Id | 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 | AppealDate | AppealDate, AppealId, AuthorUserId, AuthorUserName, ContentDate |
| SortOrder | string | Sort Order | Optional | Ascending | Ascending, Descending |
Return Type
PagedList<AbuseAppeal>
RejectAppeal
Board rejects an appeal
Usage
#set($abuseAppealResponse = $core_v2_abuseAppeal.RejectAppeal($appealId, $boardResponse))
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| appealId | Guid | Id of the appeal | Required | | |
| boardResponse | string | Response of the Board | Required | | |
Return Type
AbuseAppeal
RespondToAppeal
Author responds to an appeal
Usage
#set($abuseAppealResponse = $core_v2_abuseAppeal.RespondToAppeal($appealId, $authorResponse))
Parameters
| Name | Type | Description | Required | Default | Options |
|---|
| appealId | Guid | Id of the appeal | Required | | |
| authorResponse | string | Response of the Author | Required | | |
Return Type
AbuseAppeal