]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Add usage doc for individual bucket quota Admin API 18324/head
authorJeegn Chen <jeegnchen@gmail.com>
Thu, 4 Jan 2018 07:59:00 +0000 (07:59 +0000)
committerJeegn Chen <jeegnchen@gmail.com>
Fri, 5 Jan 2018 01:48:51 +0000 (01:48 +0000)
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>
doc/radosgw/adminops.rst

index 6422cf8401502e24efe669b615c89afd638e2d3a..336184333bdaf370e9e673c3ad43ad7ce2c56033 100644 (file)
@@ -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=<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