Domain name for API request: teo.tencentcloudapi.com.
This API is used to query the result of a site test.
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: DescribeSpeedTestingMetricData. |
Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
Region | No | String | Common Params. This parameter is not required. |
ZoneId | Yes | String | The site ID. |
Parameter Name | Type | Description |
---|---|---|
SpeedTestingMetricData | SpeedTestingMetricData | The site test metrics. |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: teo.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSpeedTestingMetricData
<Common request parameters>
{
"ZoneId": "zone-2805lqj66rf6"
}
{
"Response": {
"RequestId": "f9a45aa8-01ab-40c0-ac2d-e61178fd2c51",
"SpeedTestingMetricData": {
"OriginSpeedTestingInfo": [
{
"SpeedTestingStatistics": {
"DocumentFinishTime": 0,
"FirstMeaningfulPaint": 0,
"LoadTime": 0,
"OverallDownloadSpeed": 0.0,
"FileDownloadTime": 0,
"FirstContentfulPaint": 0,
"ResponseTime": 0,
"RenderTime": 0,
"TcpConnectionTime": 0
},
"SpeedTestingConfig": {
"Url": "https://www.tencent.com/",
"Connectivity": "Cable",
"UA": "Chrome,PC",
"TaskType": 0
},
"TestId": "test-id",
"StatusCode": 0
}
],
"SpeedTestingStatus": {
"Tls": true,
"Url": "https://www.tencent.com/",
"CreatedOn": "2020-09-22T00:00:00+00:00",
"Connectivity": "Cable",
"UA": "Chrome,PC",
"StatusCode": 0,
"TimedOut": true,
"Reachable": true
},
"OriginLoadTime": 0,
"ZoneId": "zone-2805lqj66rf6",
"ProxyLoadTime": 0,
"ProxySpeedTestingInfo": [
{
"SpeedTestingStatistics": {
"DocumentFinishTime": 0,
"FirstMeaningfulPaint": 0,
"LoadTime": 0,
"OverallDownloadSpeed": 0.0,
"FileDownloadTime": 0,
"FirstContentfulPaint": 0,
"ResponseTime": 0,
"RenderTime": 0,
"TcpConnectionTime": 0
},
"SpeedTestingConfig": {
"Url": "https://www.tencent.com/",
"Connectivity": "Cable",
"UA": "Chrome,PC",
"TaskType": 0
},
"TestId": "test-dadfcsas",
"StatusCode": 0
}
],
"OptimizeAction": [
{
"Connectivity": "Cable",
"Ratio": 0,
"Name": "name",
"Value": 0
}
],
"ZoneName": "zone.com"
}
}
}
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.RouteError | The backend routing address is incorrect. |
ResourceNotFound | The resource doesn’t exist. |
UnauthorizedOperation.Unknown | An unknown error occurred in the backend server. |
本页内容是否解决了您的问题?