TencentDB for MySQL fully upgraded the API service to v3.0 on January 1, 2018 (UTC+8). Because API 2.0 has a higher access latency and is more complicated to use, technical support has been discontinued for API 2.0, which has been deactivated on March 31, 2023 (UTC+8).
We recommend you upgrade to TencentDB for MySQL API 3.0 as soon as possible to avoid affecting your business.
When using the API 3.0 service, you can go to the SDK Center to obtain the SDKs for multiple programming languages. Besides, API Explorer can be used to directly generate codes for you to call SDKs.
You can refer to the API 2.0 and 3.0 comparison table below, where you can find the new APIs you need to upgrade and complete the upgrade accordingly.
List of APIs switched from v2.0 to v3.0
API 2.0 Interface | API 3.0 Interface | API 3.0 Documentation | Input Parameter Change |
DescribeCdbInstances | DescribeDBInstances | To reduce complexity, some parameters have changed. Please refer to the relevant API documentation for details. | |
QueryCdbStatisticsInfo | GetAppStat | This API has been deprecated. To obtain the instance monitoring information, call GetMonitorData. For more information, see GetMonitorData. | No changes. |
DescribeDBInstancesV3 | DescribeDBInstances | No changes. | |
GetCdbExportLogUrl | GetDownloadUrl | This API can be replaced with APIs in the production environment. type = errlog_day: Queries the error logs of an instance. For more information, see DescribeErrorLogData. | In order to make the API easier to use, some parameters have been changed as described in: |
RenewCdb | RenewDBInstance | To reduce complexity, some parameters have changed. Please refer to the relevant API documentation for details. |