Skip to main content
POST
Upload a tar

Authorizations

Authorization
string
header
required

An API key that starts with vms_. Make one in Settings > API keys.

Path Parameters

id
string
required
Example:

"sbx_06d8k3m7q2v9x4b1n5c0e8f2ja"

Query Parameters

path
string
required

The absolute path of the folder for the content of the tar. If the folder does not exist, it is created.

Required string length: 1 - 4096
Pattern: ^\/
Example:

"/home/user/project"

Body

The body is of type file.

Response

The tar is extracted.

sandboxId
string
required
path
string
required
Required string length: 1 - 4096
Pattern: ^\/
entries
integer
required

The number of files and folders in the tar.

Required range: 0 <= x <= 9007199254740991
bytes
integer
required

The size of the uploaded tar.

Required range: 0 <= x <= 9007199254740991