Listing All DNS API Versions¶
Function¶
List all DNS API versions.
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 /
Request¶
Request parameters
None
Example request
List all DNS API versions.
GET https://{DNS_Endpoint}/
Response¶
Parameter description
¶ Parameter
Type
Description
status
String
Version status, which can be:
CURRENT: widely used version
SUPPORTED: earlier version which is still supported
DEPRECATED: deprecated version which may be deleted later
id
String
Version number
links
Array of object
URL of the current version. For details, see Table 4.
¶ Parameter
Type
Description
href
String
Link address
rel
String
Link marker name
Example response
{ "versions": { "values": [ { "status": "CURRENT", "id": "v2", "links": [ { "href": "https://Endpoint/v2", "rel": "self" } ] } ] } }
Returned Value¶
If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.