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

Change mediaType to type for links in API #2808

Closed
benfrancis opened this issue Mar 8, 2021 · 0 comments
Closed

Change mediaType to type for links in API #2808

benfrancis opened this issue Mar 8, 2021 · 0 comments
Labels
task w3c-compliance wot-thing-description W3C WoT Thing Description specification
Milestone

Comments

@benfrancis
Copy link
Member

benfrancis commented Mar 8, 2021

Blocks: #2802

Currently Link objects in a Thing Description exposed by the gateway can define a mediaType, but in the W3C specification it is called type. Let's change it to be compliant.

This includes:

  1. Changing remaining links in Thing Descriptions exposed by the gateway to use type rather than mediaType
  2. Updating the gateway's front end to expect this

See WebThingsIO/api#125 for previous discussion

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

No branches or pull requests

1 participant