2013-07-31 09:33:26 +00:00
|
|
|
===============================
|
|
|
|
Rados Gateway S3 API Compliance
|
|
|
|
===============================
|
|
|
|
|
|
|
|
.. warning::
|
|
|
|
This document is a draft, it might not be accurate
|
|
|
|
|
|
|
|
----------------------
|
|
|
|
Naming code reference
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
Here comes a BNF definition on how to name a feature in the code for referencing purpose : ::
|
|
|
|
|
|
|
|
name ::= request_type "_" ( header | operation ) ( "_" header_option )?
|
|
|
|
|
|
|
|
request_type ::= "req" | "res"
|
|
|
|
|
|
|
|
header ::= string
|
|
|
|
|
|
|
|
operation ::= method resource
|
|
|
|
|
|
|
|
method ::= "GET" | "PUT" | "POST" | "DELETE" | "OPTIONS" | "HEAD"
|
|
|
|
|
|
|
|
resource ::= string
|
|
|
|
|
|
|
|
header_option ::= string
|
|
|
|
|
|
|
|
----------------------
|
|
|
|
Common Request Headers
|
|
|
|
----------------------
|
|
|
|
|
|
|
|
S3 Documentation reference : http://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html
|
|
|
|
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Header | Supported? | Code Links | Tests links |
|
|
|
|
+======================+============+=========================================================================================================+=============+
|
|
|
|
| Authorization | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1962 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L2051 | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Content-Length | Yes | | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Content-Type | Yes | | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Content-MD5 | Yes | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1249 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1306 | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Date | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_auth_s3.cc#L164 | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Expect | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest.cc#L1227 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L802 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/76040d90f7eb9f9921a3b8dcd0f821ac2cd9c492/src/rgw/rgw_main.cc#L372 | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Host | ? | | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| x-amz-date | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_auth_s3.cc#L169 | |
|
2017-03-16 03:02:19 +00:00
|
|
|
| | | should take precedence over DATE as mentioned here -> | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | http://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonRequestHeaders.html | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| x-amz-security-token | No | | |
|
|
|
|
+----------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
|
|
|
|
-----------------------
|
|
|
|
Common Response Headers
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
S3 Documentation reference : http://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html
|
|
|
|
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Header | Supported? | Code Links | Tests links |
|
|
|
|
+=====================+============+=========================================================================================================+=============+
|
|
|
|
| Content-Length | Yes | | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Connection | ? | | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Date | ? | | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| ETag | Yes | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1312 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1436 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L2222 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L118 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L268 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L516 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1336 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1486 | |
|
|
|
|
| | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1548 | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Server | No | | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| x-amz-delete-marker | No | | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| x-amz-id-2 | No | | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2015-09-09 20:07:23 +00:00
|
|
|
| x-amz-request-id | Yes | https://github.com/ceph/ceph/commit/b711e3124f8f73c17ebd19b38807a1b77f201e44 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| x-amz-version-id | No | | |
|
|
|
|
+---------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
|
|
|
|
-------------------------
|
|
|
|
Operations on the Service
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
S3 Documentation reference : http://docs.aws.amazon.com/AmazonS3/latest/API/RESTServiceOps.html
|
|
|
|
|
|
|
|
+------+-----------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Type | Operation | Supported? | Code links | Tests links |
|
|
|
|
+======+===========+============+=========================================================================================================+=============+
|
|
|
|
| GET | Service | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L2094 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1676 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L185 | |
|
|
|
|
+------+-----------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
|
|
|
|
---------------------
|
|
|
|
Operations on Buckets
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
S3 Documentation reference : http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketOps.html
|
|
|
|
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Type | Operation | Supported? | Code links | Tests links |
|
|
|
|
+========+========================+============+============================================================================================================+=============+
|
2013-08-12 08:58:21 +00:00
|
|
|
| DELETE | Bucket | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1728 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/e91042171939b6bf82a56a1015c5cae792d228ad/src/rgw/rgw_rest_bucket.cc#L250 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/e91042171939b6bf82a56a1015c5cae792d228ad/src/rgw/rgw_rest_bucket.cc#L212 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/25948319c4d256c4aeb0137eb88947e54d14cc79/src/rgw/rgw_bucket.cc#L856 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/25948319c4d256c4aeb0137eb88947e54d14cc79/src/rgw/rgw_bucket.cc#L513 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/25948319c4d256c4aeb0137eb88947e54d14cc79/src/rgw/rgw_bucket.cc#L286 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L461 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| DELETE | Bucket cors | ? | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1731 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1916 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| DELETE | Bucket lifecycle | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| DELETE | Bucket policy | ? | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| DELETE | Bucket tagging | ? | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| DELETE | Bucket website | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| GET | Bucket | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1676 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L185 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| GET | Bucket acl | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1697 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1728 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1344 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket cors | ? | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1698 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1845 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/76040d90f7eb9f9921a3b8dcd0f821ac2cd9c492/src/rgw/rgw_main.cc#L345 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket lifecycle | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| GET | Bucket location | No | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket policy | ? | https://github.com/ceph/ceph/blob/e91042171939b6bf82a56a1015c5cae792d228ad/src/rgw/rgw_rest_bucket.cc#L232 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/e91042171939b6bf82a56a1015c5cae792d228ad/src/rgw/rgw_rest_bucket.cc#L58 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket logging | ? | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1695 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L287 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket notification | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket tagging | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket Object versions | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket requestPayment | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2018-09-18 03:19:18 +00:00
|
|
|
| GET | Bucket versioning | No | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Bucket website | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| GET | List Multipart uploads | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1701 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest.cc#L877 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L2355 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L2363 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| HEAD | Bucket | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1713 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1689 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L826 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L834 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Bucket | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1725 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L382 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L437 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L901 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L945 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Bucket acl | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1721 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1354 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1373 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1739 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1753 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| PUT | Bucket cors | ? | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1723 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1398 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1858 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1866 | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| PUT | Bucket lifecycle | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| PUT | Bucket policy | ? | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| PUT | Bucket logging | ? | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Bucket notification | No | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| PUT | Bucket tagging | ? | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| PUT | Bucket requestPayment | No | | |
|
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2018-09-18 03:19:18 +00:00
|
|
|
| PUT | Bucket versioning | No | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
2016-12-21 06:54:40 +00:00
|
|
|
| PUT | Bucket website | No | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+--------+------------------------+------------+------------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
|
|
|
|
---------------------
|
|
|
|
Operations on Objects
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
S3 Documentation reference : http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectOps.html
|
|
|
|
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| Type | Operation | Supported? | Code links | Tests links |
|
|
|
|
+=========+===========================+============+=========================================================================================================+=============+
|
|
|
|
| DELETE | Object | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1796 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1516 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1524 | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| DELETE | Multiple objects | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1739 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1616 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1626 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1641 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1667 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1516 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1524 | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| GET | Object | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1767 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L71 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L397 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L424 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L497 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L562 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L626 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L641 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L706 | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| GET | Object acl | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| GET | Object torrent | No | | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| HEAD | Object | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1777 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L71 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L397 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L424 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L497 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L562 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L626 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L641 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L706 | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| OPTIONS | Object | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1814 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1418 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1951 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1968 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1993 | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| POST | Object | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1742 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L631 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L694 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L700 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L707 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L759 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L771 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L781 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L795 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L929 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1037 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1059 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1134 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1344 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1360 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1365 | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| POST | Object restore | ? | | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2020-10-27 11:40:25 +00:00
|
|
|
| PUT | Object | Yes | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L481 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L493 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L507 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/8a2eb18494005aa968b71f18121da8ebab48e950/src/rgw/rgw_rest_s3.cc#L1786 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1119 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1217 | |
|
|
|
|
| | | | https://github.com/ceph/ceph/blob/b139a7cd34b4e203ab164ada7a8fa590b50d8b13/src/rgw/rgw_op.cc#L1222 | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Object acl | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Object copy | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2021-12-08 11:43:27 +00:00
|
|
|
| PUT | Initiate multipart upload | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Upload Part | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
|
|
|
| PUT | Upload Part copy | ? | | |
|
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Complete multipart upload | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | Abort multipart upload | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|
2013-08-12 08:58:21 +00:00
|
|
|
| PUT | List parts | Yes | | |
|
2013-07-31 09:33:26 +00:00
|
|
|
+---------+---------------------------+------------+---------------------------------------------------------------------------------------------------------+-------------+
|