NubeIO / iot-engine

IoT Engine
5 stars 1 forks source link

Design public REST API/Websocket for 3rd system #54

Open zero88 opened 5 years ago

cooperbrindle commented 5 years ago

https://www.lucidchart.com/documents/edit/7fa09e80-edf8-46be-908f-7f542b849d6f/0

@zero-88 Could you please review this design

zero88 commented 5 years ago

@cooperbrindle For designing REST API, I suggest using https://editor.swagger.io/ For example: import swagger.yaml in https://editor.swagger.io/ then continue editing. (Rename to extension file from log -> yaml)

Btw, in general, we will use URL path for discover service instead of attach data in request body