This topic describes the API operations available in Object Storage Service (OSS).

Service operation

Operation Description
GetService (ListBuckets) Queries all buckets that are owned by the requester.

Region operation

Operation Description
DescribeRegions Queries the endpoints of all supported regions or the endpoint of a specific region.

Bucket operations

Category Operation Description
Basic operations PutBucket Creates a bucket.
DeleteBucket Deletes a bucket.
GetBucket(ListObject) Queries the information about all objects in a bucket.
GetBucketV2 (ListObjectsV2)
GetBucketInfo Queries bucket information.
GetBucketLocation Queries the region where a bucket resides.
GetBucketStat Queries the storage capacity of a bucket and the number of objects in the bucket.
Retention policy InitiateBucketWorm Creates a retention policy.
AbortBucketWorm Deletes an unlocked retention policy.
CompleteBucketWorm Locks a retention policy.
ExtendBucketWorm Extends the retention period (days) of objects in a bucket for which a retention policy is locked.
GetBucketWorm Queries the retention policies that are configured for a bucket.
Access control list (ACL) PutBucketAcl Configures the ACL for a bucket.
GetBucketAcl Queries the ACL of a bucket.
Lifecycle PutBucketLifecycle Configures a lifecycle rule for objects in a bucket.
GetBucketLifecycle Queries the lifecycle rules that are configured for objects in a bucket.
DeleteBucketLifecycle Deletes the lifecycle rules that are configured for objects in a bucket.
Transfer acceleration PutBucketTransferAcceleration Configures transfer acceleration for a bucket.
GetBucketTransferAcceleration Queries the transfer acceleration configurations of a bucket.
Versioning PutBucketVersioning Configures versioning for a bucket.
GetBucketVersioning Queries the versioning state of a bucket.
GetBucketVersions(ListObjectVersions) Queries the versions of all objects in a bucket.
Data replication PutBucketReplication Configures a data replication rule for a bucket.
PutBucketRTC Enables or disables the Replication Time Control (RTC) feature for existing cross-region replication (CRR) rules.
GetBucketReplication Queries the data replication rules that are configured for a bucket.
GetBucketReplicationLocation Queries the regions where available destination buckets reside.
GetBucketReplicationProgress Queries the data replication progress of a bucket.
DeleteBucketReplication Stops the data replication tasks of a bucket and deletes the data replication configurations of the bucket.
Bucket policy PutBucketPolicy Configures a bucket policy.
GetBucketPolicy Queries the policies that are configured for a bucket.
DeleteBucketPolicy Deletes a bucket policy.
Inventory PutBucketInventory Configures inventories for a bucket.
GetBucketInventory Queries specific inventories that are configured for a bucket.
ListBucketInventory Queries all inventories that are configured for a bucket.
DeleteBucketInventory Deletes a specified inventory configured for a bucket.
Logging PutBucketLogging Enables logging for a bucket.
GetBucketLogging Queries the logging configurations of a bucket.
DeleteBucketLogging Disables the logging feature for a bucket.
Static website hosting PutBucketWebsite Enables static website hosting for a bucket.
GetBucketWebsite Queries the state of static website hosting for a bucket.
DeleteBucketWebsite Disables static website hosting for a bucket.
Hotlink protection PutBucketReferer Configures hotlink protection for a bucket.
GetBucketReferer Queries the hotlink protection information about a bucket.
Tags PutBucketTags Adds tags to or modifies the tags of a bucket.
GetBucketTags Queries the tags of a bucket.
DeleteBucketTags Deletes the tags of a bucket.
Encryption PutBucketEncryption Configures encryption rules for a bucket.
GetBucketEncryption Queries the encryption rules that are configured for a bucket.
DeleteBucketEncryption Deletes the encryption rules that are configured for a bucket.
Pay-by-requester PutBucketRequestPayment Enables pay-by-requester for a bucket.
GetBucketRequestPayment Queries the pay-by-requester configurations of a bucket.
Cross-origin resource sharing (CORS) PutBucketCors Configures CORS rules for a bucket.
GetBucketCors Queries the CORS rules that are configured for a bucket.
DeleteBucketCors Disables the CORS feature for a bucket and deletes all CORS rules.
Options Before a cross-origin request is sent, the browser sends a preflight (OPTIONS) request that includes a specific origin, HTTP method, and header information to OSS to determine whether to send the cross-origin request.
Access tracking PutBucketAccessMonitor Configures access tracking for a bucket.
GetBucketAccessMonitor Queries the access tracking state of a bucket.
Data indexing OpenMetaQuery Enables the metadata management feature for a bucket.
GetMetaQueryStatus Queries the metadata index library of a bucket.
DoMetaQuery Queries objects that meet specified conditions and lists the object information based on the specified fields and sorting methods.
CloseMetaQuery Disables the metadata management feature for a bucket.
CNAME CreateCnameToken Creates a CNAME token used to verify the ownership of a domain name.
GetCnameToken Queries the created CNAME tokens.
PutCname Maps a custom domain name to a bucket.
ListCname Queries the list of custom domain names mapped to a specified bucket.
DeleteCname Deletes the custom domain names mapped to a specified bucket.

Object operations

Category Operation Description
Basic operations PutObject Uploads an object.
GetObject Queries an object.
CopyObject Copies an object.
AppendObject Uploads an object by using append upload.
DeleteObject Deletes a single object.
DeleteMultipleObjects Deletes multiple objects.
HeadObject Queries only the metadata of an object.
GetObjectMeta Queries only the basic metadata of an object, including the ETag, size, and last modified time.
PostObject Uploads an object by using an HTML form.
Callback Implements callback by sending a request that contains related parameters to OSS.
RestoreObject Restores an Archive or Cold Archive object.
SelectObject Executes SQL statements on an object and queries the execution results.
CreateSelectObjectMeta Queries information about an object, such as the total number of rows and the number of splits. For a CSV object, you can also query the total number of columns in the object.
Directory management CreateDirectory Creates a directory.
Rename Renames a directory or an object.
DeleteDirectory Deletes a directory.
Multipart upload InitiateMultipartUpload Initiates a multipart upload task.
UploadPart Uploads an object by part based on the specified object name and the upload ID.
UploadPartCopy Copies data from an existing object to upload a part by adding the x-oss-copy-source request header to an UploadPart request to call the UploadPartCopy operation.
CompleteMultipartUpload Completes the multipart upload task of an object.
AbortMultipartUpload Cancels a multipart upload task and deletes the uploaded parts.
ListMultipartUploads Lists all ongoing multipart upload tasks, including the tasks that have been initiated but are not completed or canceled.
ListParts Lists all parts uploaded by a multipart upload task that has the specified upload ID.
ACL PutObjectACL Modifies the ACL of an object.
GetObjectACL Queries the ACL of an object.
Symbolic link PutSymlink Creates a symbolic link.
GetSymlink Queries a symbolic link.
Tagging PutObjectTagging Configures tags for or updates the tags of an object.
GetObjectTagging Queries the tags of an object.
DeleteObjectTagging Deletes the tags of an object.

LiveChannel operations

Operation Description
PutLiveChannelStatus Changes the state of a LiveChannel.
PutLiveChannel Creates a LiveChannel.
GetVodPlaylist Queries the playlist of a LiveChannel.
PostVodPlaylist Creates a playlist for a LiveChannel.
GetLiveChannelStat Queries the ingestion state of a LiveChannel.
GetLiveChannelInfo Queries the configurations of a LiveChannel.
GetLiveChannelHistory Queries the ingestion history of a LiveChannel.
ListLiveChannel Lists LiveChannels.
DeleteLiveChannel Deletes a LiveChannel.