Account Details

To see how many containers you have in your account (X-Account-Container-Count), how many objects are in your account (X-Account-Object-Count), and how many total bytes your account uses (X-Account-Bytes-Used):

Setup

$account = $service->getAccount();

View all details

$details = $account->getDetails();

Retrieve total container count

$account->getContainerCount();

Get the executable PHP script for this example

Retrieve total object count

$account->getObjectCount();

Get the executable PHP script for this example

Retrieve total bytes used

$account->getBytesUsed();

Get the executable PHP script for this example