==================== S3 API Compatibility ==================== .. default-domain:: minio .. contents:: Table of Contents :local: :depth: 2 This page documents S3 APIs supported by MinIO Object Storage. For reference documentation on any given API, see the corresponding documentation for Amazon S3. .. important:: MinIO strongly recommends using an :ref:`S3-Compatible SDK ` for performing object storage operations. Object APIs ----------- - :s3-api:`CopyObject ` - :s3-api:`DeleteObject ` - :s3-api:`DeleteObjects ` - :s3-api:`DeleteObjectTagging ` - :s3-api:`GetObject ` - :s3-api:`GetObjectAttributes ` - :s3-api:`GetObjectTagging ` - :s3-api:`HeadObject ` - :s3-api:`ListObjects ` - :s3-api:`ListObjectsV2 ` - :s3-api:`ListObjectVersions ` - :s3-api:`PutObject ` - :s3-api:`PutObjectTagging ` - :s3-api:`RestoreObject ` - :s3-api:`SelectObjectContent ` Object Locking ~~~~~~~~~~~~~~ - :s3-api:`GetObjectRetention ` - :s3-api:`PutObjectRetention ` - :s3-api:`GetObjectLegalHold ` - :s3-api:`PutObjectLegalHold ` - :s3-api:`GetObjectLockConfiguration ` - :s3-api:`PutObjectLockConfiguration ` Unsupported API Object Endpoints ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: text GetObjectAcl PutObjectAcl Multipart Uploads ~~~~~~~~~~~~~~~~~ - :s3-api:`AbortMultipartUpload ` - :s3-api:`CompleteMultipartUpload ` - :s3-api:`CreateMultipartUpload ` - :s3-api:`ListMultipartUploads ` - :s3-api:`ListParts ` - :s3-api:`UploadPart ` - :s3-api:`UploadPartCopy ` Differences from S3 APIs for Multipart Uploads ++++++++++++++++++++++++++++++++++++++++++++++ - ``ListMultipartUploads`` requires the exact object name as a prefix. - The ``AbortIncompleteMultipartUpload`` lifecycle action is not supported with ``PutBucketLifecycle``. Bucket APIs ----------- - :s3-api:`CreateBucket ` - :s3-api:`DeleteBucket ` - :s3-api:`DeleteBucketEncryption ` - :s3-api:`DeleteBucketTagging ` - :s3-api:`GetBucketEncryption ` - :s3-api:`GetBucketLocation ` - :s3-api:`GetBucketTagging ` - :s3-api:`GetBucketVersioning ` - :s3-api:`HeadBucket ` - :s3-api:`ListBuckets ` - :s3-api:`ListDirectoryBuckets ` - :s3-api:`PutBucketEncryption ` - :s3-api:`PutBucketTagging ` - :s3-api:`PutBucketVersioning ` Bucket Replication ~~~~~~~~~~~~~~~~~~ - :s3-api:`GetBucketReplication ` - :s3-api:`PutBucketReplication ` - :s3-api:`DeleteBucketReplication ` Bucket Lifecycle ~~~~~~~~~~~~~~~~ - :s3-api:`GetBucketLifecycle ` - :s3-api:`GetBucketLifecycleConfiguration ` - :s3-api:`PutBucketLifecycle ` - :s3-api:`PutBucketLifecycleConfiguration ` - :s3-api:`DeleteBucketLifecycle ` Bucket Notifications ~~~~~~~~~~~~~~~~~~~~ - :s3-api:`GetBucketNotification ` - :s3-api:`GetBucketNotificationConfiguration ` - :s3-api:`PutBucketNotification ` - :s3-api:`PutBucketNotificationConfiguration ` Bucket Policies ~~~~~~~~~~~~~~~ - :s3-api:`GetBucketPolicy ` - :s3-api:`GetBucketPolicyStatus ` - :s3-api:`PutBucketPolicy ` - :s3-api:`DeleteBucketPolicy ` Unsupported API Bucket Operations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code-block:: text GetBucketInventoryConfiguration PutBucketInventoryConfiguration DeleteBucketInventoryConfiguration PutBucketCors DeleteBucketCors GetBucketMetricsConfiguration PutBucketMetricsConfiguration DeleteBucketMetricsConfiguration PutBucketWebsite GetBucketLogging PutBucketLogging PutBucketAccelerateConfiguration DeleteBucketAccelerateConfiguration PutBucketRequestPayment DeleteBucketRequestPayment PutBucketAcl HeadBucketAcl GetPublicAccessBlock PutPublicAccessBlock DeletePublicAccessBlock GetBucketOwnershipControls PutBucketOwnershipControls DeleteBucketOwnershipControls GetBucketIntelligentTieringConfiguration PutBucketIntelligentTieringConfiguration ListBucketIntelligentTieringConfigurations DeleteBucketIntelligentTieringConfiguration GetBucketAnalyticsConfiguration PutBucketAnalyticsConfiguration ListBucketAnalyticsConfigurations DeleteBucketAnalyticsConfiguration CreateSession MinIO alternatives for unsupported Bucket resources ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - For calls to ``BucketACL`` or ``ObjectACL`` operations, use :ref:`Policies `. - Calls to ``BucketCORS`` operations are not needed because CORS is enabled by default on all buckets for all HTTP verbs. - For calls to ``BucketWebsite`` operations, use ``caddy`` or ``nginx``. - For calls to ``BucketAnalytics``, ``BucketMetrics``, or ``BucketLogging`` operations, use :ref:`Bucket Notifications `.