Binds a storage bucket to one or more applications in ApsaraVideo VOD.
Operation description
You can call this operation to add a buckets to an ApsaraVideo VOD applications.
Note
You can add only one ApsaraVideo VOD bucket for each application. If you specify an AppId that does not exist or the ID of an application for which an VOD bucket is enabled, an error is returned.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AppId | string | Yes | The IDs of applications. You can obtain the application ID from the | app-**** |
StorageLocation | string | No | The address of an Object Storage Service (OSS) bucket. This parameter does not take effect. You can call this operation to add only VOD buckets. | out-****.oss-cn-shanghai.aliyuncs.com |
StorageType | string | No | The storage class. Default value: vod_oss_bucket. | vod_oss_bucket |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"StorageLocation": "out-****.oss-cn-shanghai.aliyuncs.com"
}
Error codes
For a list of error codes, visit the Service error codes.