hit counter script

Cisco D9800 Reference Manual page 282

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

Version Selection Device Control Command
Note
.
Table 226: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
idx (Key)
name
reboot
erase
js
GET Method Examples:
Display runnable software versions information in XML or JSON.
Show all version info in XML:
curl -k -H "X-SESSION-ID: $token" "https://192.168.0.1/ws/v2/device_ctl/ver"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1" ?>
<devicectl><ver><verselect><idx>0</idx><name>1.10</name><reboot>No</reboot><erase>No</erase>
</verselect><verselect><idx>1</idx><name>T2.25C1</name><reboot>No</reboot><erase>No</erase>
</verselect><verselect><idx>2</idx><name>T2.25B7</name><reboot>No</reboot><erase>No</erase>
</verselect><verselect><idx>3</idx><name></name><reboot>No</reboot><erase>No</erase></verselect>
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
270
All of the URI Arguments below apply to both GET and POST except where indicated. For GET,
the URI arguments do not need any values, except the idx which must be specified. For POST, the
idx must be specified followed by any of the below URI arguments and the associated value the user
would like to set. Various CURL examples can be seen below
Description
Software version index
Type: Digit
Value: 0 ~ 8
Software version Name
Type: String
Value: software version naming format, for example,
T0.10B7(T0.10B5)
For POST command syntax, this option is not used. It is valid
Note
as exist (no value) filter for GET command, also in the output
data.
To run the software version to be selected
Type: String
Value: Yes, No
To delete the software version to be selected.
Type: String
Value: Yes, No
Format output using JSON standard
Type: exist
Values: any value or empty (ie any of js=1 or js or js=0 or js=9999 are
valid)
Omitting this argument formats the output by default in XML
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents