Binds an output media bucket to the media library.

Usage notes

Before you call this operation to bind a media bucket, you must create a media bucket. For more information, see Library settings.

QPS limit

You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation. For more information, see QPS limits.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes BindOutputBucket

The operation that you want to perform. Set the value to BindOutputBucket.

Bucket String Yes example-bucket-****

The name of the output media bucket to be bound. The name can be up to 64 bytes in size and can contain letters, digits, and hyphens (-). The name cannot start with a special character.

Response parameters

Parameter Type Example Description
RequestId String D0F80646-90D4-402F-9D56-CEFEAA6BCC9B

The ID of the request.

Examples

Sample requests

http(s)://mts.cn-hangzhou.aliyuncs.com/?Action=BindOutputBucket
&Bucket=example-bucket-****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<BindOutputBucketResponse>
    <RequestId>D0F80646-90D4-402F-9D56-CEFEAA6BCC9B</RequestId>
</BindOutputBucketResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "D0F80646-90D4-402F-9D56-CEFEAA6BCC9B"
}

Error codes

For a list of error codes, visit the API Error Center.