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: v12.2.5~46^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=15f89a15b6b0038e62b2732791b9420153717fbe;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 (cherry picked from commit 0cbd26e88de3c9c71c1ca4532308502f3a8c7ff8) --- diff --git a/doc/radosgw/adminops.rst b/doc/radosgw/adminops.rst index 422dd16527a44..5da13a8b944a8 100644 --- a/doc/radosgw/adminops.rst +++ b/doc/radosgw/adminops.rst @@ -1909,6 +1909,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