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

Consider using synchronous member of action affordances in Thing Descriptions #3084

Open
benfrancis opened this issue Apr 27, 2023 · 0 comments
Labels
task w3c-compliance wot-profile W3C WoT Profile specification wot-thing-description W3C WoT Thing Description specification

Comments

@benfrancis
Copy link
Member

The WoT Thing Description specification has a synchronous member for action affordances which provides a Consumer with a hint as to whether the action behaves synchronously (output in the response to the invokeaction request) or asynchronously (a new resource is created to track the status of the action).

The WoT Profile specification also uses this member to distinguish between actions which provide a synchronous or asynchronous response.

Currently WebThings Gateway does not provide this member for actions, but it could provide it and set it to true since actions exposed by WebThings Gateway are always asynchronous.

This is not essential for W3C WoT compliance, but could be a useful hint for Consumers.

@benfrancis benfrancis added w3c-compliance wot-thing-description W3C WoT Thing Description specification wot-profile W3C WoT Profile specification task labels Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task w3c-compliance wot-profile W3C WoT Profile specification wot-thing-description W3C WoT Thing Description specification
Projects
None yet
Development

No branches or pull requests

1 participant