Perform a batch update of parties on a socket server.
POST /api/v1/socket-server/20/parties HTTP/1.1
Authorization: Signature ...
Content-Type: application/json
[{
"kind": "update",
"party": "12bd6efa-d8f6-41cf-8198-9a163cb4687d",
"currentPlayers": 5,
},{
"kind": "update",
"party": "58951996-374a-4ea6-a347-17430c41f815",
"maxPlayers": 8,
"name": "Jane's Party",
},{
"kind": "delete"
"party": "90c80fc4-8178-4719-8f6a-d69f312b043c",
}]
----------------------------------------
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 |
The request body is an array of batch operations, see types Update and Delete. Update operations should include only the properties that have changed.
| Name | Description | Value |
|---|---|---|
| kind | operation type discriminator | literal: update |
| party | the party ID to update | string |
| name | the name of the party optional | string |
| maxPlayers | the maximum allowed players for this server optional | number |
| currentPlayers | the current players connected to this server optional | number |
| Name | Description | Value |
|---|---|---|
| kind | operation type discriminator | literal: delete |
| party | the party ID to delete | string |
Successful responses are code 204. Error responses are standard.
NONE