Graphon API

S3 · Multipart uploads

CreateMultipartUpload

POST/{bucket}/{key}?uploads

Starts a multipart upload and returns its upload ID.

A multipart upload writes a large object in parts. Start it here, send each part with UploadPart, then join the parts with CompleteMultipartUpload.

View as Markdown
Role
Editor or higher
Support
Supported
  • Starts an upload. aws s3 cp uses multipart for large files.
  • Storage keeps only Content-Type from this request. The object gets no metadata, tags, or other stored headers.

Path parameters

bucketstringrequired

The bucket name.

keystringrequired

The object key. Keep each / as it is. Percent-encode the other reserved characters.

Query parameters

uploadsflagrequired

Selects this operation. Send it with no value.

Headers

Content-Typestringoptional

The media type of the object.

Default: "application/octet-stream"

The workspace ID that must own the bucket. Another owner returns 403 AccessDenied.

Responses

200OK

The upload started.

application/xml

The root element.

Bucketstring

The bucket name.

Keystring

The object key.

UploadIdstring

The ID that the other multipart calls take.

Errors

Select an error in the response example to see its XML body. Any request can also get the common errors, such as SignatureDoesNotMatch.

404NoSuchBucket

No bucket has this name, or the bucket was deleted.

What to do: Check the bucket name. ListBuckets shows the buckets of the workspace.

403AccessDenied

The key does not have the role for this operation, or the bucket is in another workspace.

What to do: Use a key of the workspace that owns the bucket, with the role above.

Was this page helpful?