In response to a request to list the current (or only) versions of objects in a bucket, HCP returns an XML response body, in this format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>bucket-name</Name>
<Prefix>prefix</Prefix>
<Marker>marker</Marker>
<MaxKeys>maximum-items-to-list</MaxKeys>
<Delimiter>delimiter</Delimiter>
<IsTruncated>true|false</IsTruncated>
Format for an item:
<Contents>
<Key>item-name</Key>
<LastModified>date-and-time-last-modified</LastModified>
<ETag>"etag"</ETag>
<Size>size-in-bytes</Size>
<Owner>
<ID>owner-user-id</ID>
<DisplayName>owner-username</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
Format for a common prefix:
<CommonPrefixes>
<Prefix>common-prefix</Prefix>
</CommonPrefixes>
</ListBucketResult>
© 2015 Hitachi Data Systems Corporation. All rights reserved.