Operation List

Last updated: 2019-12-13 18:26:07

PDF

Below are Cloud Object Storage (COS) APIs and their descriptions:

Service APIs

API Operation Description
GET Service Querying bucket list Queries the list of all buckets under a specified account

Bucket APIs

Basic Operation APIs

API Operation Description
PUT Bucket Creating a bucket Creates a bucket under a specified account
GET Bucket (List Object) Querying object list Queries some or all objects in a bucket
HEAD Bucket Retrieving information on a bucket and its permission Checks whether a bucket exists and whether you have permission to access it
DELETE Bucket Deleting a bucket Deletes an empty bucket under a specified account

Access Control List (acl) APIs

API Operation Description
PUT Bucket acl Setting bucket ACL Sets the ACL for a specified bucket
GET Bucket acl Querying bucket ACL Queries the ACL of a bucket

Cross-Origin Resource Sharing (cors) APIs

API Operation Description
PUT Bucket cors Setting cross-origin access configuration Sets cross-origin access permissions for a bucket
GET Bucket cors Querying cross-origin access configuration Queries the cross-origin access configuration of a bucket
DELETE Bucket cors Deleting cross-origin access configuration Deletes the cross-origin access configuration of a bucket

Lifecycle (lifecycle) APIs

API Operation Description
PUT Bucket lifecycle Setting lifecycle Sets lifecycle management configuration of a bucket
GET Bucket lifecycle Querying lifecycle Queries the lifecycle management configuration of a bucket
DELETE Bucket lifecycle Deleting lifecycle Deletes the lifecycle management configuration of a bucket

Bucket Policy (policy) APIs

API Operation Description
PUT Bucket policy Setting bucket policies Sets permission policies for a specified bucket
GET Bucket policy Querying bucket policies Queries the permission policies of a specified bucket
DELETE Bucket policy Deleting bucket policies Deletes the permission policies of a specified bucket
API Operation Description
PUT Bucket referer Setting bucket referer Sets Referer-based whitelist or blacklist for a bucket
GET Bucket referer Querying bucket referer Queries Referer-based whitelist or blacklist for a bucket

Tag (tagging) APIs

API Operation Description
PUT Bucket tagging Setting bucket tags Sets tags for an existing bucket
GET Bucket tagging Querying bucket tags Queries the existing tags of a specified bucket
DELETE Bucket tagging Deleting bucket tags Deletes the tags of a specified bucket

Static Website (website) APIs

API Operation Description
PUT Bucket website Setting bucket website Configures a static website for a bucket
GET Bucket website Querying bucket website Queries the static website configuration associated with a bucket
DELETE Bucket website Deleting bucket website Deletes the static website configuration of a specified bucket

Object APIs

Basic Operation APIs

API Operation Description
PUT Object Simply uploading an object Uploads an object to a bucket
PUT Object - Copy Copying an object Copies a file to a destination path
POST Object Uploading an object using a form Uploads an object using a form request
GET Object Downloading an object Downloads an object to the local file system
HEAD Object Querying object metadata Queries the metadata of an object
DELETE Object Deleting a single object Deletes a specified object from a bucket
DELETE Multiple Objects Deleting multiple objects Deletes multiple objects in a single request
OPTIONS Object Pre-requesting cross-origin access configuration Sends a pre-request to check whether a real cross-origin access request can be sent
POST Object restore Restoring an archived object Restores an archived object for access

Access Control APIs

API Operation Description
PUT Object acl Setting object ACL Sets the ACL for a specified object in a bucket
GET Object acl Querying object ACL Queries the ACL of an object

Multipart Upload APIs

API Operation Description
Initiate Multipart Upload Initializing a multipart upload Initializes a multipart upload job
Upload Part Uploading parts Uploads file parts
Upload Part - Copy Copying a part Copies an object as a part
Complete Multipart Upload Completing a multipart upload Completes the multipart upload of the entire file
Abort Multipart Upload Aborting a multipart upload Aborts a multipart upload operation and deletes the uploaded parts
List Multipart Uploads Querying multipart uploads Queries the information on ongoing multipart uploads
List Parts Querying uploaded parts Queries uploaded parts in a specified multipart upload operation