Get a direct upload URL
Mints a short-lived URL to POST a multipart/form-data body to, on the
server's node. Send the files under the field name files, and the
destination directory as the directory query parameter on that URL.
A GET that hands out a write credential, which is why it needs
game-servers.files.manage rather than the read ability.
Use it for anything large or binary; PUT files/contents holds the body
in memory here and is meant for configs.
Authorization
orgApiKey game-servers.files.manageAn 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
The server's UUID, as returned by the list endpoint.
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/game-servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/files/upload"{ "data": { "url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z" }}