API Definitions
If successful, the following is an example of the return body:
Version Selection Device Control Command
Table 224: Command Details
Command Detail
Command URL
Command Information
HTTP Methods
Access Type
Access Level
GET Syntax
POST Syntax
Only HTTP data body is
supported. POST from
XML/JSON file is not supported.
Table 225: Level_1 URI Parameters (extension to the Command URL separated by /)
URI Parameter
verselect
"response": {
"code": "10",
"result": "success",
"message": ""
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Description
https://192.168.0.1/ws/v2/device_ctl/ver
https://192.168.0.1/ws/v2/device_ctl/ver/<Level_1_URI_Parameter>
Allows getting all runnable software version information, selecting a
software version or deleting a software version.
GET, POST
Read, Write
User, Admin
All version Info
GET "https://192.168.0.1/ws/v2/device_ctl/ver"
Select a version:
POST "https://192.168.0.1/ws/v2/ver/verselect? idx=[s/w version
idx#]&reboot=Yes"
Delete a version:
POST "https://192.168.0.1/ws/v2/ver/verselect? idx=[s/w version
idx#]&erase=Yes"
Description
Version to be selected
URI Query/Set Arguments below are only valid when
this level URI parameter is used
Version Selection Device Control Command
269