Hi Louay,
Thanks for this API. My comments follow below:
* dictionary ThingFilter {
attribute DOMString? type;
attribute ThingProximity? proximity;
attribute DOMString? id;
attribute DOMString? server;
};
So this is the address, URL, of a server containing a directory of "things", e.g. an IETF CoRE Resource Directory?
* Looking at security/privacy and access authorization aspects of this API is the assumption that the web application or server application (e.g. node.js) already has been authorized to access the "thing". If not, is it assumed that, after a thing has been discovered, that an authorization session with e.g. OAuth will be executed before the web app is allowed to access the thing?
Best regards
Claes
From: Bassbouss, Louay [mailto:louay.bassbouss@fokus.fraunhofer.de]
Sent: den 14 december 2015 13:27
To: public-wot-ig@w3.org
Subject: WebIDL for Thing API
Dear group members,
I just submitted the initial WebIDL draft of the Thing API [1] I demonstrated @TPAC in sapporo. It considers also feedback I received from some of you. It is just a draft to start with. Can we put an Agenda item to discuss it in the next phone call.
Regards,
Louay
[1]: https://github.com/w3c/wot/blob/master/TF-AP/thing-api/thing-api-webidl.md