On Mon, Apr 7, 2014 at 4:34 PM, Derek Yarnell <de...@umiacs.umd.edu> wrote: > Hi, > > Most likely Yehuda can speak to this. So there is some documentation on > the way to set quotas for a user in master (src/rgw/rgw_rest_user.cc > line 712) but these are not in the docs it seems yet. I have started to > incorporate them but I don't see anything as an example for how to > document the JSON body. Is there a convention that I should try to follow?
The geo-replication related api has some requests with JSON body: http://wiki.ceph.com/Development/RESTful_API_for_DR_%2F%2F_Geo-Replication > > Second question relates to the bucket quotas. In the example above > these are set via the uid=$uid and quota-type parameters. This means > that this applies to all buckets the user owns I would expect (since I > am not required to give a bucket name). Is the current design that a > bucket can't have a independent quota? > Buckets can have independent quota, it just cannot be set using this specific api (which is used to control user info hence the api entry point there is /admin/user). The bucket specific quota can be set either through radosgw-admin, or by using the metadata api. Yehuda _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com