![]() |
Spectra Logic |
1-800-833-1132 : 1-303-449-6400 |
Returns a list of the objects contained in a bucket. Use parameters as selection criteria to return a list of a subset of the objects. This is an Amazon S3 compatible operation. The parameter max-keys is set by default, so paging is required to get the full list.GET http[s]://{datapathDNSname}/{bucket_name}[?delimiter={string}][&marker={string}][&max-keys={integer}][&prefix={string}]
<ListBucketResult>
<CommonPrefixes>
<Prefix>{string}</Prefix>
</CommonPrefixes>
...
<Contents>
<ETag>"{string}"</ETag>
<Key>{string}</Key>
<LastModified>{YYYY-MM-DDThh:mm:ss.xxxZ}</LastModified>
<Owner>
<DisplayName>{string}</DisplayName>
<ID>{string}</ID>
</Owner>
<Size>{64‑bit integer}</Size>
<StorageClass>{string}</StorageClass>
</Contents>
...
<CreationDate>{YYYY-MM-DDThh:mm:ss.xxxZ}</CreationDate>
<Delimiter>{string}</Delimiter>
<IsTruncated>TRUE|FALSE</IsTruncated>
<Marker>{string}</Marker>
<MaxKeys>{integer}</MaxKeys>
<Name>{string}</Name>
<NextMarker>{string}</NextMarker>
<Prefix>{string}</Prefix>
</ListBucketResult>
If a delimiter is specified, CommonPrefixes contains the portion of an object’s name between the prefix and the next occurrence of the delimiter. The last date and time the object was modified in the format YYYY-MM-DDThh:mm:ss.xxxZ. If this attribute is null, then the object has not yet been completely received into cache. The date and time the bucket was created in the format YYYY-MM-DDThh:mm:ss.xxxZ. Specifies whether the results were truncated (TRUE) or not (FALSE) due to the number of results exceeding MaxKeys. Values: TRUE, FALSE The object name where the bucket listing begins. Marker is included in the response if it was specified in the request. If the delimiter parameter was specified, and IsTruncated is TRUE, then NextMarker indicates the object name to use in the marker field in the next request to get the next set of objects.GET http://blackpearl-hostname/bucket1?delimiter=/ HTTP/1.1