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)
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>"a
+
+The content must include a JSON representation of the quota settings
+as mentioned in Set Bucket Quota section above.
+
Standard Error Responses