Smart Device
Smart device object
{
"alertTypeSignals": [
{
"alertTypes": [
"AREA",
"APRON"
],
"signalType": "STATIC",
"signalDuration": 10
}
],
"name": "et non pariatur proident",
"connectionMethod": "MQTT_EMBEDDED",
"ipAddress": "127.0.0.1",
"cameraId": "b329e635-DaD6-3C15-E4eD-3F7AfbDce2BE",
"facilityId": "aA4bbFb0-FB65-4Ee9-8aCb-64Aa07efe0Bb",
"username": "consequat",
"password": "password1234"
}
Endpoints
Get smart devices
GET/facilities/:facilityId/smart_devices
Arguments
PATH PARAMETERS
- :facilityId
UUID
required Id of the facility
Response
Returns a list of smart device objects
{
"status": "ok",
"data": [
{
"alertTypeSignals": [
{
"alertTypes": [
"AREA",
"APRON"
],
"signalType": "STATIC",
"signalDuration": 10
}
],
"name": "Smart",
"connectionMethod": "MQTT_EMBEDDED",
"ipAddress": "127.0.0.1",
"cameraId": "b329e635-DaD6-3C15-E4eD-3F7AfbDce2BE",
"facilityId": "aA4bbFb0-FB65-4Ee9-8aCb-64Aa07efe0Bb",
"username": "intenseye",
"password": "password1234"
}
]
}
Get smart device signals (Websocket)
GET/facilities/:facilityId/smart_devices/command
Arguments
PATH PARAMETERS
- :facilityId
UUID
required Id of the facility
QUERY STRING PARAMETERS
- key
String
required API Key
Response
{
"status": "ok",
"data":
{
"facilityId": "aA4bbFb0-FB65-4Ee9-8aCb-64Aa07efe0Bb",
"cameraId": "b329e635-DaD6-3C15-E4eD-3F7AfbDce2BE",
"alertType": "APRON",
"timestamp": "1614768086",
"isSimulated": "False"
}
}