APIFile management

Get file contents

Returns the raw contents of a specified file

Returns the raw contents of a specified file

GET
/api/client/servers/{server}/files/contents

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your API token in the format: Bearer {token}

In: header

Path Parameters

server*string

Server UUID

Query Parameters

file*string

Path to the file to read

Response Body

text/plain

curl -X GET "https://example.com/api/client/servers/string/files/contents?file=string"
"string"
Empty
Empty
Empty
Empty