Controller#
Methods#
GET#
Returns data about the controllers in the project.
GET /api/controller
Returns a JSON object with a single controllers
attribute, which has an array value. Each item in the array is a Controller object with the following attributes:
Attribute |
Value Type |
Description |
Value Example |
---|---|---|---|
|
integer |
Controller number |
|
|
string |
Controller type, e.g. “LPC” or “TPC” |
“LPC” |
|
string |
Controller user name, or the default name if none is set |
|
|
string |
Serial number of the controller |
|
|
string |
IP address of the controller if the controller is discovered; empty if the controller is not discovered or is the queried controller |
|
|
boolean |
Whether the controller is detected as online on the local network |
|
|
boolean |
Whether the controller is set as the network primary in the project |
|