Querying bucket quotas via REST API

You can display the current quotas per bucket with the ostor-quotas service and parameter bucket specifying the bucket name:

# s3_curl GET "http://s3.example.com/?ostor-quotas&bucket=bucket1"
{
    "version": "1",
    "type": "1",
    "size": "256"
}