Files

Copy an entry beside itself

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

Copies one entry into the directory it already sits in. The node picks the new name — world.zip becomes world copy.zip — and does not report it, so neither can this response. List the directory afterwards if the name matters, or move the copy where you want it.

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/copy" \  -H "Content-Type: application/json" \  -d '{    "location": "string"  }'
{  "ok": true,  "message": "string"}