]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
doc/rgw: document CreateBucketConfiguration for s3 PUT Bucket api
authorCasey Bodley <cbodley@redhat.com>
Mon, 6 May 2019 13:33:05 +0000 (09:33 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 6 May 2019 13:33:07 +0000 (09:33 -0400)
Fixes: http://tracker.ceph.com/issues/39597
Signed-off-by: Casey Bodley <cbodley@redhat.com>
doc/radosgw/placement.rst
doc/radosgw/s3/bucketops.rst

index bd164daf8de884d377a0e0709ef79b95b0ebb970..208ecad979c8e8c5b3e9c1dfadd80f085d67b266 100644 (file)
@@ -195,6 +195,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 51b613ae111bc18818dee83842b80f5f8e022942..01e5eb4bfdd7c49bd5f33175a78496c02f6043fa 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