Closed cskiraly closed 8 years ago
POST and DELETE should work as in https://github.com/Agile-IoT/agile-core/blob/master/test/http/Discover.sh GET is in fact not implemented. We should add DiscoveryStatus to the Protocol, and expose it through the ProtocolManager.
Nice! @cskiraly will you update the api on http://217.77.95.110 when you get a chance?
Sorry, I was only able to start it up now. We will work on automating this better in the future.
pi@raspberrypi:~/AGILE/agile-scripts $ curl -X GET http://localhost:8080/api/protocols/discovery [{"parameters":["iot.agile.protocol.BLE","NONE"],"name":"iot.agile.protocol.BLE","status":"NONE"}]
As you can see I'm still getting a strange "parameters" key that I have to investigate, but otherwise it looks fine. You can simply avoid "parameters" for now.
Split from #7
All /api/protocols/discovery/* don't appear to work. eg GET http://217.77.95.110:8080/api/protocols/discovery 500 (Internal Server Error) // returns internal server error