Skip to main content
GET
/
api
/
v1
/
vm
/
{vm_id}
/
files
cURL
curl --request GET \
  --url https://api.example.com/api/v1/vm/{vm_id}/files \
  --header 'Authorization: Bearer <token>'
{
  "content_b64": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

vm_id
string<uuid>
required

VM ID

Query Parameters

path
string
required

Absolute path of the file to read

Response

File contents

Response body for GET /api/vm/{vm_id}/files

content_b64
string
required

File contents, base64-encoded.