Skip to main content
Version: 6.0.0

SysUpdateRoomServerImage

Updates the Docker image for the specified room server configuration. Automatically increments the server config version.

ServiceOperation
roomServerSYS_UPDATE_ROOM_SERVER_IMAGE

Method Parameters

ParameterDescription
serverNameThe name of the room server config to update, as defined in App > Design > Servers > My Servers.
dockerRepositoryThe new Docker repository string (e.g. 'myorg/my-game-server:v1.2.3').

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"dockerRepository": "braincloud/warstone-server:4.5.0",
"serverName": "RoomServer",
"version": 3
},
"status": 200
}