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.
GET /
Parameter |
Type |
Description |
|---|---|---|
versions |
Object |
Version object. For details, see Table 2. |
Parameter |
Type |
Description |
|---|---|---|
values |
Array of object |
Version list. For details, see Table 3. |
Parameter |
Type |
Description |
|---|---|---|
status |
String |
Version status, which can be:
|
id |
String |
Version number |
links |
Array of object |
URL of the current version. For details, see Table 4. |
{
"versions": {
"values": [
{
"status": "CURRENT",
"id": "v2",
"links": [
{
"href": "https://Endpoint/v2",
"rel": "self"
}
]
}
]
}
}
If the API call returns a code of 2xx, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.