• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Objects
  5. List Parts
  6. Examples

Examples

Sample Request

GET /example-object?uploadId=XXBsb2FkIElEIGZvciBlbHZpbmcncyVcdS1tb3ZpZS5tMnRzEEEwbG9hZA&max-parts=2&part-number-marker=1 HTTP/1.1 
 User-Agent: Jakarta Commons-HttpClient/3.1
 Host: bucketname.obs.example.com
 Accept: */*
 Date: Mon, 1 Nov 2010 20:34:56 GMT 
 Authorization: AWS AKIAIOSFODNN7EXAMPLE:0RQf4/cRonhpaBX5sCYVf1bNRuU=

Sample Response

HTTP/1.1 200 OK 
 x-amz-id-2: Uuag1LuByRx9e6j5Onimru9pO4ZVKnJ2Qz7/C1NPcfTWAtRPfTaOFg== 
 x-amz-request-id: 656c76696e6727732072657175657374 
 x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc 
 Content-Type: application/xml
 Date: Mon, 1 Nov 2010 20:34:56 GMT 
 Content-Length: 985 
 Connection: keep-alive 
 Server: OBS 

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
 <ListPartsResult xmlns="http://obs.example.com/doc/2015-06-30/"> 
 <Bucket>example-bucket</Bucket> 
 <Key>example-object</Key> 
 <UploadId>XXBsb2FkIElEIGZvciBlbHZpbmcncyVcdS1tb3ZpZS5tMnRzEEEwbG9hZA</UploadId> 
 <Initiator> 
 <ID> 11116a31-17b5-4fb7-9df5-b288870f11xx</ID>  
 <DisplayName>umat-user-11116a31-17b5-4fb7-9df5-b288870f11xx</DisplayName> 
 </Initiator> 
 <Owner> 
 <ID>75aa57f09aa0c8caeab4f8c24e99d10f8e7faeebf76c078efc7c6caea54ba06a</ID> 
 <DisplayName>someName</DisplayName> 
 </Owner> 
 <StorageClass>STANDARD</StorageClass> 
 <PartNumberMarker>1</PartNumberMarker> 
 <NextPartNumberMarker>3</NextPartNumberMarker> 
 <MaxParts>2</MaxParts> 
 <IsTruncated>true</IsTruncated> 
 <Part> 
 <PartNumber>2</PartNumber> 
 <LastModified>2010-11-10T20:48:34.000Z</LastModified> 
 <ETag>"7778aef83f66abc1fa1e8477f296d394"</ETag> 
 <Size>10485760</Size> 
 </Part> 
 <Part> 
 <PartNumber>3</PartNumber> 
 <LastModified>2010-11-10T20:48:33.000Z</LastModified> 
 <ETag>"aaaa18db4cc2f85cedef654fccc4a4x8"</ETag> 
 <Size>10485760</Size> 
 </Part> 
 </ListPartsResult>