Domain name for API request: vod.intl.tencentcloudapi.com.
This API is used to query bucket information in the professional application, and it also supports paginated queries.
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: DescribeStorage. |
| 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. |
| Filters.N | No | Array of Filter | Filter criteria. The maximum number of Filters.Values is 20. If this parameter is not input, all storage under the current SubAppId will be returned. The detailed filter criteria are as follows: |
| SortBy | No | SortBy | Sort the returned results according to this field. SortBy.Field Values include: |
| Offset | No | Integer | Offset for paginated queries. Default value: 0. |
| Limit | No | Integer | Limit on paginated queries. Default value: 20. Maximum value: 1000. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Total count of matched storage. |
| StorageInfoSet | Array of StorageInfo | Information of all matched storage. |
| 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. |
Paginated query for storage information in the Pro version application, sorted in descending order by creation time.
{
"SubAppId": 1020304056,
"SortBy": {
"Field": "CreateTime",
"Order": "Desc"
},
"Offset": 0,
"Limit": 20
}{
"Response": {
"TotalCount": 2,
"StorageInfoSet": [
{
"BucketId": "bucketId123demo",
"CreateTime": "2024-07-18T00:00:00+00:00",
"InternetAccessDomain": "example123.vodpro.ap-guangzhou.eovod.com",
"InternetAccessDomainStatus": "DEPLOYING",
"StorageName": "my-storage",
"StorageRegion": "ap-guangzhou"
},
{
"BucketId": "bucketId456demo",
"CreateTime": "2024-07-17T00:00:00+00:00",
"InternetAccessDomain": "example456.vodpro.ap-guangzhou.eovod.com",
"InternetAccessDomainStatus": "ONLINE",
"StorageName": "my-storage2",
"StorageRegion": "ap-shanghai"
}
],
"RequestId": "af4b9a1e-8df1-demo-reqid-ac6364f13e69"
}
}
Add a query filter to query bucket information filtered by the ID of bucket.
{
"SubAppId": 1020304056,
"Filters": [
{
"Name": "BucketId",
"Values": [
"bucketId123demo"
]
}
]
}{
"Response": {
"TotalCount": 1,
"StorageInfoSet": [
{
"BucketId": "bucketId123demo",
"CreateTime": "2024-07-18T00:00:00+00:00",
"InternetAccessDomain": "example123.vodpro.ap-guangzhou.eovod.com",
"InternetAccessDomainStatus": "DEPLOYING",
"StorageName": "my-storage",
"StorageRegion": "ap-guangzhou"
}
],
"RequestId": "bf5c72d0-5b34-demo-reqid-4b5a2d7b4c68"
}
}
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 |
|---|---|
| InternalError | Internal error. |
| InvalidFilter | Invalid filter. |
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | Incorrect parameter value. |
Feedback