Request contents (GET ACL for object and versions)

The GET request to retrieve an ACL has these elements:

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

The URL of the object

A type=acl URL query parameter

The GET request can also specify an HTTP Accept header with one of these values:

To retrieve the ACL in XML format, application/xml

To retrieve the ACL in JSON format, application/json

The default is application/xml.

Retrieving an ACL for a specific version

Normally, an ACL applies to all versions of an object. One exception exists: if, while versioning is enabled, an object is deleted and then restored, the current version does not inherit the ACL from the previous version. To retrieve an ACL for a specific version of an object, specify this optional URL query parameter:

version=version-id

If you omit the version parameter, HCP retrieves the ACL for the current version of the object.

For more information on restoring a deleted object, see Deleting objects with versioning enabled.

Retrieving an ACL in compressed format

To request that HCP return an ACL in gzip-compressed format, use an Accept-Encoding header containing the value gzip or *. The header can specify additional compression algorithms, but HCP uses gzip only.

Trademarks and Legal Disclaimer

© 2017 Hitachi Data Systems Corporation. All rights reserved.