Endpoints to retrieve device status and basic information.
GET /api2/sw_state
viewerGET /api2/sw_state/info
viewer
info
sectionGET /api2/sw_state/admin
viewer
info
sectionPUT /api2/sw_state/admin
admin
admin
sectionPUT /api2/sw_state/asset
admin
asset
section{
"uptime": 213,
"date": 1548771939,
"info":{
"hw_rev":"v1.0",
"sw_ver":"v0.0",
"model":"XX-1800G"
"serial_number":"-",
},
"admin":{
"admin_name":"-",
"admin_phone":"-",
"admin_email":"-",
},
"asset":{
"name":"-",
"code":"-",
"location":{
"building":"-",
"address":"-",
"city":"-",
"region":"-",
"country":"-"
}
}
}