Get disk usage information

Last update: 2023-06-30
  • Created for:
  • Intermediate

You can use the disk_info parameter to retrieve information about a company’s disk space usage, as shown in the following example:

A sample response looks like the following:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
            <serviceName>User Generated Content - Images</serviceName>
            <title>Disk Information for d03b7e0b-c9dc-4c6c-af0b-419beeea1c63</title>
            <message>Total Space available = 1395402342400 bytes. Total Space used = 0 bytes.</message>

You can use the following fields in the URL query string to get disk usage information:

URL parameter Required/optional Value
op Required disk_info
shared_secret Required The shared-secret key for the company

The following sample code gets disk information for 000Company:

On this page