Actions
Feature #640
openimrest should provide a configuration API
Start date:
12 Jul 2018
Due date:
% Done:
0%
Estimated time:
Severity:
03 - Medium
Description
This could be used by PiBoxd to query for where the IoT device registration directory can be found.
There is already the /monitor API. This needs to be extended to /monitor/{config,descriptor}.
The API should test if the request comes from internally (the localhost) or from externally. Only internal requests should be honored.
The API should provide the following information:- PairEnabledStamp
- ironmanDir
- monitorDir
- iotDir
- stampDir
- uuid (monitor's uuid)
This should all be returned in a JSON packet.
When this is implemented, update the piboxd's iot.c code to use it instead of using the hard-coded path to the iotDir and update Jarvis to use the /monitor/descriptor API instead of just /monitor.
Actions