Items REST API - Add formatting flag [message #1775927] |
Wed, 08 November 2017 05:11  |
Eclipse User |
|
|
|
Hi,
I am sending a query to get a list of items from openhab from a low resource device. The problem is that the returned response is very big (comparing the total memory I have in the device). I already use tagging and type in the query but even though the returned size is very big.
If possible, I suggest to add a format flag that will support different formatting, e.g., compact & full (others ?). In full mode the returned list will be the same as today. In compact mode the returned list will only be the names of the items. Using the names I can manually get each item full configuration.
Other option will be to add extra REST API but I am not sure it is needed here.
What do you think?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04417 seconds