Buckets
Create an upload session
POST
/v1/workspaces/{workspaceId}/buckets/{bucketId}/upload-sessionsReturns a signed PUT. Bytes go to the store, not through Spark.
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
workspaceIdstring
The workspace id.
bucketIdstring
The storage bucket id.
Request body
keystring
Object key.
lengthBytesstring
Exact object size as a decimal string.
contentTypestring (optional)
MIME type.
checksumsobject (optional)
Optional checksums such as SHA-256.