fleetSessions
The organization's open fleet sessions: each with its id, its app, the org token that opened it, when it was opened and last refreshed, and when it expires. Oldest first within an app. For a game server fleet that wants to see, and end, the sessions its stopped servers left: a server that is killed does not close its session, which then counts toward maxFleetSessions until it expires. A session whose refreshedAt is older than your servers' refresh interval belongs to a server that has gone; end it with closeFleetSession. An org token with fleet:session (its own organization; its app list, if it has one, limits what it sees), or an admin of the organization with manage_players, or a Crowded Kingdoms operator. No answer carries a session's token.
fleetSessions(
orgId: BigInt!
appId: BigInt
): [FleetSessionInfo!]!
Arguments
fleetSessions.orgId ● BigInt! non-null scalar
The organization (BigInt as a decimal string). With an org token, the token's own.
fleetSessions.appId ● BigInt scalar
Only the sessions in this app, one of the organization's (BigInt as a decimal string). Left out: every app of the organization.
Type
FleetSessionInfo object
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.