Upload a file into an existing sandbox session

View as Markdown
Upload one file into the filesystem of an existing sandbox session using multipart form data. Only sandbox sessions support file transfer.

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired
Session ID

Request

Multipart form with path and file fields

filefileRequired
File contents as multipart binary payload.
pathstringRequired
Destination path inside the sandbox.

Response

File uploaded
pathstring
sizeinteger>=0

Errors