List supported sensors
GET/api/v1/devices/{deviceId}/capabilities/sensors
List the sensors the target device supports, with each sensor's name and the dtmi of its type. To read a sensor's settings definition, call GET capabilities/schema with type=configs and match the dtmi against an entry's @id. Only the device's own sensors are listed. A device without sensors of its own returns an empty list.
Independent of the device's current desired/reported configuration. Use the GET telemetry-configs endpoint for that.
Applies to WEDA Node and SubNode whose agent provides a capability model (agent SDK version 1.2 or later); otherwise 422. A Custom Device returns 404.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 503
Sensors the SubNode supports
The caller's resource_access claim could not be parsed
Authentication is required
The caller's token carries no role in the organization owning this device
Device not found, or outside the organizations the caller can access
The target device's agent provides no capability model, so this operation cannot be served
The device's capability report could not be read. Transient and not a statement about the device; retry.