Obtaining the API Version List
Function
This API is used to obtain the list of API versions supported by the service.
URI
GET /
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
versions |
Array of versions objects |
Versions. |
Parameter |
Type |
Description |
---|---|---|
id |
String |
Version number, for example, v1 |
links |
Array of links objects |
URL. |
version |
String |
If the APIs of the given version support micro-versions, set this parameter to the supported maximum micro-version. If not, leave this parameter blank. |
min_version |
String |
If the APIs of the given version support micro-versions, set this parameter to the supported minimum micro-version. If not, leave this parameter blank. |
status |
String |
Version status, which can be CURRENT (recommended), SUPPORTED (earlier version that is still supported), or DEPRECATED (deprecated version, which may be deleted later). Enumeration values:
|
updated |
String |
UTC time when the version is released. |
Example Requests
None
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
Operation successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.