Update Device Brightness
PUT/v1/device/:deviceUid/brightness
Request change device brightness by deviceUid.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
deviceUid | string | required | device application id |
Body
| Field | Type | Description |
|---|---|---|
brightness1 | number | device brightness in percent 0-100 |
timeFrom1 | HH:MM:SS | starting time for brightness 1 |
brightness2 | number | device brightness in percent 0-100 |
timeFrom2 | HH:MM:SS | starting time for brightness 2 |
Request
Responses
- 200
- 400
- 402
- 403
- 404
OK message with link in header
Response Headers
Link
Contains URL pointing to the resource
Bad Request
Payment Required - Feature entitlement missing
Forbidden
Not Found