Skip to content

Create Report For Target Player Uuid

POST
/sanctions/v2/player/{player_uuid}/reports

Create a new report for a target player Required Permissions: If source_player_uuid is not provided, or is the same as the active player: any of: sanction:report:create:any, sanction:*, sanction:report:create:self Otherwise: any of: sanction:report:create:any, sanction:*

Authorizations

Parameters

Path Parameters

player_uuid
required
string format: uuid

Request Body required

object
source_player_uuid
Any of:
string format: uuid
reason
required

The reason for the report

string
Allowed values: cheating hate_speech harassment real_life_threat teaming intentional_feeding stream_sniping afk didnt_play_assigned_role other
description
Any of:
string
>= 1 characters <= 4096 characters
session_id
Any of:
string
instance_id
Any of:
string
match_id
Any of:
string
match_segment
Any of:
string
custom_data

Custom data for the report

object
key
additional properties
string
>= 1 characters <= 4096 characters

Responses

200

Successful Response

object
report_id
required

Unique ID for the player report

string
source_player_uuid
Any of:
string format: uuid
source_player_id
Any of:
integer
target_player_uuid
required
Any of:
string format: uuid
target_player_id
Any of:
integer
reason
required

The reason for the report

string
Allowed values: cheating hate_speech harassment real_life_threat teaming intentional_feeding stream_sniping afk didnt_play_assigned_role other
description
Any of:
string
>= 1 characters <= 4096 characters
session_id
Any of:
string
instance_id
Any of:
string
match_id
Any of:
string
match_segment
Any of:
string
custom_data

Custom data for the report

object
key
additional properties
string
>= 1 characters <= 4096 characters
created
Any of:
string format: date-time
modified
Any of:
string format: date-time

400

Error Codes:

  • source_player_required - Source Player must be provided in request or with a user token
object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

403

Error Codes:

  • insufficient_permissions - Insufficient Permissions
  • auth_malformed_access - Invalid Authorization - malformed access token
  • auth_invalid_key_id - Invalid Authorization - Invalid Key ID in Access Token
  • auth_token_format - Invalid Authorization - {}
  • auth_not_jwt - Invalid Authorization
  • auth_invalid_version - Invalid Authorization - version
  • auth_token_expired - Token is expired
  • auth_token_sig_invalid - Token Signature is invalid
  • auth_token_unknown - Failed to parse token
  • auth_token_invalid_claim - Token contained invalid claim value: {}
object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

404

Error Codes:

  • player_not_found - Player {id} not found
object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string