From: Jeegn Chen Date: Thu, 4 Jan 2018 07:59:00 +0000 (+0000) Subject: doc: Add usage doc for individual bucket quota Admin API X-Git-Tag: v13.0.2~647^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F18324%2Fhead;p=ceph.git doc: Add usage doc for individual bucket quota Admin API Add usage doc for a new Admin API for individual bucket quota management Fixes: http://tracker.ceph.com/issues/21811 Signed-off-by: Jeegn Chen --- diff --git a/doc/radosgw/adminops.rst b/doc/radosgw/adminops.rst index 6422cf8401502..336184333bdaf 100644 --- a/doc/radosgw/adminops.rst +++ b/doc/radosgw/adminops.rst @@ -1913,6 +1913,17 @@ The content must include a JSON representation of the quota settings as encoded in the corresponding read operation. +Set Quota for an Individual Bucket +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +To set a quota, the user must have ``buckets`` capability set with ``write`` +permission. :: + + PUT /admin/bucket?quota&uid=&bucket="a + +The content must include a JSON representation of the quota settings +as mentioned in Set Bucket Quota section above. + Standard Error Responses