FleetSessionInfo
One of an organization's open fleet sessions, as fleetSessions lists it: which session, in which app, which org token opened it and when it was last kept. It carries no token: the session's token is given once, to the game server that opened it.
type FleetSessionInfo {
gameTokenId: BigInt!
appId: BigInt!
orgTokenId: BigInt!
maxPlayers: Int!
openedAt: DateTime!
refreshedAt: DateTime!
expiresAt: DateTime!
}
Fields
FleetSessionInfo.gameTokenId ● BigInt! non-null scalar
The session's id (BigInt as a decimal string): what closeFleetSession names it by.
FleetSessionInfo.appId ● BigInt! non-null scalar
The app the session is in (BigInt as a decimal string).
FleetSessionInfo.orgTokenId ● BigInt! non-null scalar
The org token that opened the session (its id, BigInt as a decimal string; never the token). Revoking that token ends every session it opened.
FleetSessionInfo.maxPlayers ● Int! non-null scalar
How many players the session may carry at once.
FleetSessionInfo.openedAt ● DateTime! non-null scalar
When the session was opened.
FleetSessionInfo.refreshedAt ● DateTime! non-null scalar
When the session was last kept: when it was opened, or its last refreshFleetSession. A running game server refreshes its session before it expires (the SDKs do so once half of the 24 hours have passed), so a session whose refreshedAt is older than the refresh interval of your servers belongs to a server that has gone.
FleetSessionInfo.expiresAt ● DateTime! non-null scalar
When the session ends unless it is refreshed first: 24 hours after refreshedAt.
Returned By
fleetSessions query