Get a list of flagged community filesGet a feed that lists the community files 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 Files application.
Table 1. Atom API request details
Resource Description From the moderation service document, find the entries-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 entries 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 entries 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:
Displays the entries in ascending order.
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:
OutputAn Atom feed containing the community files that have been flagged as inappropriate.
Parent topicWork with flagged community files programmatically