{
"device_id": "1702DTEST026"
}
curl --location --request POST '/v2/device/online/info' \
--header 'X-Tg-App-Id;' \
--header 'Accept-Language;' \
--header 'Authorization;' \
--header 'X-Tg-Signed-Headers;' \
--header 'X-Tg-Date;' \
--header 'Content-Type: application/json' \
--data-raw '{
"device_id": "1702DTEST026"
}'
{
"code": 200,
"msg": "ok",
"data": {
"is_online": 0,
"up_at": 0,
"down_at": 0,
"live_time": 0,
"dormant_status": {
"is_alive": true,
"last_heartbeat_data": "string",
"last_heartbeat_time": 0,
"sleep_login_time": 0,
"last_offline_time": 0
}
}
}