Storage

Start a multipart upload

POST/v1/workspaces/{workspaceId}/buckets/{bucketId}/uploads

Starts a multipart upload for an object over 8 MiB. Requires an editor role. Returns the part size and the maximum object size.

Authentication

Send your Spark API key with every request. The value is the full bearer token Spark returned when you created the key. See Authentication.

Authorization: Bearer <SPARK_API_KEY>

Path parameters

workspaceId

string

The workspace id.

bucketId

string

The bucket id.

Request body

key

string

The object key.

contentType

string

The object content type.

Was this page helpful?