Querying the DNS API Version

Function

Query a specified DNS API version.

To be interconnected with a third-party system, the current DNS version supports 1024- and 2048-bit DH key exchange algorithms, and the 2048-bit algorithm is recommended.

URI

GET /{version}

For details, see Table 1.
Table 1 Parameter in the URI

Parameter

Mandatory

Type

Description

version

Yes

String

Version to be queried, which starts with v, for example, v2

Request

Response

Returned Value

If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.

For details, see Status Code.