tencent cloud

All product documents
TencentDB for MySQL
DocumentationTencentDB for MySQLFAQsAPI 2.0 to 3.0 Switch Guide
API 2.0 to 3.0 Switch Guide
Last updated: 2024-07-24 09:33:56
API 2.0 to 3.0 Switch Guide
Last updated: 2024-07-24 09:33:56
TencentDB for MySQL fully upgraded the API service to v3.0 on January 1, 2018. Due to the fact that API 2.0 has a higher access latency and is more complicated to use, technical support has been discontinued for API 2.0, which will be deactivated on March 31, 2023.
We recommend you upgrade to TencentDB for MySQL API 3.0 as soon as possible to avoid affecting your business.
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
API 3.0
API 3.0 Documentation
Input Parameter Change
DescribeCdbInstances
DescribeDBInstances
Queries the list of instances. For more information, see DescribeDBInstances.
In order to make the API easier to use, some parameters have been changed as described in DescribeDBInstances.
QueryCdbStatisticsInfo
GetAppStat
This API has been disused. To get the instance monitoring information, call `GetMonitorData`. For more information, see GetMonitorData.
No changes.
DescribeDBInstancesV3
DescribeDBInstances
Queries the list of instances. For more information, see DescribeDBInstances.
No changes.
GetCdbExportLogUrl
GetDownloadUrl

type = slowlog_day: Queries slow logs. For more information, see DescribeSlowLogs.
type = errlog_day: Queries the error logs of an instance. For more information, see DescribeErrorLogData.
type = coldbackup: Queries the list of data backups. For more information, see DescribeBackups.
type = binlog: Queries the list of log backups. For more information, see DescribeBinlogs.
In order to make the API easier to use, some parameters have been changed as described in:
RenewCdb
RenewDBInstance
Renews a TencentDB instance. For more information, see ModifyNameOrDescByDpId.
In order to make the API easier to use, some parameters have been changed as described in ModifyNameOrDescByDpId.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support