Community articleRetrieving the Forums moderation service document
Added by IBM contributorIBM on June 27, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Before you can manage the entries and replies added to a forum or flagged as inappropriate, you must retrieve the moderation service document. You can use the links that it provides to locate the resources that await moderation approval.



Before you can manage the entries and replies added to a forum or flagged as inappropriate, you must retrieve the moderation service document. You can use the links that it provides to locate the resources that await moderation approval.

The user authenticating the request must be the moderator of the Forums application.



You must edit the contentApproval property in the contentreview-config.xml file to enable premoderation. See Managing content moderation and flagged content in the Administering applications section of the product documentation for more details.

 
Method URI Description
GET /forums/atom/moderation/atomsvc Accesses the moderation service document. The service document provides one workspace for entry and reply moderation.
Output
Content Type: application/atom+xml
Code Description
200
OK. Indicates document was found and returned.
Examples
> GET /forums/atom/moderation/atomsvc HTTP/1.1

	> Host: enterprise.example.com

	> Accept: */*


Response returned by the server
HTTP/1.1 200 OK

	Content-Type: application/atomsvc+xml;charset=UTF-8

	Content-Language: en-US

<service>

	<generator uri="http://www.ibm.com/xmlns/prod/sn" version="3.0.1.0">

	IBM Connections - Discussion Forum

	</generator>

	<workspace>

	<atom:title type="text">Moderation of topic and reply contents</atom:title>

	<collection href="https://enterprise.example.com/forums/atom/approval/entries">

	<atom:title type="text">Listing of pre-moderated forum content </atom:title>

	<accept/>

	<atom:id>

	https://enterprise.example.com/forums/atom/approval/entries

	</atom:id>

	<atom:category scheme="http://www.ibm.com/xmlns/prod/sn/collection" term="approval-content"/>

	</collection>

	<collection href="https://enterprise.example.com/forums/atom/approval/actions">

	<atom:title type="text">

	Change pre-moderated forum content approval status

	</atom:title>

	<accept>application/atom+xml; type=entry</accept>

	<atom:id>

	https://enterprise.example.com/forums/atom/approval/actions

	</atom:id>

	<atom:category scheme="http://www.ibm.com/xmlns/prod/sn/collection" term="approval-action"/>

	</collection>

	<collection href="https://enterprise.example.com/forums/atom/review/entries">

	<atom:title type="text">Listing of post-moderated forum content </atom:title>

	<accept/>

	<atom:id>

	https://enterprise.example.com/forums/atom/review/entries

	</atom:id>

	<atom:category scheme="http://www.ibm.com/xmlns/prod/sn/collection" term="review-content"/>

	</collection>

	<collection href="https://enterprise.example.com/forums/atom/review/actions">

	<atom:title type="text">Change post-moderated forum content review status</atom:title>

	<accept>application/atom+xml; type=entry</accept>

	<atom:id>

	https://enterprise.example.com/forums/atom/review/actions

	</atom:id>

	<atom:category scheme="http://www.ibm.com/xmlns/prod/sn/collection" term="review-action"/>

	</collection>

	</workspace>

	</service>