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.cn-north-1.myhuaweicloud.com/v1/",
"rel": "self"
}
],
"min_version": "",
"status": "SUPPORTED",
"updated": "2016-12-09T00:00:00Z",
"version": "",
},
{
"id": "v2.0",
"links": [
{
"href": "https://oms.cn-north-1.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.
Last Article: Out-of-Date APIs
Next Article: Creating a Migration Task
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.