Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
10 KiB
Querying the API Version List
Function
This API is used to query the currently supported API version list.
URI
- URI format
- Parameter description
Requests
None
Responses
- Parameter description
Table 1 Parameter description Name
Type
Description
versions
Array of objects
Indicates the list of detailed API version information. For more information, see Table 2.
Table 2 versions field data structure description Name
Type
Description
id
String
Indicates the API version.
links
Array of objects
Indicates the API link information. For more information, see Table 3.
NOTE:If the version is v3, the value is [].
status
String
Indicates the version status.
The value CURRENT indicates that the version has been released.
version
String
Indicates the subversion of the API version.
min_version
String
Indicates the minimum API version.
updated
String
Indicates the version update time.
The format is yyyy-mm-ddThh:mm:ssZ.
T is the separator between the calendar and the hourly notation of time. Z indicates the UTC.
- Response example
{ "versions": [ { "id": "v3", "links": [], "status": "CURRENT", "version": "", "min_version": "", "updated": "2017-02-07T17:34:02Z" } ] }
Error Code
For more information, see Error Code.