Skip to main content
PUT
Upload a directory to a volume

Authorizations

Authorization
string
header
required

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

Path Parameters

volume_id
string
required

Id of the volume, as returned by create.

Pattern: ^vol_

Query Parameters

path
string
default:/

Path on the volume, relative to its root, with or without a leading slash: skills/review.md and /skills/review.md name the same file. A .. segment is rejected. Leave it out for the volume's root.

Maximum string length: 4096

Body

application/gzip

The body is of type file.

Response

What the archive wrote.

file_count
integer<int64>
required

How many regular files the archive wrote.

Required range: x >= 0
size_bytes
integer<int64>
required

Total size of those files in bytes.

Required range: x >= 0