list
Description
Lists all servers associated with the token used. Can be filtered by tags in the query string.
Code Examples
Request Parameters
game_id
required path parameterenvironment_id
required path parametertags_json
optional query parameterinclude_destroyed
optional query parametercursor
optional query parameterResponse Body
serversarray of objectsA list of servers for the game associated with the token.
servers.idstringservers.environmentstringservers.datacenterstringservers.tagsany valueservers.runtimeobjectservers.runtime.buildstringservers.runtime.argumentsarray of stringsservers.runtime.environmentunion of empty object and string
servers.networkobjectservers.network.modestringservers.network.portsunion of empty object and objectservers.network.ports.protocolstringservers.network.ports.internal_portnumberservers.network.ports.public_hostnamestringservers.network.ports.public_portnumberservers.network.ports.routingobjectservers.network.ports.routing.game_guardempty objectservers.network.ports.routing.hostempty object
servers.resourcesobjectservers.resources.cpunumberThe number of CPU cores in millicores, or 1/1000 of a core. For example, 1/8 of a core would be 125 millicores, and 1 core would be 1000 millicores.
servers.resources.memorynumberThe amount of memory in megabytes
servers.lifecycleobjectservers.lifecycle.kill_timeoutnumberThe duration to wait for in milliseconds before killing the server. This should be set to a safe default, and can be overridden during a DELETE request if needed.
servers.created_atnumberservers.started_atnumberservers.destroyed_atnumber