Device Ping
Send a heartbeat ping to maintain the device session.
Endpoint
POST /v1/ping
Description
This endpoint is used to maintain an active session with the device. It should be called periodically to indicate that the device is still online and functioning.
Request
Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | Bearer token for authentication |
| X-Session-Id | string | Yes | Session ID from the session endpoint |
Response
200 OK
{
"status": "ok"
}
Error Responses
| Status Code | Description |
|---|---|
| 401 | Unauthorized |
| 403 | Invalid or expired session |
| 500 | Internal server error |