Javascript
import Runloop from '@runloop/api-client'; const client = new Runloop({ bearerToken: 'My Bearer Token', }); const response = await client.devboxes.downloadFile('id', { path: 'path' }); console.log(response); const content = await response.blob(); console.log(content);
This response does not have an example.
Download file contents of any type (binary, text, etc) from a specified path on the Devbox.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Devbox ID.
OK
The response is of type file.
file
Was this page helpful?