The "du" action (NS4)

You can use the "du" action to return disk usage information for a specified directory in an ObjectStore (NS4) storage group.

The usage information returned, includes the targeted directory as well as all files stored in any sub-directories that may exist.

GET /[CP Code]/[path] HTTP/1.1 
Host: [Domain Prefix] 
X-Akamai-ACS-Action: version=1&action=du&format=xml 
[Signature Header 1]
[Signature Header 2]

Required variables

Variable values are as follows:

  • [CP code]: The unique CP code that represents the root directory in the applicable NetStorage Storage Group.
  • [path]: If applicable, any additional sub-directories that exist within the path to the desired file/symbolic link.
Note: If the specified object does not exist, an HTTP 404 “Not Found” error is returned.
  • [Domain Prefix]: This is the unique domain prefix set up for the storage group during its creation. It can be viewed in the NetStorage Groups UI in Control Center.
  • [Signature Header 1] and [Signature Header 2]: Applicable signature headers.