Enables scripted content fragments to retrieve moderation templates.
Methods
Get
Gets a moderation template
Velocity
#set($moderationTemplateResponse = $core_v2_moderationTemplates.Get($id))
JavaScript
var moderationTemplateResponse = core_v2_moderationTemplates.Get(id);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | Int32 | Template Id | Required |
Returns
List
Gets a set of available moderation templates
Velocity
#set($iListResponse = $core_v2_moderationTemplates.List($type))
JavaScript
var iListResponse = core_v2_moderationTemplates.List(type);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
type | String | Type | Required | PostDeleteReason |
Returns
IList of ModerationTemplate