Moderation action entry content 

Lists the elements in a moderation action Atom entry.

All elements are in the http://www.w3.org/2007/app namespace, except those that are prefixed as follows:

snx

Table 1. Moderation action entry elements

Element How treated on input Description
<id> Ignored Unique identifier of the moderation action entry formatted following the URN specification.
<title> Ignored Title of the moderation action entry.
<author>
  <name>
  <email>
  <snx:userid>
  <snx:userState>
</author>

Ignored The person moderating the resource.
<link rel="related" href="http://{server}/{service}/approval|review/{path-to-resource}/{resource-guid}" /> Required if the <snx:in-ref-to> element is not provided. Specifies the entry on which you want to take action using a link element. Use either this element or the <snx:in-ref-to> element to identify the entry you want to moderate. This element is used in the Blogs API.
<snx:in-ref-to rel="http://www.ibm.com/xmlns/prod/sn/report-item" ref="{resource-id}" ref-item-type="{item_type}" /> Required if the <link> element is not provided. Specifies the entry on which you want to take action using a <snx:in-ref-to> element. Use either this element or the <link> element to identify the entry to which you want the action to be applied. This element is used in the Files and Forums APIs.
<snx:moderation action=" [action]" /> Required Describes the action to perform. The options for premoderation are:

  • approve

  • reject

The options for post-moderation are:

  • dismiss

  • quarantine

  • restore

For Blogs, the option return is also supported for post-moderation of posts, but not comments.

<content> Ignored Comments from the moderator. The administrator can describe here why the action was taken.


Parent topic

Common entry types

Related reference
Act on a blog post that is awaiting approval
Act on a comment that is awaiting approval
Act on a flagged blog post
Act on a flagged comment
Act on a community file that is awaiting approval
Act on a community file comment that is awaiting approval
Act on a flagged community file
Act on a flagged community file comment
Act on a forum topic or reply that is awaiting approval
Act on a flagged forum topics and replies


   

 

});