-
Notifications
You must be signed in to change notification settings - Fork 17
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
RD usage (endpoint vs. resource) #120
Comments
Thank you for your helpful comments, @chrysn ! Yes, I think that we should use
(432 is CoAP Content-Format ID of Is it correct from the view of CoRE-RD architecture? |
Thans for your fast response – yes, that looks better. Personally, I think that it'd also make sense to advertise some properties of the TD in the RD right away (sticking with the canonical example, that make a registration entry like the below) -- but that only makes sense if applications can use it to pre-filter responses. When the coral-reef RD extension is ready (which, alas, is expected to happen only after wot-discovery is), some of the statements inside could be precisely converted to RD content and thus be queriable more precisely (like "give me devices that have toggle commands"); that should be a seamless extension by then. By the way, please note that the Resource Type is managed by an IANA "Specification Required" registry, so at some point the wot-discovery document it may help to state that "IANA will be asked to allocate ...". |
resolved by PR #121 |
The way a wot.thing and a wot.directory are registered at an RD (currently in https://w3c.github.io/wot-discovery/#introduction-core-rd) is at odds with how an RD is designed to accommodate multiple applications (including WoT) running on a single host.
Endpoints should primarily submit their resources (hence the name ;-) ), or at very least those that serve as entry points for further steps, as links to the RD to be looked up in resource lookup. I don't know the current WoT spec well enough to say whether a thing should only submit its one or multiple links to an RD, but either way they should be discoverable through resource lookup. The endpoint lookup interface (on which details like
et=wot.thing
would be visible) is intended more for administrative purposes, and should not be the go-to lookup method outside of cases that unconditionally need to inspect it on a per-registration level.The text was updated successfully, but these errors were encountered: