RDM Discovery#
Methods#
POST#
Request to start a full RDM discovery. A 202 response will be returned if the request has been successfully queued. Results are available via a WebSocket subscription (see subscribe_rdm_discovery).
POST /api/rdm/discovery
Payload is a JSON object with a single universe attribute, which can either be a string in the Universe Key String Format or an RDM Universe Key object.
For example, to start a full discovery on DMX universe 2, the request payload could be:
{
"universe": "dmx:2"
}
or, alternatively:
{
"universe": {
"protocol": 1,
"index": 2
}
}
To start RDM discovery on the first port of the EDN 20 with number 4 in the project, the request payload could be:
{
"universe": "edn:edn20:4:1"
}
or, alternatively:
{
"universe": {
"protocol": 128,
"remote_device_type": 109
}
}
PUT#
Request to start an RDM discovery update, which is faster if a full RDM discovery has already been performed with a POST request. A 202 response will be returned if the request has been successfully queued. Results are available via a WebSocket subscription (see subscribe_rdm_discovery).
PUT /api/rdm/discovery
Payload is a JSON object with a single universe attribute, which can either be a string in the Universe Key String Format or an object with the same attributes as for the POST request.
GET#
Returns the cached results of the last RDM discovery operation.
GET /api/rdm/discovery?universe=universeId
universe specifies which output universe to fetch cached RDM discovery data for. Its value is a string in the Universe Key String Format.
Returns a JSON object with a devices attribute, which has an array value. Each item in the array is an RDM Device Info object.
GET (Unpatched Devices)#
Returns unpatched devices from the cached results of the last RDM discovery operation, grouped by universe.
GET /api/rdm/discovery/unpatched
Returns a JSON object of unpatched devices. Each key is a string in the Universe Key String Format and each item is an array of RDM Device Info objects.
Universe Key String Format#
A universe key string for RDM takes the form:
protocol:indexfor protocolsdmxandart-net;protocol:remoteDeviceType:remoteDeviceNum:portfor protocoledn.
Where:
remoteDeviceTypecan beedn10oredn20;remoteDeviceNumis an integer;portis an integer.
For example:
"dmx:1""edn:edn20:1:5"