User should be able to get positions of devices from the REST client. #379
Labels
enhancement
New feature or request
python
Pull requests that update Python code
rest api
Potential REST API changes
We expose the
move
stub, which takes a mapping of device to value to move them to. But we don't expose what typevalue
should be per device, and for those devices with a JSONable value (which is probably only those that are Movable) we currently do not have any way of getting the location of those devices without running acount
plan.There should be a REST endpoint that can be called to:
If there is a running task, return 503: Server Busy
Otherwise:
Create a task to read either a selection or all of the Movable devices
Return those values as a JSON blob {"device_name": device_value}.
The text was updated successfully, but these errors were encountered: