Activities

Create an activity

POST /v1/games/:game_id/activities

Request Body

NameTypeDescription

custom_action_id

string

custom_player_id

string

custom_session_id

string

amount

integer

Defaults to 1

date_time_utc

string

Sample format: `2021-01-13T23:13:46.921279Z`

uuid

string

Must be a valid RFC 4122 (version 1, 3, 4, or 5) UUID

UUID

This parameter can be used to determine whether or not you have already reported a given player activity. This scenario might occur for a number of reasons, e.g. poor network, errors that occur in your project when sending, etc.

Amount

The amount that you specify indicates the number of times the action has been performed by the player.

Default: 1

Date/Time UTC

This is the date/time that the action is to be recorded. For some circumstances, this shouldn't be necessary, but for others it will. It is good to use if precision is important or if there's a need to "go back in time" and report activities that weren't previously reported.

Default: the current date/time when the request is received.

The value passed cannot be in the future.

Last updated