Sending a http request, using POST /smartlock/{smartlockId}/config generates 422 error.
Documentation in swagger doesn’t give a solution.
Three cases of json element seemed to be possible:
element is to change (like name)
element is optional (like autoUnlatch)
element is read only (capabilities): what is the sense of using this in a POST
What are the rules for constructing a correct body?
Partly solved, take the result of a GET as structure for firing POST request. In meantime still unclear the error message
I agree. Documentation could be better in this regard. I also pass the whole config now even though it is only one parameter I’d like to change.