Does the Rayhunter server have a REST API for querying statuses and history? If not, it would be great to add one so that other connected devices could query the Rayhunter and take action based on the status.
It needs to be documented but there is a Rest API that can be queried. You can see the endpoints here: https://github.com/EFForg/rayhunter/blob/f2b722ad5f863dcb2f19e32e79584459f2d15876/bin/src/daemon.rs#L45-L60
It needs to be documented but there is a Rest API that can be queried. You can see the endpoints here: https://github.com/EFForg/rayhunter/blob/f2b722ad5f863dcb2f19e32e79584459f2d15876/bin/src/daemon.rs#L45-L60