Moderation action entry content
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 16, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

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

In the http://www.ibm.com/xmlns/prod/sn namespace.

 

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.

 

Resources

Acting on a blog post that is awaiting approval ic50Create New Article
Acting on a comment that is awaiting approval ic50Create New Article
Acting on a flagged blog post ic50Create New Article
Acting on a flagged comment ic50Create New Article
Acting on a community file that is awaiting approval ic50Create New Article
Acting on a community file comment that is awaiting approval ic50Create New Article
Acting on a flagged community file ic50Create New Article
Acting on a flagged community file comment ic50Create New Article
Acting on a forum topic or reply that is awaiting approval ic50Create New Article
Acting on a flagged forum topics and replies ic50Create New Article