Create Directory
Create a directory in the sandbox filesystem. 500 is returned when the
directory could not be created.
Create Directory › Request Body
pathThe absolute path of the directory to create.
parentsWhether to create missing parent directories.
Create Directory › Responses
The outcome of creating the directory.
statusThe status of the response.
dataThe response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
Read File
Read the contents of a file, base64-encoded. 500 is returned when the
file could not be read.
Read File › Request Body
pathThe absolute path of the file to read.
Read File › Responses
The base64-encoded contents of the file.
statusThe status of the response.
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
Read Raw File
Download the contents of a file verbatim.
Read Raw File › Request Body
pathThe absolute path of the file to read.
Read Raw File › Responses
The contents of a file, returned verbatim and unenveloped. 404 is returned
when the file does not exist.
Upload File
Upload a file to the sandbox at a given path. A new file will be created at
- if
pathends with '/' or exists and is a directory: path/filename - else: path
400is returned whenencodingis not a known encoding ordatais not valid base64, and500when the file could not be created.
Upload File › Request Body
pathPath where to upload the file.
filenameName of uploaded file; will be used if path is a directory.
parentsWhether to create parent directories of path.
encodingThe encoding of data.
dataThe data to write, in the given encoding
Upload File › Responses
The outcome of uploading the file.
statusThe status of the response.
dataThe response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
Write File
Write data to a file, creating it if it does not exist. 400 is returned
when encoding is not a known encoding or data is not valid base64, and
500 when the file could not be written.
Write File › Request Body
pathThe absolute path of the file to write. It is created if missing.
appendWhether to append to the file instead of truncating it.
encodingThe encoding of data.
dataThe data to write, in the given encoding.
Write File › Responses
The outcome of writing the file.
statusThe status of the response.
dataThe response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.