Download OpenAPI specification:Download
API description for SmartTime device server communication
Device will send this request when it boots up of whenever API key is invalidated
Heart Beat from device
| dev_id required | string |
{- "dev_id": "ST-D0000122"
}{- "status": "ok",
- "error": 0,
- "token": "==weeadhsja/AB434324kdhaksjdhkajsdhajksdhjaksdhjasd"
}This API call sends device status to server as well as get status from the server
Heart Beat from device
| status required | string Enum: "ok" "notok" pet status in the store |
| error | integer <int32> Device error codes |
| timestamp required | integer Timestamp from the device |
{- "status": "ok",
- "error": 0,
- "timestamp": 1697555433
}{- "status": "ok",
- "error": 0,
- "timestamp": 1697555433,
- "commands": [
- {
- "type": "enrollment_new",
- "nops": 10
}
]
}