Domain name for API request: cwp.intl.tencentcloudapi.com.
Website Tamper Protection - Query webpage tamper protection server purchase information and server information
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: DescribeWebPageServiceInfo. |
| Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
| Region | No | String | Common Params. This parameter is not required. |
| Parameter Name | Type | Description |
|---|---|---|
| Status | Boolean | Whether it is a purchased service. true: yes; false: no. |
| UsedNum | Integer | Number of used authorizations |
| ResidueNum | Integer | Remaining licenses |
| BuyNum | Integer | Number of purchased authorizations |
| ExpireNum | Integer | Number of resources near expiration |
| AllAuthorizedMachines | Array of ProtectMachineInfo | Information of all authorization machines |
| ExpireAuthorizedMachines | Array of ProtectMachine | Information of authorization machines near expiration |
| ExpiredNum | Integer | Number of expired authorizations |
| ProtectDirNum | Integer | Number of protection directories |
| 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. |
POST / HTTP/1.1
Host: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeWebPageServiceInfo
<Common request parameters>
{}
{
"Response": {
"RequestId": "g54f4ac3-8546-4516-8c8a-69e3ab73aa8a",
"Status": true,
"UsedNum": 2,
"ResidueNum": 0,
"BuyNum": 2,
"ExpireNum": 1,
"ExpiredNum": 1,
"ProtectDirNum": 1,
"AllAuthorizedMachines": [
{
"HostName": "Machine 1",
"HostIp": "1.0.0.1",
"CreateTime": "2020-10-10 10:10:00",
"ExpireTime": "2021-10-10 10:10:00"
}
],
"ExpireAuthorizedMachines": [
{
"HostName": "Machine 2",
"HostIp": "1.0.0.2",
"SafeguardDirNum": 1
}
]
}
}
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 |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback