]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Add usage doc for individual bucket quota Admin API 20885/head
authorJeegn Chen <jeegnchen@gmail.com>
Thu, 4 Jan 2018 07:59:00 +0000 (07:59 +0000)
committerNing Yao <yaoning@unitedstack.com>
Wed, 4 Apr 2018 13:23:18 +0000 (21:23 +0800)
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 <jeegnchen@gmail.com>
(cherry picked from commit 0cbd26e88de3c9c71c1ca4532308502f3a8c7ff8)

doc/radosgw/adminops.rst

index 422dd16527a446264c2cbbad123d792b4b2d9f6e..5da13a8b944a883a128f92b61344863d3921a2c0 100644 (file)
@@ -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=<uid>&bucket=<bucket-name>&quota
+
+The content must include a JSON representation of the quota settings
+as mentioned in Set Bucket Quota section above.
+
 
 
 Standard Error Responses