getFileByIdentifier


SoftLayer_Network_Storage::getFileByIdentifier

Retrieve an individual file’s details.

Description

{{CloudLayerOnlyMethod}} Retrieve details such as id, name, size, create date of a file within a Storage account. This does not download file content.

Parameters

Name Type Description
identifier string The id or guid of the file you wish to retrieve.

Required Headers

Optional Headers

  • None

Return Values

Error Handling

  • Throw the exception “Not yet implemented for this Storage type.” if the Storage type is not supported.

Associated Methods

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Storage/{SoftLayer_Network_StorageID}/getFileByIdentifier'