Users Manual

200 OK successful operation
400 Bad Request not a valid license
PUT /system/reboot
Reboot the sensor.
Template request
PUT /api/v1/system/reboot HTTP/1.1
Host: <rcvisard>
Status Codes
200 OK successful operation
GET /system/rollback
Get information about currently active and inactive firmware/system images on sensor.
Template request
GET /api/v1/system/rollback HTTP/1.1
Host: <rcvisard>
Sample response
HTTP/1.1 200 OK
Content-Type: application/json
{
"active
_
image": {
"image
_
version": "rc
_
visard
_
v1.1.0"
},
"fallback
_
booted": false,
"inactive
_
image": {
"image
_
version": "rc
_
visard
_
v1.0.0"
},
"next
_
boot
_
image": "active
_
image"
}
Response Headers
Content-Type application/json
Status Codes
200 OK successful operation (returns FirmwareInfo)
Referenced Data Models
FirmwareInfo (Section 8.2.3)
PUT /system/rollback
Rollback to previous firmware version (inactive system image).
Template request
PUT /api/v1/system/rollback HTTP/1.1
Host: <rcvisard>
Status Codes
200 OK successful operation
500 Internal Server Error internal error
8.2. REST-API interface 148