Devbox File Tools
Read text file contents from Devbox filesystem.
Read file contents from a file on a Devbox as a UTF-8. Note ‘downloadFile’ should be used for large files (greater than 100MB). Returns the file contents as a UTF-8 string.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Devbox ID.
Body
application/json
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
.