Obtaining API Versions
Function
This API is used to query the list of API versions supported by CCE.
URI
GET /
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
versions |
Array of APIVersionDetail objects |
API version list. |
Parameter |
Type |
Description |
---|---|---|
id |
String |
API version ID. Example: v3 |
links |
Array of APIVersionLink objects |
URL of the API version. |
min_version |
String |
Microversion. If the APIs of this version support microversions, set this parameter to the supported minimum microversion. If no microversion is supported, leave this parameter blank. |
status |
String |
API version status. Possible values:
|
updated |
String |
Time when the API was released (UTC). For example, if the API version is v3, the value is '2018-09-15 00:00:00Z'. |
version |
String |
Microversion. If the APIs of this version support microversions, set this parameter to the supported maximum microversion. If no microversion is supported, leave this parameter blank. |
Example Requests
None
Example Responses
Status code: 200
The API version list is queried successfully.
{ "versions" : [ { "id" : "v3", "links" : [ { "href" : "https://cce.region.***.com/v3", "rel" : "self" } ], "min_version" : "", "status" : "CURRENT", "updated" : "2018-09-15 00:00:00Z", "version" : "" } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
The API version list is queried successfully. |
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.