TheThingSystem / steward

The Thing System is a set of software components and network protocols that aims to fix the Internet of Things. Our steward software is written in node.js making it both portable and easily extensible. It can run on your laptop, or fit onto a small single board computer like the Raspberry Pi.
http://thethingsystem.com
Other
346 stars 81 forks source link

an issue in wiki help document #281

Open zhoumingchun opened 9 years ago

zhoumingchun commented 9 years ago

in https://github.com/TheThingSystem/steward/wiki/Devices for Delete Device Section

Delete Device To "define" a device, an authorized client sends: ------------> maybe "delete" is correct

{ path : '/api/v1/actor/device/ID' , requestID : 'X' } where ID corresponds to the deviceID of the device to be deleted, and X is any non-empty string, e.g.,

{ path : '/api/v1/actor/device/7' , requestID : '4' }

zhoumingchun commented 9 years ago

To "define" a device, an authorized client sends: ------------> maybe "delete" is correct

{ path : '/api/v1/actor/delete/ID' , requestID : 'X' }