Get a list of flagged community file comments
Get a feed that lists the community file comments that have been flagged as inappropriate and are awaiting action by the moderator.The user authenticating the request must be assigned to the global-moderator role of the Forums application.
Table 1. Atom API request details
Resource Description From the moderation service document, find the comments-moderation workspace. Use the web address in the href attribute of the <collection> element that contains the <category term="review-content" ... /> element. A feed that lists the comments that are flagged and awaiting action. You can use one or more of the input parameters to limit the number of posts returned in the feed. Separate multiple parameters with an ampersand (&).
Table 2. Input parameters
Parameter Description community Unique ID of a community. Limits the comments returned to include only those that are part of the specified community's file collection. page Page number. Specifies the page to be returned. The first page is page 1. ps Page size. Specifies the number of entries to return per page. The default is 10. sortBy Specifies what value to use as the basis for organizing the entries returned in the feed. The only option is date. If status = "isFlagged," "date" means the date on which the last media flag was created. If status = "quarantined," "date" means the date on which the media status was changed to quarantined. sortOrder Specifies the order in which to list the feed entries. The options are:
ascDisplays the entries in ascending order.
desc
Displays the entries in descending order.
status Limits the number of entries returned to include only those having the specified status. The options are as follows:
- isFlagged
- quarantined
Output
An Atom feed containing the comments that have been flagged as inappropriate.
Parent topic
Work with flagged community file comments
});