Lighting
Lighting resources interact with the canvas and currently playing effects. Here you can see the current effect, change it, change it's preset, or iterate through all currently installed effects for the user.
Method | Endpoint |
|---|---|
GET | lighting |
PATCH | lighting/global_brightness |
PATCH | lighting/enabled |
GET | lighting/effects |
GET | lighting/effect/:id |
GET | lighting/effect/:id/presets |
PATCH | lighting/effect/:id/presets |
POST | lighting/effect/:id/apply |
GET | lighting/next |
POST | lighting/next |
GET | lighting/previous |
POST | lighting/previous |
POST | lighting/shuffle |
Get Current Effect
Fetches information about the current playing effect, Global Brightness, and Canvas Play State. The self link can be used to get more information about this effect if desired.
Set Global Brightness
Sets the current Global Brightness.
Play/Pause Canvas
Sets if the Canvas is currently active. When disabled all devices will receive black (#000000) for all color requests.
Get Installed Effects
Returns a list of all installed effects the user has.
Given the potential payload size of this endpoint care should be taken to reduce the number of calls to it.
Get Effect Information
Returns detailed information about a specific effect.
If the given effect id doesn't exist this endpoint will return a 404 error.
Get Effect Presets
Returns a list of available Presets for this effect.
If the given effect id doesn't exist this endpoint will return a 404 error.
Apply Effect Preset
Applies the target effect preset for the effect id given.
If the given effect id, or preset doesn't exist this endpoint will return a 404 error.
Apply Effect
Applies the given effect id if it exists.
If the given effect id doesn't exist this endpoint will return a 404 error.
Get Next Effect
Returns information about the next effect in history if available. If effect history doesn't contain a next effect then this endpoint will return a 409 error.
Apply Next Effect
Mimics a Media Fast Forward operation on the currently playing effect. If there is no next effect in history SignalRGB will shuffle in a random installed, non-game integration, non-developer effect.
Returns the newly applied effect.
Get Previous Effect
Returns information about the previous effect in history if available. If effect history doesn't contain a previous effect then this endpoint will return a 409 error.
Apply Previous Effect
Mimics a Media Rewind operation on the currently playing effect. If there is no previous effect in history this will return a 409 error.
Returns the newly applied effect.
Apply Random Effect
Mimics a Media Shuffle operation on the currently playing effect. SignalRGB will shuffle in a random installed, non-game integration, non-developer effect.
Returns the newly applied effect.
