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.
Parameter |
Type |
Description |
---|---|---|
version |
Object |
Version object. For details, see Table 3. |
Parameter |
Type |
Description |
---|---|---|
status |
String |
Version status, which can be:
|
id |
String |
Version number, for example, v2 |
updated |
String |
Time when the API version was released The UTC time format is used: YYYY-MM-DDTHH:MM:SSZ. |
version |
String |
Maximum micro-version number. If the APIs do not support micro-versions, the value is left blank. |
min_version |
String |
Minimum micro-version number. If the APIs do not support micro-versions, the value is left blank. |
links |
Array of object |
URL of the current version. For details, see Table 4. |
{ "version": { "status": "CURRENT", "id": "v2", "links": [ { "href": "https://Endpoint/v2/", "rel": "self" } ], "min_version": "", "updated": "2018-09-18T00:00:00Z", "version": "" } }
If a 2xx status code is returned, for example, 200, 202, or 204, the request is successful.
For details, see Status Code.