Report an item
Players can report an item by calling theReportItem API from a client. An item Id or AlernateId must be provided. Additional optional parameters can be added. These include:
ConcernCategory: A category of concern for the reportReason: A free text input for the report
ConcernCategory will default to None. The valid ConcernCategory values are as follows:
NoneOffensiveContentChildExploitationMalwareOrVirusPrivacyConcernsMisleadingAppPoorPerformanceReviewResponseSpamAdvertisingProfanity
ReportItem API will only fire a PlayStream event under the Event Name, item_reported. This can be queried using the Data Explorer in the Game Manager. Example queries can be seen below:
The following query returns The total number of reports by ConcernCategory per ItemId in the last 3 days
Change the moderation status of an item
You can change the moderation status of a published item using theSetItemModerationState API. An item that is any state other than Approved will not be accessible on the public catalog for all players. The item creator can still access the item using the GetItem and GetDraftItems API. Title entities and Admins will be able to see Non-Approved items through SearchItems, GetDraftItems, and GetItem.
This API can only be called by the title entity. An item Id or AlernateId and a Status must be provided. An optional Reason free text parameter can also be added. As a service call, that looks something like this:
Status values are as follows:
AwaitingModerationApprovedRejected
AwaitingModeration status in the last 3 days
Delete an item
An item can be deleted by calling theDeleteItem API. This call will remove an item from the draft catalog and corresponding item from the public catalog (if it has been published). An item Id or AlernateId must be provided.
