forked from docs/doc-exports
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com> Co-authored-by: Qin Ying, Fan <fanqinying@huawei.com> Co-committed-by: Qin Ying, Fan <fanqinying@huawei.com>
6.7 KiB
6.7 KiB
Querying All API Versions
Function
This API is used to query all API versions supported by Direct Connect.
URI
GET /
Request
None
Response
Table 1 lists the response parameters.
Parameter |
Type |
Description |
---|---|---|
versions |
List |
Specifies all API versions. |
id |
String |
Specifies the version number, for example, v2.0 |
links |
Array |
Specifies the API URL. |
href |
String |
Specifies the reference address of the current API version. |
rel |
String |
Specifies the relationship between the current API version and the referenced address. |
status |
String |
Specifies the version status. Value options are as follows:
|
Examples
- Example request
GET /
- Example response
{ "versions": [ { "status": "CURRENT", "id": "v2.0", "links":[ { "href": "https://network.az0.dc0.domainname.com/v2.0","rel": "self" } ] } ] }
Parent topic: Obtaining the API Version Information