Device heartbeat (every 60 s): updates lastSeenAt and firmware version.
Input
Encoding
application/jsondeviceId
string
Required
No description available.
maxLength: 64 bytesfirmwareVersion
string
Optional
No description available.
maxLength: 32 bytesonline
boolean
Optional
No description available.
Output
Encoding
application/jsonok
boolean
Required
No description available.
Errors
DeviceNotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Device heartbeat (every 60 s): updates lastSeenAt and firmware version.",
"errors": [
{
"name": "DeviceNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"deviceId": {
"maxLength": 64,
"type": "string"
},
"firmwareVersion": {
"maxLength": 32,
"type": "string"
},
"online": {
"type": "boolean"
}
},
"required": [
"deviceId"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"ok": {
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
},
"type": "procedure"
}