From 15f89a15b6b0038e62b2732791b9420153717fbe Mon Sep 17 00:00:00 2001 From: Jeegn Chen Date: Thu, 4 Jan 2018 07:59:00 +0000 Subject: [PATCH] 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) --- doc/radosgw/adminops.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/radosgw/adminops.rst b/doc/radosgw/adminops.rst index 422dd16527a4..5da13a8b944a 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 -- 2.47.3