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

Add queryallactions operation #1232

Merged
merged 1 commit into from
Sep 22, 2021
Merged

Conversation

benfrancis
Copy link
Member

@benfrancis benfrancis commented Sep 21, 2021

This is the queryallactions operation proposed in #1200.

You may be pleased to know this is probably the final operation I'm going to propose for Thing Description 1.1. There are other potential candidates (like invokeanyaction, cancelallactions, queryactioninstance, cancelactioninstance and readpastevents) but I think we can live without them.

I think queryallactions is particularly important because without it there may be no way for a Consumer to enumerate ongoing actions, which may mean that only the Consumer which invokes an action can ever query its status and if that Consumer should crash, it may lose the reference to a dynamic resource needed to do so. This operation is probably also needed for the Core Profile, see w3c/wot-profile#99.

There's still some discussion about the payload format for meta operations, but this is being discussed in #1231.


Preview | Diff

@sebastiankb
Copy link
Contributor

from today's TD call, the group decided to merge this PR

@sebastiankb sebastiankb merged commit d2d6ce0 into w3c:main Sep 22, 2021
takuki added a commit to takuki/wot-thing-description that referenced this pull request Jan 30, 2022
egekorkan pushed a commit to egekorkan/wot-thing-description that referenced this pull request Feb 3, 2022
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

Successfully merging this pull request may close these issues.

2 participants