Querying user quotas via REST API

You can display the current quotas per user with the ostor-quotas service and parameter emailAddress specifying the email address:

# s3_curl GET "http://s3.example.com/?ostor-quotas&emailAddress=user@example.com"
{
    "version": "1",
    "type": "0",
    "size": "1024"
}