Returns a directory list


This method returns an array of [[SoftLayer_Container_Network_Directory_Listing|Directory Listing]] objects. You must have CDN_FILE_MANAGE privilege and you can only retrieve directory information within /media directory. A [[SoftLayer_Container_Network_Directory_Listing|Directory Listing]] object contains type (indicating whether it is a file or a directory), name and file count if it is a directory.


Name Type Description
directoryName string directory name

Required Headers

  • authenticate
  • SoftLayer_Network_ContentDelivery_AccountInitParameters

Return Values

Error Handling

  • SoftLayer_Exception_Public

Throws an exception if a user does not have CDN_FILE_MANAGE privilege.

  • SoftLayer_Exception_Public

Throws an exception if a directory is not in /media folder.