Lists the uploaded parts for an ongoing XML API multipart upload, returned in an XML document in the response body.
Parts in the list are ordered sequentially, and the XML API does not return
lists longer than 1000 parts. If there are more parts to return than can fit
in the response, the response returns an
IsTruncated element with a value of
true and a
NextPartNumberMarker element which you can use in subsequent
Query string parameters
||The maximum number of parts to return in the response.||No|
||The part number that you want the listing to begin after. Parts whose
numbers are greater than the
||The multipart upload for which you want to list the parts.||Yes|
Request body elements
This request does not include an XML document in the request body.
The following syntax applies to GET Object requests that use the
query string parameter.
GET /OBJECT_NAME?uploadId=UPLOAD_ID&max-parts=MAX_NUM_PARTS&part-number-marker=PART_NUMBER HTTP/1.1 Host: BUCKET_NAME.storage.googleapis.com Date: DATE Content-Length: 0 Authorization: AUTHENTICATION_STRING
The request can return a variety of response headers depending on the request headers you use.
Response body elements
The following response body elements apply to GET Object requests that use the
uploadId query string parameter.
||Container for the part information you are requesting.|
||The name of the bucket that contains the requested multipart upload.|
||The name of the object the multipart upload was initiated for.|
||The upload ID of the requested multipart upload.|
||The storage class that parts in the multipart upload are stored as.|
||The part number after which the current listing begins.|
||The number of the last part returned in this listing. This is included
in the response only if the list is truncated. Use this value in the
||The maximum number of parts that were allowed in the response, as given
||Indicates whether or not there are parts for the upload that do not appear in the current results due to the response containing a maximum number of parts.|
||A container for each part of the multipart upload. A response
can contain zero or more
||The number that identifies the part.|
||The date and time when the part was uploaded.|
||The HTTP 1.1 entity tag that was returned when the part was uploaded.|
||Size of the part in bytes.|
The following sample lists the uploaded parts for an object named
in a bucket named
GET /paris.jpeg?uploadId=VXBsb2FkIElEIGZvciBlbHZpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA&max-parts=2 HTTP/1.1 Host: travel-maps.storage.googleapis.com Date: Wed, 24 Mar 2021 15:31:56 GMT Content-Length: 0 Authorization: Bearer ya29.AHES6ZRVmB7fkLtd1XTmq6mo0S1wqZZi3-Lh_s-6Uw7p8vtgSwg
HTTP/1.1 200 OK Content-Length: 764 Content-Type: application/xml Date: Wed, 24 Mar 2021 23:31:57 GMT Expires: Wed, 24 Mar 2021 23:31:57 GMT <?xml version="1.0" encoding="UTF-8"?> <ListPartsResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> <Bucket>travel-maps</Bucket> <Key>paris.jpg</Key> <UploadId>VXBsb2FkIElEIGZvciBlbHZpbmcncyBteS1tb3ZpZS5tMnRzIHVwbG9hZA</UploadId> <StorageClass>STANDARD</StorageClass> <PartNumberMarker>1</PartNumberMarker> <NextPartNumberMarker>5</NextPartNumberMarker> <MaxParts>2</MaxParts> <IsTruncated>true</IsTruncated> <Part> <PartNumber>2</PartNumber> <LastModified>2020-11-10T20:48:34.000Z</LastModified> <ETag>"7778aef83f66abc1fa1e8477f296d394"</ETag> <Size>10485760</Size> </Part> <Part> <PartNumber>5</PartNumber> <LastModified>2020-11-10T20:48:33.000Z</LastModified> <ETag>"aaaa18db4cc2f85cedef654fccc4a4x8"</ETag> <Size>10485760</Size> </Part> </ListPartsResult>