Skip to main content

ListMultipartUploads

Lists in-progress multipart uploads in a bucket.

Description

The ListMultipartUploads operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a multipart upload that has been initiated using the CreateMultipartUpload request, but has not yet been completed or aborted.

Important
  • This operation returns at most 1,000 multipart uploads in the response. This is also the default value.
  • The response might contain fewer uploads than specified by max-uploads.
  • Always check the IsTruncated element in the response.
  • If there are additional multipart uploads to list, the response will include a NextKeyMarker and NextUploadIdMarker that can be used in subsequent requests.

Request Syntax

GET /?uploads&delimiter=Delimiter&encoding-type=EncodingType&key-marker=KeyMarker&max-uploads=MaxUploads&prefix=Prefix&upload-id-marker=UploadIdMarker HTTP/1.1
Host: BucketName.qstorage.quilibrium.com
x-amz-expected-bucket-owner: OwnerAccountId
Values in italics indicate user input and should be replaced with actual values.

This operation does not have a request body.

Request Parameters

URI Parameters

NameDescriptionRequiredType
delimiterA delimiter is a character that you specify to group keys. All keys that contain the same string between the prefix and the first occurrence of the delimiter are grouped under a single result element in CommonPrefixesNotext
encoding-typeSpecifies the encoding method to use for object key names in the responseNotext
key-markerTogether with upload-id-marker, specifies the multipart upload after which listing should beginNotext
max-uploadsSets the maximum number of multipart uploads to return in the response body (default: 1000)Nonumber
prefixLimits the response to keys that begin with the specified prefixNotext
upload-id-markerTogether with key-marker, specifies the multipart upload after which listing should beginNotext

Headers

NameDescriptionRequiredType
x-amz-expected-bucket-ownerThe account ID of the expected bucket ownerNotext

Response Syntax

HTTP/1.1 200 OK
x-amz-id-2: RequestId
x-amz-request-id: AmazonRequestId
Date: ISO8601Date
<?xml version="1.0" encoding="UTF-8"?> <ListMultipartUploadsResult> <Bucket>BucketName</Bucket> <KeyMarker>KeyMarker</KeyMarker> <UploadIdMarker>UploadIdMarker</UploadIdMarker> <NextKeyMarker>NextKeyMarker</NextKeyMarker> <NextUploadIdMarker>NextUploadIdMarker</NextUploadIdMarker> <Delimiter>Delimiter</Delimiter> <Prefix>Prefix</Prefix> <MaxUploads>MaxUploads</MaxUploads> <IsTruncated>true|false</IsTruncated> <Upload> <Key>ObjectKey</Key> <UploadId>UploadId</UploadId> <Initiator> <ID>InitiatorId</ID> <DisplayName>InitiatorName</DisplayName> </Initiator> <Owner> <ID>OwnerId</ID> <DisplayName>OwnerName</DisplayName> </Owner> <Initiated>ISO8601Date</Initiated> </Upload> <CommonPrefixes> <Prefix>CommonPrefix</Prefix> </CommonPrefixes> </ListMultipartUploadsResult>
Values in italics indicate variable response values.

Response Elements

Response Headers

NameDescriptionRequiredType
x-amz-id-2An identifier for the requestNoString
x-amz-request-idA unique identifier for the requestNoString
DateThe date and time at which the response was sentNoString

Response Body Elements

NameDescriptionRequiredType
ListMultipartUploadsResultContainer for the responseNoString
BucketName of the bucket to which the multipart upload was initiatedNoString
KeyMarkerThe key at which the listing beginsNoString
UploadIdMarkerUpload ID after which listing beginsNoString
NextKeyMarkerWhen a list is truncated, this element specifies the value that should be used for the key-marker request parameter in a subsequent requestNoString
NextUploadIdMarkerWhen a list is truncated, this element specifies the value that should be used for the upload-id-marker request parameter in a subsequent requestNoString
MaxUploadsMaximum number of multipart uploads that could have been returnedNoString
IsTruncatedIndicates whether the returned list of multipart uploads is truncated. A true value indicates that the list was truncated. A list can be truncated if the number of multipart uploads exceeds the limit allowed or specified by max uploadsNoString
UploadContainer for elements related to a particular multipart uploadNoString
KeyKey of the object for which the multipart upload was initiatedNoString
UploadIdUpload ID that identifies the multipart uploadNoString
InitiatorIdentifies who initiated the multipart uploadNoString
OwnerIdentifies the object ownerNoString
InitiatedDate and time at which the multipart upload was initiatedNoString
CommonPrefixesIf you specify a delimiter in the request, then the result returns each distinct key prefix containing the delimiter in a CommonPrefixes element. The distinct key prefixes are returned in the Prefix child elementNoString
PrefixKeys that begin with the indicated prefixNoString

Special Errors

Error CodeDescription
NoSuchBucketThe specified bucket does not exist
403Forbidden. Authentication failed or you do not have permission to list multipart uploads

Permissions

You must have the s3:ListBucketMultipartUploads permission on the bucket.

The following operations are related to ListMultipartUploads:

  • CreateMultipartUpload
  • UploadPart
  • CompleteMultipartUpload
  • ListParts
  • AbortMultipartUpload

Examples

Example 1: List all multipart uploads

GET /?uploads HTTP/1.1
Host: my-bucket.qstorage.quilibrium.com
Values in italics indicate user input and should be replaced with actual values.
HTTP/1.1 200 OK
x-amz-id-2: Example7qoYGN7uMuFuYS6m7a4l
x-amz-request-id: TX234S0F24A06C7
Date: Wed, 01 Mar 2024 12:00:00 GMT
<?xml version="1.0" encoding="UTF-8"?> <ListMultipartUploadsResult> <Bucket>my-bucket</Bucket> <KeyMarker></KeyMarker> <UploadIdMarker></UploadIdMarker> <NextKeyMarker>large-file.zip</NextKeyMarker> <NextUploadIdMarker>VXBsb2FkIElEIGZvciA2aWWpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA</NextUploadIdMarker> <MaxUploads>1000</MaxUploads> <IsTruncated>false</IsTruncated> <Upload> <Key>large-file.zip</Key> <UploadId>VXBsb2FkIElEIGZvciA2aWWpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA</UploadId> <Initiator> <ID>123456789012</ID> <DisplayName>user@example.com</DisplayName> </Initiator> <Owner> <ID>123456789012</ID> <DisplayName>user@example.com</DisplayName> </Owner> <Initiated>2024-03-01T11:30:00.000Z</Initiated> </Upload> </ListMultipartUploadsResult>
Values in italics indicate variable response values.

Example 2: List multipart uploads with a prefix

GET /?uploads&prefix=documents/&max-uploads=2 HTTP/1.1
Host: my-bucket.qstorage.quilibrium.com
Values in italics indicate user input and should be replaced with actual values.
HTTP/1.1 200 OK
x-amz-id-2: Example7qoYGN7uMuFuYS6m7a4l
x-amz-request-id: TX234S0F24A06C7
Date: Wed, 01 Mar 2024 12:00:00 GMT
<?xml version="1.0" encoding="UTF-8"?> <ListMultipartUploadsResult> <Bucket>my-bucket</Bucket> <KeyMarker></KeyMarker> <UploadIdMarker></UploadIdMarker> <Prefix>documents/</Prefix> <MaxUploads>2</MaxUploads> <IsTruncated>true</IsTruncated> <NextKeyMarker>documents/report.pdf</NextKeyMarker> <NextUploadIdMarker>VXBsb2FkIElEIGZvciA2aWWpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA</NextUploadIdMarker> <Upload> <Key>documents/presentation.pptx</Key> <UploadId>VXBsb2FkIElEIGZvciA2aWWpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA</UploadId> <Initiator> <ID>123456789012</ID> <DisplayName>user@example.com</DisplayName> </Initiator> <Owner> <ID>123456789012</ID> <DisplayName>user@example.com</DisplayName> </Owner> <Initiated>2024-03-01T11:30:00.000Z</Initiated> </Upload> <Upload> <Key>documents/report.pdf</Key> <UploadId>VXBsb2FkIElEIGZvciA2aWWpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA</UploadId> <Initiator> <ID>123456789012</ID> <DisplayName>user@example.com</DisplayName> </Initiator> <Owner> <ID>123456789012</ID> <DisplayName>user@example.com</DisplayName> </Owner> <Initiated>2024-03-01T11:45:00.000Z</Initiated> </Upload> </ListMultipartUploadsResult>
Values in italics indicate variable response values.

Try It Out

Test ListMultipartUploads

List in-progress multipart uploads in a bucket.

Coming Soon

This feature is currently under development and will be available soon.