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

a mistake in wiki document "https://github.com/TheThingSystem/steward/wiki/Activities" #282

Open zhoumingchun opened 9 years ago

zhoumingchun commented 9 years ago

To create a event, an authorized client sends:

{ path : '/api/v1/event/create/UUID' , requestID : 'X' , name : 'NAME' , actor : 'TYPE/ID' , observe : 'EVENT' , parameter : 'PARAMS' , comments : 'COMMENTS' }

where UUID corresponds to an unpredictable string generated by the client, X is any non-empty string, NAME is a user-friendly name for this instance, TYPE/ID identifies the actor that observes the event, TASK identifies the particular event, PARAMS provides the parameters, and COMMENTS (if present) are textual, e.g., <-------"TASK identifies the particular event" should modified "EVENT..."