POST
/
v1
/
devboxes
/
{id}
/
read_file_contents

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The Devbox ID.

Body

application/json
file_path
string
required

The path on the Devbox filesystem to read the file from. Path is relative to user home directory.

Response

200 - text/plain

The response is of type string.