Create or update a socket server.
PUT /api/v1/socket-server/20 HTTP/1.1
Authorization: Signature ...
Content-Type: application/json
{
"maxPlayers": 3000,
"currentPlayers": 128,
"status": "healthy"
}
----------------------------------------
HTTP/1.1 204 No Content
ETag: W/"a-bAsFyilMr4Ra1hIU5PyoyFRunpI"Authentication 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 |
| Name | Description | Value |
|---|---|---|
| maxPlayers | the maximum allowed players for this server | number |
| currentPlayers | the current players connected to this server | number |
| status | the current status of the server | one of:
|
Successful responses are code 204. Error responses are standard.
NONE