Listing directory contents request contents

The GET request to list a directory contents has these elements:

If you’re accessing the namespace as an authenticated user, an Authorization header

The URL of the directory

Listing deleted objects and directories

By default, a directory list does not include deleted objects or directories. If the namespace supports versioning, you can include deleted objects and directories in the list. To do this, specify this URL query parameter:

deleted=true

You can also specify deleted=false, which results in the default behavior.

Also specify the deleted=true parameter to list the contents of a deleted directory (which can contain only deleted objects and directories).

Managing subdirectory change times

By default, the change time returned for each subdirectory in a directory list is the time the subdirectory was created or, if the subdirectory is a deleted directory, the time it was deleted. You can choose instead to return change times that are the most recent of:

The time the subdirectory was created

The time the subdirectory was deleted

The time an object was most recently added to the subdirectory

The time an object was most recently deleted from the subdirectory

To do this, specify this URL query parameter:

mostRecentDirTimes=true

You can also specify mostRecentDirTimes=false, which results in the default behavior.

Trademark and LegalDisclaimer

© 2015 Hitachi Data Systems Corporation. All rights reserved.