GX Technology : APIs - Moderation Reports - v2

Moderation Reports v2

The second iteration of the moderation reports has been migrated from a php base and moved to Java Spring. This will allow us to better support a restful submission service with rapid iteration.

Authentication

Cellophane


Axis APIs are made available to third parties are authenticated using DI Auth, and require an approved client

To request access to Axis APIs, please email #DI DL-AxisTech with the following details

  • The environment you wish to access (eg: integration, production)
  • The APIs you want to access (eg: /report/v2/queue)
  • Where you wish to access the APIs from (eg: DGN, Public Internet)
  • Static IP address range requests will come from.
  • Your DI Auth client name (eg: DI Axis Gx Tools - Dev)

Please note - we do not require your DI Auth secret. Please do not send this in any communications as this poses a security risk.

To add authentication your requests, please add an Authorization header with the following format (full details on the DI Auth page)

Authorization: GAE <Client Secret>

 


 

HTTP Basic Authentication (Deprecated)

Public API

The public API endpoints (eg: https://api.disney.com/) require the guest's AuthZ token in addition to the Cellophane credentials. This is so that we can ensure that we can perform validation on the report submitter. As such, when using public endpoints, the AuthZ Bearer token must be appended to the Authorization header

Authorization: FD <Client UUID>:<Client Secret>, Bearer <AuthZ Token>

 

Environments

Private

Public

Calls

Submit Report

Request

Item

 Description
Callreport/v2/queueThe call made to the service ie: {environment}/gxtools/report/v2/queue
MethodPOST 
HeadersContent-Type: application/jsonThe API will consume an object that has been json encoded.
BodyNewReport

Object described below.

Note: PUT report/v1/report exists as an alias to this end point

NewReport

VariableTypeExampleDescription
reporterString{cf81389b-bdba-4050-84d4-3a480bd60b8a}The player swid that is reporting a player.
reportedString{cf81389b-bdba-4050-84d4-3a480bd60b8a}The player that is being reported.
locationStringurn:gid:CLPThe location of the incident/chat - this value needs to be the same as the value passed into the Chat Logger system
roomStringurn:jid:igloo777@com.disneyThe ingame/chat room that the incident occured - this value needs to be the same as the value passed into the Chat Logger system
timestampInteger1338508800The unix timestamp gmt of when the incident occured. (seconds)
reasonIdInteger10The reason ID, 1-10, listed below. Deprecated, use reasonCode instead.
reasonCodeStringCHAT.BULLYINGThe reason code, listed below. Replaces reasonId, taking precedence if both passed.
languageStringenThe language that the report is to be handled in.
productStringclubpenguinThe product that the report is being submitted for.

Raw Body:

{
	"reporter": "{cf81389b-bdba-4050-84d4-3a480bd60b8a}",
	"reported": "{cf81389b-bdba-4050-84d4-3a480bd60b8a}",
	"location": "urn:gid:CLP",
	"room": "urn:jid:igloo777@com.disney",
	"timestamp": 1338508800,
	"reasonId": 10,
	"language": "en",
	"product": "clubpenguin"
}

 

Response

Raw Response: {"success":true,"message":"Successfully added the moderation report to the system.","reportId":53}

Detailed Response:

VariableTypeExampleDescription
successBooleantrueThe success of the call
messageString
Successfully added the moderation report to the system
Message generated from the call
reportIdInteger53The id of the report that was generated.

 

Ban Reasons

Reason IdCodeReasonPublic Reason
1HACK.COLOR_ITEMHacking Color ItemAttempted Game Manipulation
2HACK.BACKGROUNDHacking Background PhotoAttempted Game Manipulation
3HACK.HONEY_POTHacking Honey PotAttempted Game Manipulation
4HACK.RINGLEADERHacking (ringleader)Attempted Game Manipulation
5CHAT.SWEARINGSwearingSwearing
6CHAT.BULLYINGBullying or Being MeanBullying or Being Mean
7CHAT.DISCLOSING_PIIDisclosing Personal InfoAttempted to Reveal Personal Information
8CHAT.INAPPROPRIATEInappropriate TalkInappropriate Talk
9CHAT.NAN/A
Inappropriate Talk
10CHAT.REQUESTING_PIIAsking for Personal InfoAttempted to Obtain Personal Information
11PLAYER.BAD_NAMEBad NameInappropriate Penguin Name
12PLAYER.BAD_IGLOOBad IglooInappropriate Igloo Furniture Layout
13PLAYER.BAN_LIMITOver Ban LimitOver Ban Limit
14CHAT.AUTOBANNABLE_WORDAutobannable WordBanned Automatically for swearing or inappropriate talk
15PLAYER.IN_GAME_BANIn-Game BanInappropriate Talk 
16HACK.ITEM_LAYERSHacking Item LayersAttempted Game Manipulation
17HACK.MAILHacking mailSent spam
19HACK.BOTBotAttempted Game Manipulation
20FINANCE.UNAUTH_PURCHASEUnauthorized PurchasesUnauthorized Purchases
22HACK.COINSHacking CoinsAttempted Game Manipulation
23MISC.SENTINELSentinel DB MatchSentinel DB Match
24CHAT.EMBEDDED_MEDIAImage/VideoInappropriate Embedded Image/video
25LEGAL.INVESTIGATIONLegal InvestigationLegal Investigation

Supported Product

The product passed into the API is lower case single string with no spaces. (please try to keep this list in order)

ProductAcceptable Input
Club Penguinclubpenguin
Infinity Onlineinfinityonline