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
Hi @thjaeckle, @sejal-bansal!
I tried UpdateTwinWithLiveResponse mapper, [{"key":"/updated-via","value":"device-live-response"}] in put-metadata. I am facing error "message": "The wildcard expression '//updated-via' in header 'put-metadata' is not valid.",
how to fix this and I want to get the detailed implementation to achieve this in doc i have seen {
"dittoHeadersForMerge": {
"if-match": "",
"response-required": false,
"put-metadata": [
{"key":"/updated-by","value":"{{ request:subjectId }}"},
{"key":"/updated-via","value":"device-live-response"},
{"key":"/update-hint","value":"{{ header:some-custom-hint }}"},
{"key":"*/updated-at","value":"{{ time:now }}"}
]
}
} this much config example was there. can anyone help to do this properly
When e.g. using the following
put-metadata
header:On a HTTP request:
E.g. sending the payload:
Will also lead to all existing fields in the Thing getting the metadata, e.g. as in:
That is unexpected and should instead only modify the metadata of the provided fields to "PATCH".
The text was updated successfully, but these errors were encountered: