You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason the /things endpoint on the gateway includes a value member in each property affordance which provides the value of the property at the time the resource was requested. It has been noted that there are circumstances under which it also reports the wrong value.
I'm not sure how long it has been this way but according to the API specification property values should not be included in the Things resource, they should only be returned when fetching a Property resource or Properties resource. This is also not W3C compliant.
We should remove the value member from the Thing Descriptions, but before we do that we need to check whether this is consumed in the front end anywhere.
The text was updated successfully, but these errors were encountered:
Note: The values also appear in Thing resources (Thing Descriptions) and we should make sure they're removed from there too.
This may be limited to certain adapters. It's reproduceable with the Virtual Things adapter.
benfrancis
changed the title
Remove values of properties from Things resource in Web Thing API
Remove value member from Thing Descriptions
Jul 22, 2021
benfrancis
changed the title
Remove value member from Thing Descriptions
Remove value member of property affordances in Thing Descriptions
Jul 22, 2021
For some reason the
/things
endpoint on the gateway includes avalue
member in each property affordance which provides the value of the property at the time the resource was requested. It has been noted that there are circumstances under which it also reports the wrong value.I'm not sure how long it has been this way but according to the API specification property values should not be included in the
Things
resource, they should only be returned when fetching aProperty
resource orProperties
resource. This is also not W3C compliant.We should remove the
value
member from the Thing Descriptions, but before we do that we need to check whether this is consumed in the front end anywhere.The text was updated successfully, but these errors were encountered: