Binds a storage bucket to a sub-application of ApsaraVideo VOD.
Operation description
Calls AddVodStorageForApp to enable a VOD system bucket for an ApsaraVideo VOD sub-application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:AddVodStorageForApp |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. The application ID is the value of the |
app-**** |
| StorageLocation |
string |
No |
The OSS bucket address. This parameter is required when StorageType is set to user_oss_bucket. |
example-bucket.oss-cn-shanghai.aliyuncs.com |
| StorageType |
string |
No |
The storage type. Valid values:
Default value: vod_oss_bucket. |
vod_oss_bucket |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4A*****F6-D7393642CA58 |
| StorageLocation |
string |
The storage address of the created VOD system bucket. |
out-****.oss-cn-shanghai.aliyuncs.com |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4A*****F6-D7393642CA58",
"StorageLocation": "out-****.oss-cn-shanghai.aliyuncs.com"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.