Skip to main content
POST
Create or replace a team player stat

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The stat to record

stat_type_id
string<uuid>
required
team_player_id
string<uuid>
required
value
integer
required

The value to record. 0 is a valid value.

Response

The new stat, or the existing stat with its new value.

data
object

The payload. Left out when there is none.

message
string

Text that is safe to show a user. Left out when there is none.

status
enum<string>

success or error. A 410 for a session that has ended says ended instead.

Available options:
success,
error,
ended