Sensors
This page regroups the sensors-related APIs.
Light Level
These are offered by devices with light level sensing capabilities.
List all available light levels.
Light Level Success Response
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
Get details of a single light from its given {lightId}.
ID of the light
Light Level Success Response
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
Update a single light from its given {lightId}.
ID of the light
Type of the supported resources (always light_level here)
true when sensor is activated, false when deactivated
Success
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
Temperature
These are offered by devices with temperature sensing capabilities.
List all temperatures
Temperature Success Response
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
Get details of a single temperature sensor from its given {temperatureId}.
ID of the temperature sensor
Temperature Success Response
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
Update a temperature sensor from its given {temperatureId}.
ID of the temperature sensor
Type of the supported resources (always temperature here)
true when sensor is activated, false when deactivated
Success
Unauthorized
Forbidden
Not Found
Method Not Allowed
Not Acceptable
Conflict
Too Many Requests
Internal Server Error
Service Unavailable
Insufficient Storage
Last updated
Was this helpful?