Files

Extract an archive

POST
/game-servers/{slice}/files/decompress

Extracts file into root, overwriting anything already there with the same name. The archive is left in place.

Extraction counts against the server's disk quota, and an archive that would exceed it fails partway rather than being refused up front.

Authorization

orgApiKey game-servers.files.manage
AuthorizationBearer <token>

An organisation API key, prefixed tbk_. Create one under Organisation to API keys; the plaintext is shown once.

The scopes listed on each operation are the abilities the key must carry. They are not OAuth scopes and are not negotiated per request.

In: header

Scope: game-servers.files.manage

Path Parameters

slice*string

The server's UUID, as returned by the list endpoint.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/game-servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/decompress" \  -H "Content-Type: application/json" \  -d '{    "file": "string"  }'
{  "ok": true,  "message": "string"}