Perform a state update for a game session on a socket server.
POST /api/v1/socket-server/20/game/21b2330e-1f67-4e0f-9362-a447d5d2876c/state HTTP/1.1
Authorization: Signature ...
Content-Type: application/json
{
"open": false
}
----------------------------------------
HTTP/1.1 204 No ContentAuthentication is required and restricted to system processes. Requests should be signed using a System key.
| Name | Description | Value |
|---|---|---|
| serverId | the ID of the server, 0 to 255 | number |
| gameId | the ID of the game, as a UUID with dashes | string |
| Name | Description | Value |
|---|---|---|
| open | true if the game should be open to new players joining, false if not | boolean |
Successful responses are code 204. Error responses are standard.
NONE