Skip to content

Discussion about read- write-/multipleproperties #219

Open
@danielpeintner

Description

@danielpeintner

In the Scripting API call we did have an interesting discussion about what does op readmultipleproperties mean. We did have the feeling that the TD spec is not super clear about that case. I tried to look into it and found the following para (last para in 5.3.1.1 Thing)

If not specified otherwise (e.g., through a TD Context Extension), the request data of the readmultipleproperties operation is an Array that contains the intended PropertyAffordances instance names, which is serialized to the content type specified by the Form instance.

This seems to match with what we have in https://w3c.github.io/wot-scripting-api/#the-readmultipleproperties-method. There needs to be a dedicated form with op being readmultipleproperties and one can specify an array of property names.
Does everybody agree?

In the case of writemultipleproperties it is the same I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions