Skip to main content
GET
/
api
/
v1
/
iot
/
devices
/
{deviceId}
/
data
Get device sensor data
curl --request GET \
  --url http://localhost:3000/api/v1/iot/devices/{deviceId}/data \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

JWT obtained from POST /api/v1/auth/login.

Path Parameters

deviceId
string
required

deviceId identifier

Query Parameters

limit
string

limit query parameter.

hours
string

hours query parameter.

Response

OK

Resource data (object or array depending on endpoint).