Domain name for API request: vod.tencentcloudapi.com.
This interface returns client upload acceleration statistics within the query time range.
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: DescribeClientUploadAccelerationUsageData. |
Version | Yes | String | Common Params. The value used for this API: 2018-07-17. |
Region | No | String | Common Params. This parameter is not required. |
StartTime | Yes | String | The start date for the query in ISO date format. |
EndTime | Yes | String | The end date for the query in ISO date format. The end date must be later than the start date. |
SubAppId | No | Integer | The VOD subapplication ID. If you need to access a resource in a subapplication, set this parameter to the subapplication ID; otherwise, leave it empty. |
Type | No | String | The client upload acceleration type. Valid values: If you do not specify this parameter, the usage of both types will be queried. |
Parameter Name | Type | Description |
---|---|---|
ClientUploadAccelerationUsageDataSet | Array of StatDataItem | The usage of client upload acceleration. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: vod.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeClientUploadAccelerationUsageData
<Common request parameters>
{
"StartTime": "2020-09-07T00:00:00+08:00",
"EndTime": "2020-09-09T23:59:59+08:00",
"Type": "AccelerationWithQUIC"
}
{
"Response": {
"ClientUploadAccelerationUsageDataSet": [
{
"Time": "2020-09-07T00:00:00+08:00",
"Value": 2
},
{
"Time": "2020-09-08T00:00:00+08:00",
"Value": 2
},
{
"Time": "2020-09-09T00:00:00+08:00",
"Value": 2
}
],
"RequestId": "requestId"
}
}
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 | Operation failed. |
FailedOperation.InvalidVodUser | The VOD service is not activated. |
InternalError | Internal error. |
InvalidParameterValue | Incorrect parameter value. |
Was this page helpful?