tencent cloud

Cloud Security Center

DescribeCosActionList

Baixar
Modo Foco
Tamanho da Fonte
Última atualização: 2026-10-15 09:22:12

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

View the COS API list

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeCosActionList.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
Filter No Filter Filter.

3. Output Parameters

Parameter Name Type Description
Data Array of CosActionInfo List
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 Viewing the COS API List

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeCosActionList
<Common request parameters>

{}

Output Example

{
    "Response": {
        "RequestId": "req-123456789",
        "Data": [
            {
                "ActionName": "GetObject",
"ActionNameCn": "Get object",
"ActionDescription": "Retrieve the content of a specified object in a bucket"
            },
            {
                "ActionName": "PutObject",
"ActionNameCn": "Upload object",
"ActionDescription": "Upload an object to the specified bucket"
            },
            {
                "ActionName": "DeleteObject",
"ActionNameCn": "Delete Object",
"ActionDescription": "Delete specified object from a bucket"
            },
            {
                "ActionName": "ListObjects",
"ActionNameCn": "List objects",
"ActionDescription": "List objects in a bucket"
            },
            {
                "ActionName": "GetBucketAcl",
"ActionNameCn": "Get bucket access control list",
"ActionDescription": "Get the ACL configuration of the bucket"
            },
            {
                "ActionName": "PutBucketAcl",
"ActionNameCn": "Set bucket access control list",
"ActionDescription": "Set the ACL of the bucket"
            },
            {
                "ActionName": "GetBucketPolicy",
"ActionNameCn": "Obtain bucket policy",
"ActionDescription": "Obtain the policy configuration of a bucket"
            },
            {
                "ActionName": "PutBucketPolicy",
"ActionNameCn": "Setting a bucket policy",
"ActionDescription": "Set the bucket policy configuration"
            },
            {
                "ActionName": "GetBucketVersioning",
"ActionNameCn": "Obtain bucket version control",
"ActionDescription": "Get the versioning configuration of the bucket"
            },
            {
                "ActionName": "PutBucketVersioning",
"ActionNameCn": "Set Bucket Version Control",
"ActionDescription": "Set versioning of the bucket"
            },
            {
                "ActionName": "GetBucketLifecycle",
"ActionNameCn": "Get bucket lifecycle",
"ActionDescription": "Obtain the lifecycle configuration of a bucket"
            },
            {
                "ActionName": "PutBucketLifecycle",
"ActionNameCn": "Set bucket lifecycle",
"ActionDescription": "Set the lifecycle rule for the bucket"
            },
            {
                "ActionName": "GetBucketEncryption",
"ActionNameCn": "Obtain bucket encryption"
"ActionDescription": "Get the encryption configuration of the bucket"
            },
            {
                "ActionName": "PutBucketEncryption",
"ActionNameCn": "Configure bucket encryption"
"ActionDescription": "Set the encryption configuration of the bucket"
            },
            {
                "ActionName": "GetBucketReplication",
"ActionNameCn": "Obtain bucket replication",
"ActionDescription": "Obtain the replication configuration of a bucket"
            },
            {
                "ActionName": "PutBucketReplication",
"ActionNameCn": "Set Bucket Replication"
"ActionDescription": "Set the replication rule for the bucket"
            },
            {
                "ActionName": "GetBucketNotification",
"ActionNameCn": "Obtain bucket notification",
"ActionDescription": "Obtain the notification configuration of a bucket"
            },
            {
                "ActionName": "PutBucketNotification",
"ActionNameCn": "Set Bucket Notification",
"ActionDescription": "Set the bucket notification configuration"
            },
            {
                "ActionName": "GetBucketTagging",
"ActionNameCn": "Obtain bucket tag",
"ActionDescription": "Obtain the tag configuration of a bucket"
            },
            {
                "ActionName": "PutBucketTagging",
"ActionNameCn": "Set the bucket tag",
"ActionDescription": "Set the tag of the bucket"
            }
        ]
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation Operation failed.
InternalError Internal error.
InvalidFilter Invalid Filter
InvalidParameter Parameter error.
InvalidParameterValue Parameter value error.
OperationDenied Operation denied.
ResourceInUse The resource is occupied.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resources are unavailable.
UnknownParameter Unknown parameter error.

Ajuda e Suporte

Esta página foi útil?

comentários