Output#
Note
The endpoints listed on this page require a project to be loaded on the controller.
Methods#
POST#
Enable/disable the output of a selected protocol from the controller.
POST /api/output
Payload is a JSON object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
string |
Protocol to disable. Options: |
|
|
string |
Whether to |
|
GET#
Returns the lighting levels being output by the queried controller.
GET /api/output?universe=universeKey
universeKey is a string; see Universe Key String Format.
For example:
GET /api/output?universe=dmx:1
Attribute |
Value Type |
Description |
Value Example |
|---|---|---|---|
|
array |
Array of string channel levels |
|
|
bool |
Whether the output has been disabled |
|
Channel Level Strings#
A channel level string is formatted as follows:
Format |
Description |
Value Example |
|---|---|---|
|
Unpatched |
|
|
Patched |
|
|
Parked |
|
|
Overridden |
|
Universe Key String Format#
A universe key string takes the form:
protocol:indexwhere:protocolisdmx,sacn, orart-net;indexis the index of the output port, 1 or 2, matching the port on the Express controller.
For example:
"dmx:1"refers to port 1 on the Express Controller