cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/files/compress \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "root": "<string>", "name": "<string>", "files": [ "<string>" ] }'
[ "<any>" ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
The response is of type any[].
any[]