Hey guys I just had a go at integrating the ui with the API. I found a few endpoints that didn't resolve. I'm opening one issue as they may have changed from the spec or they may just not be working on the demo, unfortunately, they are important endpoints and I can't move forward without them.
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
Cannot register a device
POST http://217.77.95.110:8080/api/devices 500 (Internal Server Error)
Cannot get a device resource
GET http://217.77.95.110:8080/api/devices/ble68C90B179306 500 (Internal Server Error)
{
"code": "INTERNAL_SERVER_ERROR",
"message": "Not implemented"
}
Hey guys I just had a go at integrating the ui with the API. I found a few endpoints that didn't resolve. I'm opening one issue as they may have changed from the spec or they may just not be working on the demo, unfortunately, they are important endpoints and I can't move forward without them.
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 errorCannot register a device
POST http://217.77.95.110:8080/api/devices 500 (Internal Server Error)
Cannot get a device resource
GET http://217.77.95.110:8080/api/devices/ble68C90B179306 500 (Internal Server Error)
{ "code": "INTERNAL_SERVER_ERROR", "message": "Not implemented" }/DeviceManager/Devices
NIT: There is no name attribute returned in the resource. But the spec it is present. http://petstore.swagger.io/?url=http://agile-iot.github.io/agile-api-spec/docs/swagger/api.swagger.yml#!/DeviceManager/DevicesAs I said feel free to split this into separate issues if need.