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 the API call returns a code of 2xx, for example, 200, 202, or 204, the request is successful.

For details, see Status Code.