W3C

WoT Scripting API

18 October 2021

Attendees

Present
Cristiano_Aguzzi, Daniel_Peintner, Kaz_Ashimura, Zoltan_Kis
Regrets
-
Chair
Daniel
Scribe
cris

Meeting minutes

Minutes

<dape> https://www.w3.org/2021/09/20-wot-script-minutes.html

Daniel: last call was 27th of September
… we talked about test fests and topics F2F meetining
… we reviewed a PR for not found error
… minutes are fine
… any objections?

<zkis> no

<cris> no: )

Daniel: minutes approved

quick updates

F2F

Daniel: we have a session next Wednesday about Scripting API

<dape> https://www.w3.org/WoT/IG/wiki/WG_WoT_Scripting_API_WebConf#18_October_2021

Daniel: we have 45 minutes
… we could talk about different topics: - how to configure binding layer - testfest results
… currently we support only a formIndex for interaction with bindings
… what do you think about it?

Zoltan: I'd propose a different API to interact with bindings
… maybe defined at Thing level

Daniel: what do you mean?

Zoltan: giving hints to the underlying API
… possible not per-interaction

Zoltan: WoT model is born to abstract low level interaction patterns, we shouldn't open it again

Daniel: for example the consumer only knows http therefore it should be able to communicate this to the runtime.

Kaz: What did people do during this PlugFest?
… they might provide good feedback

Daniel: true

Cristiano: maybe we can also use the option parameter to choose a particular security schema

Zoltan: yeah maybe it could be an array
… and then the runtime would throw if not security schema matches

Daniel: yeah we can provide options also to the exposer part

Cristiano: seems good

Daniel: I think we are having good points, I'll report those in the presentation to get more feedback

Zoltan: it is better to strictly define the algorithms about how the selection is done

Daniel: one topic that I want to talk about is discovery

Cristiano: the downsized the scope, it is only http right now

Daniel: ok and then we have the new Action Model
… which is missing

Zoltan: yeah we need to look at it

Daniel: we have different action models
… one "operational", in other words using op keywords
… other more based on hypermedia control

Zoltan: control objects might be a good way to describe the current spec

Cristiano: right

Daniel: similar to subscription object

Kaz: in cases where you have multiple instances you have to keep track also of who started it
… which creates complexities

Cristiano: about discovery should we implement other ways of discovery?

Zoltan: I think our API should be more focused on second phase

Daniel: I like to have a convient API please support things "around me"

Zoltan: we have a security problem there..
… in ocf this is not even allowed in one security realm.

Cristiano: should we have different endpoints for first level discovery?

Zoltan: we could but in another root object, cause I have security concerns

PRs

Daniel: we have an Open pr about alignment of typescript API with WebIDL

Cristiano: there might be an error in emitEvent

Daniel: ok to merge it?

Zoltan: ok

Kaz: ok

Daniel: thank you

<kaz> [adjourned]

Minutes manually created (not a transcript), formatted by scribe.perl version 136 (Thu May 27 13:50:24 2021 UTC).