Description

Retrieves the current amount of storage currently being used on the site in bytes.

URL

All responses are in JSON format by default, to specify an XML response add ".xml" to the end of the method name (in this case "current_storage_used").

https://<yoursubdomain>.filetransfers.net/api/current_storage_used

Restrictions

The calling user must have:

  • A valid API Key and Secret.

Parameters

Bold indicates required. Please note this method does not require an API Key, timestamp or signature.

ParameterDescription
api_key Your API Key.
timestamp The current time in Unix timestamp format.
signature Please see "User Authentication" for more information.

Sample Response

Successful response In JSON:

{"currentStorage": "1256799"}

Successful response in XML:

<currentStorage>1256799</currentStorage>

Error response In JSON:

{"error":{"title":"Invalid Username or Password","message":"This user cannot be found on this site."}}

Error response In XML:

<error>
	<title>Invalid Username or Password</title>
 	<message>This user cannot be found on this site.</message>
</error>

Want more info? Visit our Documents Library page to
get more in-depth info, like our Terms and Conditions.

GO
FileGenius Basic vs. Total
Compare Us - See How We Stack Up