Heartbeat

Heartbeat is used to keep the server status up to date and to ensure the server is still active and online. This endpoint will also return any moderation updates for players that need to be kicked or disconnected.

Body Params
string
required

The current status of the server.

sessions
array of uuids
required

Array of active session IDs.

Active Sessions*
string | null
required

The last time the server sent a heartbeat. Will be used to show unactioned kicks, etc. since this date.

Responses

Response body
object
string
required

game_server.heartbeat.success

string
required

Successfully checked-in for server info.

boolean
required

true

data
object
required
sessions_active
array of uuids
required

An array of active session IDs for validation.

Active Sessions*
sessions_stale
array of uuids
required

An array of stale session IDs that need to be ejected from the server. These sessions are already closed, but the server is still reporting them as connected.

Stale Sessions*
kicks
array of objects
required

An array of kicks that have been issued to players on this server. The server must send a kick event and eject the session for this player.

Moderation: Kicks*
object
uuid
required

UUID of the kick

string | null
required

Date when the kick was created

string | null
required

Only visible to the server owner & moderators. Documented reason for the kick or ban.

player
object
required
author
object
required

Only visible to the server owner & moderators. Owner or Moderator who performed the kick or ban. When null, it is a system or game issued ban.

string | null
required

The time that this data was fetched, and to use for the next heartbeat.

boolean
required

Language
Credentials
Request