]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rgw: document CreateBucketConfiguration for s3 PUT Bucket api 31647/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 6 May 2019 13:33:05 +0000 (09:33 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 14 Nov 2019 18:18:23 +0000 (19:18 +0100)
Fixes: http://tracker.ceph.com/issues/39597
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit e97668bb7a1333850a5791ae16b97496851ac854)

doc/radosgw/placement.rst
doc/radosgw/s3/bucketops.rst

index ce9ecbc2e084dcb3b15f3f122c6832d2ec106f3c..5878eb207e8ba441dc597b2fd236a1e6e7088c50 100644 (file)
@@ -147,6 +147,8 @@ format must be edited manually:
   $ vi user.json
   $ radosgw-admin metadata put user:<user-id> < user.json
 
+.. _s3_bucket_placement:
+
 S3 Bucket Placement
 -------------------
 
index ed1f2a4f6c7d9ff4aaab360445098cc28d9ff209..16bd8fb1c7dd56493bd19afb433ab78cda055fea 100644 (file)
@@ -7,8 +7,6 @@ PUT Bucket
 Creates a new bucket. To create a bucket, you must have a user ID and a valid AWS Access Key ID to authenticate requests. You may not
 create buckets as an anonymous user.
 
-.. note:: We do not support request entities for ``PUT /{bucket}`` in this release.
-
 Constraints
 ~~~~~~~~~~~
 In general, bucket names should follow domain name constraints.
@@ -37,6 +35,16 @@ Parameters
 | ``x-amz-acl`` | Canned ACLs.         | ``private``, ``public-read``, ``public-read-write``, ``authenticated-read`` | No         |
 +---------------+----------------------+-----------------------------------------------------------------------------+------------+
 
+Request Entities
+~~~~~~~~~~~~~~~~
+
++-------------------------------+-----------+----------------------------------------------------------------+
+| Name                          | Type      | Description                                                    |
++===============================+===========+================================================================+
+| ``CreateBucketConfiguration`` | Container | A container for the bucket configuration.                      |
++-------------------------------+-----------+----------------------------------------------------------------+
+| ``LocationConstraint``        | String    | A zonegroup api name, with optional :ref:`s3_bucket_placement` |
++-------------------------------+-----------+----------------------------------------------------------------+
 
 
 HTTP Response