Querying API Versions
Function
This API is used to query API versions.
URI
GET /das
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
versions |
Array of ApiVersion objects |
API version information. |
Parameter |
Type |
Description |
---|---|---|
id |
String |
API version, for example, v3. |
status |
String |
Version status. CURRENT, indicating that the version is the primary version. SUPPORTED, indicating that the version is an earlier version which is still supported. DEPRECATED, indicating that the version is a deprecated version which may be deleted later. |
updated |
String |
Time when the API version was released. 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. |
version |
String |
API microversion. If the APIs do not support microversions, the value is left blank. |
Example Requests
This API is used to query API versions.
Example Responses
Status code: 200
{ "versions" : [ { "id" : "v3", "version" : "", "status" : "CURRENT", "updated" : "2021-01-15T12:00:00Z" } ] }
Status Code
Status Code |
Description |
---|---|
200 |
Success. |
Error Code
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot