Operation List

Last updated: 2020-08-03 18:28:47

    COS APIs are as detailed below:

    Service APIs

    API Operation Description
    GET Service (List Buckets) Querying a 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 Objects) Querying an object list Queries some or all objects in a bucket
    HEAD Bucket Extracting a bucket and its permission Checks whether a bucket exists and you have permission to access it
    DELETE Bucket Deleting a bucket Deletes an empty bucket under a specified account
    GET Bucket Object versions Querying object versions Queries some or all objects in a bucket and their version history

    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

    Custom domain APIs

    API Operation Description
    PUT Bucket domain Setting a custom domain name Sets a custom domain name for a bucket
    GET Bucket domain Querying a custom domain name Queries the custom domain name of a bucket
    DELETE Bucket domain Deleting a custom domain name Deletes a custom domain name from a bucket

    Lifecycle APIs

    API Operation Description
    PUT Bucket lifecycle Setting lifecycle Sets the 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 APIs

    API Operation Description
    PUT Bucket policy Setting a bucket policy Sets a permission policy for a specified bucket
    GET Bucket policy Querying a bucket policy Queries the permission policy of a specified bucket
    DELETE Bucket policy Deleting a bucket policy Deletes the permission policy of a specified bucket

    API Operation Description
    PUT Bucket referer Setting a bucket referer Sets a bucket referer allowlist or blocklist
    GET Bucket referer Querying a bucket referer Queries a bucket referer allowlist or blocklist

    Bucket 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 APIs

    API Operation Description
    PUT Bucket website Setting a static website Sets a bucket as a static website
    GET Bucket website Querying a static website configuration Queries the static website configuration of a bucket
    DELETE Bucket website Deleting a static website configuration Deletes the static website configuration from a bucket

    Inventory APIs

    API Operation Description
    PUT Bucket inventory Setting an inventory job Creates an inventory job in a bucket
    GET Bucket inventory Querying inventory jobs Queries the specified inventory configuration of a bucket
    List Bucket Inventory Configurations Querying all inventory jobs Queries all inventory jobs of a bucket
    DELETE Bucket inventory Deleting an inventory job Deletes an inventory job from a bucket

    Versioning APIs

    API Operation Description
    PUT Bucket versioning Setting versioning Enables or suspends versioning for a bucket
    GET Bucket versioning Querying versioning Queries the versioning configuration of a bucket

    Cross-region replication APIs

    API Operation Description
    PUT Bucket replication Setting cross-region replication Sets a cross-region replication rule for a versioning-enabled bucket
    GET Bucket replication Querying cross-region replication Queries the cross-region replication configuration of a bucket
    DELETE Bucket replication Deleting cross-region replication Deletes the cross-region replication configuration from a bucket

    Logging APIs

    API Operation Description
    PUT Bucket logging Setting logging Enables logging for a source bucket
    GET Bucket logging Querying logging configuration Queries the logging configuration of a source bucket

    Bucket encryption APIs

    API Operation Description
    PUT Bucket encryption Setting bucket encryption Sets a default encryption configuration for a bucket
    GET Bucket encryption Querying bucket encryption Querying the default encryption configuration of a bucket
    DELETE Bucket encryption Deleting bucket configuration Deletes the default encryption configuration from a bucket

    Object APIs

    Basic operation APIs

    API Operation Description
    PUT Object Uploading on object using simple upload 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 from a bucket in a single request
    OPTIONS Object Configuring pre-flight requests for cross-origin access Sends a pre-flight 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
    SELECT Object Content Extracting object content Extracts the content of a specified object

    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
    Upload Part Uploads parts Uploads a file in multiple parts
    Upload Part - Copy Copies a part Copies an existing object to a part of a new object
    Complete Multipart Upload Completes 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 Queries multipart uploads Queries in-progress multipart uploads
    List Parts Queries uploaded parts Queries the uploaded parts in the specific multipart upload operation

    Batch Operation APIs

    API Operation Description
    CreateJob Creating a job Creates a batch job for a bucket
    DescribeJob Describing a job Gets the parameters and status of an existing batch operation job
    ListJobs Querying jobs Lists existing batch operation jobs
    UpdateJobPriority Updating job priority Updates the priority of an existing job
    UpdateJobStatus Updating job status Updates the status of an existing job

    Data Processing APIs

    Basic image processing APIs

    API Description
    Scaling Scales up or down an image
    Cropping Crops an image, including regular cropping, scaling and cropping, inscribed circle cropping, rounded corner cropping, and smart cropping
    Rotation Rotates an image, including common rotation and adaptive rotation
    Format Conversion Provides format conversion, GIF optimization, and progressive display
    Quality Conversion Changes quality of an image
    Gaussian Blur Blurs an image
    Sharpening Sharpens an image
    Image Watermarks Adds a watermark to an image
    Text Watermarks Adds a real-time text watermark to an image
    Obtaining Basic Image Information Queries the basic information about an image, including format, height and width
    Obtaining Image EXIF Data Queries EXIF data
    Obtaining the Image Average Hue Queries the average hue of an image
    Removing Metadata Removes image metadata, including EXIF data
    Quick Thumbnail Template Generates a thumbnail using an image processing template
    Pipeline Operator Performs multiple processing styles on an image in a sequence.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help