From 0cbd26e88de3c9c71c1ca4532308502f3a8c7ff8 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 --- doc/radosgw/adminops.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/radosgw/adminops.rst b/doc/radosgw/adminops.rst index 6422cf84015..336184333bd 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 -- 2.39.5