How To Query Items Things and Bindings [message #1751273] |
Fri, 06 January 2017 17:48 |
Daniel Auer Messages: 2 Registered: January 2017 |
Junior Member |
|
|
Hi,
I've just made my first binding and now i'm wondering, how i get access to the things i configured, so i have a few questions to ask.
1. How can i get all items, which are currently configured?
The Reason, why i need this, is that i want to build a binding, that returns static information, such as a list of all items or all bindings currently configured.
Then i would build different applications ( Android App, iOS App, Web UI, ... ), which will get the information about the ui from this binding ( probably as a JSON or something similar ).
2. How do i extend the underlying Database by some more tables? (Example: Protocol, User Management )
I appreciate your help.
Thank you
|
|
|
|
Re: How To Query Items Things and Bindings [message #1751499 is a reply to message #1751430] |
Tue, 10 January 2017 19:54 |
Daniel Auer Messages: 2 Registered: January 2017 |
Junior Member |
|
|
Hi Kai,
I plan on making a binding, that improves the security.
As far as i understand, if the server is running in a network, every user in the network can execute every command, or get any information from the REST api.
This binding should call the ESH directly, and return the values. ( for example controlling items and reading information from them should be allowed, however creating or deleting items should not be allowed )
If there is no other way, i will just make a binding that calls the REST Api if the call is GET or PUT and raise an error, if it is not.
I think, i'll find a way.
Thank you Kai
|
|
|
|
Powered by
FUDForum. Page generated in 0.02406 seconds