Querying the API Version
Function
This API is used to query the API version of the Object Storage Migration Service.
Request
Request Parameters
None.
Response
Response Parameters
Table 2 describes the response parameters.
Parameter |
Type |
Description |
---|---|---|
id |
String |
Specifies the API version. |
links |
String |
Specifies the API Uniform Resource Locator (URL). |
version |
String |
Specifies the latest supported API version number. |
status |
String |
Specifies the version status. |
updated |
String |
Specifies the version update time. |
min_version |
String |
Specifies the earliest supported API version number. |
Examples
Request example
GET /v1/{project_id}/objectstorage/version
Response example
{ "versions": [ { "id": "v1.0", "links": [ { "href": "https://oms.ap-southeast-2.myhuaweicloud.com/v1/", "rel": "self" } ], "min_version": "", "status": "SUPPORTED", "updated": "2016-12-09T00:00:00Z", "version": "", }, { "id": "v2.0", "links": [ { "href": "https://oms.ap-southeast-2.myhuaweicloud.com/v1/", "rel": "self" } ], "min_version": "", "status": "CURRENT", "updated": "2016-12-09T00:00:00Z", "version": "", } ] }
Status Code
For details about the status code, see Status Code.
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