Querying All API Versions¶
Function¶
This API is used to query all available API versions.
URI¶
GET /
Request¶
N/A
Response¶
Response parameters:
Table 1 describes the response parameters.
Parameter | Type | Description |
---|---|---|
versions | Array | API version list. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
id | Yes | String | API version ID, for example, v3. |
links | Yes | String | API URL. |
min_version | No | String | API microversion.
|
status | Yes | String | API version status.
|
updated | Yes | String | Version release time in UTC. For example, the parameter value for v1 is 2014-06-28T12:20:21Z. |
version | Yes | String | API version number.
|
Example response:
{
"versions": [
{
"id": "v3",
"links": [
{
"href": "https://container.eu-de.***.t-systems.com/v3",
"rel": "self"
}
],
"min_version": "",
"status": "CURRENT",
"updated": "2018-09-15T00:00:00Z",
"version": ""
}
]
}
Status Code¶
Table 3 describes the status code of the API.
Status Code | Description |
---|---|
200 | The query operation is successful. |
For details about error status codes, see Status Code.