Vai al contenuto principale
GET
/
v1
/
monitoring
/
last-seen
/
{siteId}
Ottieni Orario Ultima Rilevazione
curl --request GET \
  --url https://api.altostrat.io/v1/monitoring/last-seen/{siteId} \
  --header 'Authorization: Bearer <token>'
{
  "last_seen": "2 minuti fa"
}

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

L'identificatore univoco per il sito.

Example:

"d8f8f8f8-f8f8-f8f8-f8f8-f8f8f8f8f8f8"

Response

L'orario dell'ultima rilevazione per il dispositivo.

last_seen
string | null

Una stringa leggibile che indica quanto tempo fa il dispositivo ha effettuato l'ultimo check-in.

Example:

"2 minuti fa"