Create Session Audit
POST /session/v1/audit
Create an audit event in the log for this session. Internal session operations will create new events that are accessible from the get request.
Player clients and instances are expected to create events here when something occurs on their clients that is relevant. Customer created events will be prepended with ‘customer.’
Required Permissions:
- For any player (including themselves) any of:
session-audit:update:all
,session:*
Required Permissions:
- For any player (including themselves) any of:
session-audit:update:self
,session:*
for sessions you are a member of
Required Permissions:
- For any player (including themselves) any of:
session-player-audit:update:all
,session:*
to read audit information about any player
Required Permissions:
- For any player (including themselves) any of:
session-player-audit:update:self
,session:*
to read audit information about yourself
Authorizations
Request Body required
object
Name of the audit event you are creating. Customer created events will be prepended with ‘customer.’
ID of the session this event occurred in
Custom data for this audit request
object
Type of the session this event occurred in
Region ID for this event
Whether or not the session is publicly joinable
Updated team numbers and sizes
An update to a specific team’s number of max players
object
Maximum number of players for this team
Custom data about this team
object
The source of an invite
UUID of a specific player being effected in this event
ID of the team being effected in this event
ID of the session being invited in this event
ID of the session being removed in this event
Version updated in this event
Client settings updated as part of this event
object
DEPRECATED. Use ‘platform’ instead. Id for which platform this client is on. ID will be ignored if ‘platform’ is given. At least one of the two is required
Which platform this client is on. If one is not provided, will get the platform from the ‘platform_id’. At least one of the two is required
Which input type this client is using
Crossplay preferences updated as part of this event
object
The platform type that the client is allowed to play with (any, xbox-like only, playstation-like only etc.)
The input type that the client is allowed to play with (keyboard and mouse, gamepad, touch input etc.)
Player’s status updated as part of this event
Platform updated as part of this event
ID of the platform session being effected in this event
ID of the instance being effected in this event
Type of the host being effected in this event
UUID of the player hosting during this event
ID of the instance request template being used in this event
Map being used in this event
Mode being used in this event
Allocation ID of instance in this event
Instance’s joinability status
Instance’s join parameters for this event
object
Public connection string for instance
Private connection string for instance
Custom data to join a instance
object
Instance’s health status for this event
ID for the queue in this event
Matchmaking ticket id in this event
Additional matchmaking parameters in this event
object
Additional double arguments to add to the matchmaking ticket
object
Additional string arguments to add to the matchmaking ticket
object
Additional tags to add to the matchmaking ticket
Additional extensions to add to the matchmaking ticket. Value is a base64 string representation of the protobuf binary data. The data will be converted back to binary before being put on the ticket
object
Map preferences in this event
ID of the session that was/is in a matchmaking queue for this event
ID of a match that was associated with this session
List of players uuids that were effected in this event. Each player will get a unique event
Responses
200
Successful Response
403
Forbidden
object
404
Session doesn’t exist. See error code for more info
object
422
Validation Error