Sandbox API
Create a directory in a sandbox
Create a directory at the specified path in a sandbox. The sandbox must be running.
post/workspaces/{workspace_domain}/sandboxes/{sandbox_id}/content/{path}
Path parameters
workspace_domainstring required
Example:my-company
The human-readable ID of the workspace
sandbox_idstring required
Example:sb-1234567890abcdef
The ID of the sandbox
pathstring required
Example:buddy/new-folder
Absolute path where the directory should be created
Response
Directory created successfully
Example response
{
"type": "FILE",
"name": "index.js",
"path": "app/src/index.js",
"size": 1024
}