الانتقال إلى المحتوى الرئيسي
GET
/
v1
/
monitoring
/
last-seen
/
{siteId}
الحصول على آخر وقت ظهور
curl --request GET \
  --url https://api.altostrat.io/v1/monitoring/last-seen/{siteId} \
  --header 'Authorization: Bearer <token>'
{
  "last_seen": "منذ دقيقتين"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

siteId
string<uuid>
required

المعرّف الفريد للموقع.

Example:

"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"

Response

آخر وقت ظهور للجهاز.

last_seen
string | null

نص مقروء بشريًا يشير إلى المدة التي مضت منذ آخر تسجيل دخول للجهاز.

Example:

"منذ دقيقتين"