Skip to main content
GET
/
servers
/
{id}
/
files
/
contents
Read file contents
curl --request GET \
  --url https://your-domain.com/api/client/v1/servers/{id}/files/contents \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Server UUID.

Query Parameters

file
string
required

Response

Raw file contents

The response is of type string.