The body of the HTTP response consists of XML that lists the contents of the requested directory, including metadata for the objects the directory contains. It lists only the immediate directory contents, not the contents of any subdirectories.
The XML for the list has this format:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/static/xsl/directory.xsl"?>
<directory xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="/static/xsd/directory.xsd"
path="directory-path"
utf8Path="utf8-directory-path"
parentDir="directory-path"
utf8ParentDir="utf8-directory-path"
dirDeleted="true|false"
showDeleted="true|false"
namespaceName="namespace-name"
utf8NamespaceName="utf8-namespace-name">
changeTimeMilliseconds="change-milliseconds-after-1/1/1970.unique-integer
changeTimeString="yyyy-MM-ddThh:mm:ssZ"
<!-- Format for a subdirectory -->
<entry urlName="directory-name"
utf8Name="utf8-directory-name"
type="directory"
changeTimeMilliseconds="change-milliseconds-after-1/1/1970.unique-integer
changeTimeString="yyyy-MM-ddThh:mm:ssZ"
state="created|deleted"
/>
<!-- Format for a symbolic link -->
<entry urlName="symbolic-link-name"
utf8Name="utf8-symbolic-link-name"
type="symlink"
symlinkTarget="path-to-target"
utf8SymlinkTarget="utf8-path-to-target"
state="created|deleted"
/>
<!-- Format for an object -->
<entry urlName="object-name"
utf8Name="utf8-object-name"
type="object"
size="object-size-in-bytes"
etag="etag"
hashScheme="hash-algorithm"
hash="hash-value"
retention="(retention-seconds-after-1/1/1970|0|-1|-2)"
retentionString="(retention-datetime-value|Deletion Allowed|
Deletion Prohibited|Initial Unspecified)"
retentionClass="[retention-class-name]"
ingestTime="ingest-seconds-after-1/1/1970"
ingestTimeString="MM/dd/yyyyhh:mm(AM|PM)"
hold="true|false"
shred="true|false"
dpl="data-protection-level"
index="true|false"
customMetadata="true|false"
customMetadataAnnotations="semicolon-delimited list of annotations"
version="version-number"
replicated="true|false"
changeTimeMilliseconds="change-milliseconds-after-1/1/1970.unique-integer"
changeTimeString="yyyy-MM-ddThh:mm:ssZ"
owner="[username|nobody]"
domain="[active-directory-domain]"
hasAcl="true|false"
state="created|deleted"
/>
</directory>
In this format:
•The hashScheme and hash attributes are not returned for multipart objects.
•The ingestTimeString and retentionString values are in the time zone of the HCP system. For example, if the repository is in Boston, Massachusetts and the ingestTime is 1330626356 (which corresponds to 3/1/2012 18:25:56 UTC), the ingestTimeString value is 3/1/2012 2:25PM.
•The changeTimeString value is in ISO 8601 format, which is the time in the time zone of the HCP system followed by the hour and minute offset between local time and UTC.
© 2015, 2020 Hitachi Vantara LLC. All rights reserved.