bitfocus / companion-module-renewedvision-pvp

MIT License
1 stars 2 forks source link

Add support for Target Sets #6

Closed chrisrouse closed 5 years ago

chrisrouse commented 5 years ago

This one is straight forward. It only requires the ID for a target set and the layer. The target set is used to change which targets are used on a selected layer.

Request:

curl -X POST http://localhost:8080/api/0/targetSet/layer/0 -k

 JSON Body:

{
    "value" : "Target Set 1"
}
chrisrouse commented 5 years ago

Code to add support for Target Sets. Current limitation is that it only selects by Name or UUID, not by index. I've filed a bug report with Renewed Vision about this. https://gist.github.com/chrisrouse/911369e55b0c3314d323cebe92f1cfe2

chrisrouse commented 5 years ago

Added request to main project. Closing this one.