Domain name for API request: vod.intl.tencentcloudapi.com.
This API is used to create storage for professional applications.
Note:
A maximum of 20 requests can be initiated per second for this API.
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: CreateStorage. |
| Version | Yes | String | Common Params. The value used for this API: 2024-07-18. |
| Region | No | String | Common Params. This parameter is not required. |
| SubAppId | Yes | Integer | The ID of VOD Professional Application. |
| StorageRegion | Yes | String | Storage region, which must be a region supported by the system. All storage regions and the regions where storage buckets have already been enabled can be queried using the DescribeStorageRegions API. |
| StorageName | Yes | String | The name of the storage. |
| Parameter Name | Type | Description |
|---|---|---|
| BucketId | String | The unique identifier ID of the storage bucket. |
| 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. |
Create the professional application storage in ap-chongqing.
{
"SubAppId": 1020304056,
"StorageRegion": "ap-chongqing",
"StorageName": "my-storage"
}{
"Response": {
"BucketId": "bucketid123",
"RequestId": "f13e691e-8df1-demo-b734-ac63af4b9a64"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
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.StorageRegionBucketOverLimit | The storage capacity in this region has exceeded the limit. |
| InternalError | Internal error. |
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | Incorrect parameter value. |
| InvalidParameterValue.UnsupportedStorageRegion | Unsupported storage region. |
Feedback