ioBroker / ioBroker.simple-api

HTTP-API Interface to read and write objets and states
MIT License
41 stars 19 forks source link

create states if not exist #164

Closed Chris-656 closed 1 year ago

Chris-656 commented 1 year ago

It would be good if with an option --force the state would be created if under useradata_0. So more flexible data transfers would be possible.

http://ipaddress:8087/set/javascript.0.test?value=test?type=string or http://ipaddress:8087/set/0_userdata.test?value=1?type=number

with best regards Chris

Apollon77 commented 1 year ago

I'm not sure if we shpuld do this, because this would potentially also create states by just doing errornous requests or such ...