Moderating community files and comments programmatically
Use the Atom Publishing Protocol, also known as AtomPub, to moderate community files and comments.Using the WAS Integrated Solutions Console, you can define one or more moderators who can control the content that is published in the community files in the following ways:
Premoderation
This setting requires that all community files and comments be approved by the moderator before they are published.
Post-moderation
This setting enables users to flag published content as inappropriate. Flagged content is then reviewed by the moderator, who determines what to do with the community file or comment in question.
The moderator cannot be defined programmatically; see Roles for more information about how to add people to the moderator role. Additionally, you cannot configure which types of moderation to use programmatically; see Manage content moderation and flagged content for information about how to enable moderation.
All users can do the following things programmatically:
- Flag content as inappropriate.
- Get a list of inappropriate content flag types.
Moderators can do the following things programmatically:
- Get a list of new community files and comments that need to be reviewed before they can be published.
- Take action on pending content.
- Get a list of published content that has been flagged as inappropriate and needs to be reviewed.
- Take action on flagged content.
Retrieve the Files moderation service document
Before you can manage the files and comments that have been added to a community or flagged as inappropriate, retrieve the Files moderation service document. You can use the links that it provides to locate the resources that await moderation approval.Moderating content in the Communities Files widget
Using the Atom Publishing Protocol, also known as AtomPub, you can take action on content that is awaiting publication review.Manage flagged content in the Communities Files widget
Using the Atom Publishing Protocol, also known as AtomPub, you can determine what to do with content that has been flagged as inappropriate.
Parent topic
Files APIRelated concepts
Moderation overview
Moderating the content in a community
Related tasks
Manage content moderation and flagged contentRelated reference
Roles
});