eclipse-agail / agile-core

Source code repository for agile core components
Eclipse Public License 2.0
7 stars 16 forks source link

/api/devices/typof error #35

Closed craigmulligan closed 8 years ago

craigmulligan commented 8 years ago

call: GET http://217.77.95.110:8080/api/devices/typof

response: Malformed JSON: Syntax error

connected to #27 and therefore blocking device registration

craigmulligan commented 8 years ago

tried GET http://217.77.95.110:8080/api/devices/typeof too

response:

{
  "code": "INTERNAL_SERVER_ERROR",
  "message": null
}
cskiraly commented 8 years ago

I will update swagger as soon as I'm out of a meeting. Till then, here is the example we use: https://github.com/Agile-IoT/agile-core/blob/master/test/http/registerDevice2.sh

doitdagi commented 8 years ago

Posting DeviceOverview to http://217.77.95.110:8080/api/devices/typeof should now return an array of possible types for the posted device. The swagger example has also been updated accordingly.