Querying default quotas via REST API

You can display the default quotas for all users or buckets with the ostor-quotas service and the following parameters: default specifying user for users or bucket for buckets:

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