DataStorage
The following operations are supported. For a formal definition, please review the Service Description.
-
AddFile
Enables you to add files into the datastorage -
ChangeFolderName
Enables you to change folder name -
GetFilesByFolderId
Retrieves files in specific folder -
GetFoldersBySubdomain
Retrieves folder(albums) on website by subdomain, e.g. john.babyworld.net, then john is the subdomain -
GetFoldersByUser
Retrieves folder(albums) by user -
GetFoldersByWebsiteId
Retrieves folder(albums) on website by websiteId, e.g. babyworld.net/baby/123, then 123 is the websiteId -
GetLatestFiles
Retrieves latest X files from user, max 300 files -
GetLatestFilesOnWebsite
Retrieves latest X files from website, max 300 files -
GetTotalCapacity
Returns the total space in kilobytes this userToken has paid for. -
GetUsedSpace
Returns the used space in kilobytes that this user has left. Return 0 if the user isn't using any space. -
NewFolder
Enables you to create a new Folder