Querying default quotas via REST API

You can display the current 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": "0",
    "size": "1024"
}
# s3_curl GET "http://s3.example.com/?ostor-quotas&default=bucket"
{
    "version": "1",
    "type": "1",
    "size": "256"
}