Version Management API
Get Version Information
Request URL
GET /api/v1.0/invoke/open-ability/method/versions
Request Parameter
| Parameter Name | Type | Location | Required | Description |
|---|---|---|---|---|
| Content-Type | String | Header | Yes | Content type, the value is application/json |
| Accept | String | Header | Yes | Accept, the value is application/json |
Return Parameter
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| Content-Type | String | Header | Content type, the value is application/json |
| success | Boolean | Body | Whether the request is successful or not? true: success false: failure |
| timestamp | Integer | Body | Timestamp |
| result | Object<result> | Body | Return result |
result description
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| version_id | String | Body | Version ID |
| version | String | Body | Version |
| support | String | Body | Minimum compatibility |
| remark | String | Body | Remark |
Request Example
GET /api/v1.0/invoke/open-ability/method/versions
Content-Type: application/json
Accept: application/json
Success Return Example
Status Code: 200
Content-Type: application/json
{
"success": true,
"timestamp": 1540869200562,
"result": {
"version_id": "ve13a8919d43f40cbbd0524f1e2f57bd2",
"version": "1.0",
"support": "",
"remark": ""
}
}