Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events Member #6

Closed
benfrancis opened this issue Nov 25, 2016 · 1 comment
Closed

Events Member #6

benfrancis opened this issue Nov 25, 2016 · 1 comment
Milestone

Comments

@benfrancis
Copy link
Member

Subscriptions may be created to properties and actions by a GET request on a property or action resource which is upgraded to a WebSocket connection such that data can be pushed from the server to the client when necessary.

There may be use cases where a client wants to subscribe to events other than changes in property resources or the creation of or changes to action resources.

For example, a Thing may have a "temperature" property which could be subscribed to whenever the temperature changes, but the Thing may also want to emit an event only when the temperature passes a certain threshold.

Should we add an "events" member to the Web Thing Description in addition to "properties" and "actions" for this type of use case? Is there a way for events be represented by resources in a RESTful way?

@benfrancis benfrancis changed the title Events Events Member Nov 25, 2016
@benfrancis
Copy link
Member Author

Events resource added https://moziot.github.io/wot/#events-resource

Follow-up work may be needed to link to each event type.

@benfrancis benfrancis modified the milestone: Q2 2017 May 25, 2017
benfrancis pushed a commit to benfrancis/wot that referenced this issue Feb 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant