Domain name for API request: vpc.intl.tencentcloudapi.com.
This API is used to obtain the download link of an IP location database.
This API will be discontinued soon and is only available for existing users.
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: DescribeIpGeolocationDatabaseUrl. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
Type | Yes | String | Protocol type for an IP location database. Valid value: ipv4 . |
Parameter Name | Type | Description |
---|---|---|
DownLoadUrl | String | Download link of an IP location database |
ExpiredAt | Timestamp ISO8601 | Link expiration time in UTC format following the ISO8601 standard. |
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. |
This example shows you how to obtain the download link of an IPv4 location database.
https://vpc.intl.tencentcloudapi.com/?Action=DescribeIpGeolocationDatabaseUrl
&Type=ipv4
&<common request parameters>
{
"Response": {
"DownLoadUrl": "https://ip-address-repo-1255852779.cos.ap-guangzhou.myqcloud.com/tencent_ipv4_repo.tgz?q-sign-algorithm=sha1&q-ak=*&q-sign-time=1578970542;1579057002&q-key-time=1578970542;1579057002&q-header-list=&q-url-param-list=&q-signature=00f8d6ad0252822e17cca6450ebcd626eadc8405",
"ExpiredAt": "2020-01-15T10:56:42+00:00",
"RequestId": "21b41e67-8c0f-48cf-8af3-de0b6e1f4a4b"
}
}
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 |
---|---|
AuthFailure | CAM signature or authentication error. |
InternalError | An internal error occurred. |
InvalidAccount.NotSupported | This account is not supported. |
InvalidParameterConflict | The two parameters cannot be specified at the same time, nor exist concurrently. EIP can only be bound to the instances or the specified private IPs of the specified ENIs. |
InvalidParameterValue | The parameter value is invalid. |
Was this page helpful?