}
}
}
Power Status Command
Table 102: Command Details
Description
Command Detail
https://192.168.0.1/ws/v2/status/device/power
Command URL
Return power status of all or individual slot(s) within the chassis.
Command Information
GET
HTTP Method
Read
Access Type
Guest, User, Admin
Access Level
GET "https://192.168.0.1/ws/v2/status/device/power"
Syntax
URI Parameters (extension to the Command URL separated by /): N/A
The following table lists the URI argument:
Table 103: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
Description
URI Argument
Slot number within the chassis
Type: Integer
Value: 0 to (number of slots in chassis
–
1)
slot
Format output using JSON standard
Type: exist
Values: any value or empty (any of js=1, js, js=0, or js=9999 are
valid)
Omitting this argument formats the output by default in XML.
js (optional)
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
114
API Definitions
Device Status Command