Querying a Specific API Version
Function
Query a specific API version of SWR.
Request
N/A
Response
Response parameters
| Parameter | Type | Description |
|---|---|---|
| version | Object | A list of objects related to the version. For details, see Table 3. |
| Parameter | Type | Description |
|---|---|---|
| id | String | Version ID (version number), for example, v2. |
| links | String | API URL. For details, see Table 4. |
| version | String | If the APIs of this version support microversions, set this parameter to the supported maximum microversion. If the microversion is not supported, leave this parameter blank. |
| status | String | Version status. The options are as follows: CURRENT: The version is the primary version. SUPPORTED: The version is an earlier version, but it is still supported. DEPRECATED: The version is a deprecated version, which may be deleted later. |
| updated | String | Version release time, in Coordinated Universal time (UTC). For example, the release time of v1 is 2014-06-28T12:20:21Z. |
| min_version | String | If APIs of this version support microversions, set this parameter to the supported minimum microversion. If the microversion is not supported, leave this parameter blank. |
| Parameter | Type | Description |
|---|---|---|
| href | String | Link |
| rel | String | Description |
{
"version": {
"id": "v2",
"links":
{
"href": "https://swr-api.xxxx.myhuaweicloud.com/v2/",
"rel": "self"
}
"min_version": "2.0",
"status": "CURRENT",
"updated": "2017-12-09T00:00:00Z",
"version": "2.26"
}
} Status Code
For details about status code, see Table 5.
Last Article: Querying All API Versions
Next Article: Creating Organization Permissions
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.