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

Support ImageProperty and VideoProperty properties using forms #3091

Open
benfrancis opened this issue May 11, 2023 · 0 comments
Open

Support ImageProperty and VideoProperty properties using forms #3091

benfrancis opened this issue May 11, 2023 · 0 comments
Labels
w3c-compliance wot-thing-description W3C WoT Thing Description specification

Comments

@benfrancis
Copy link
Member

For W3C compliance Thing Descriptions now use forms instead of links for properties, actions and events.

Historically, instances of ImageProperty and VideoProperty would provide a link with rel: 'alternate' and mediaType: 'image/jpg' which a client would use to fetch binary files to display on the screen.

The front end may need updating to use forms instead of links to fetch these resources. Currently the Virtual Things Adapter is still providing links, but I think displaying them may be broken on master. Other add-ons may do the same.

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
w3c-compliance wot-thing-description W3C WoT Thing Description specification
Projects
Development

No branches or pull requests

1 participant