mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
065177b730
The /things, /rules, /ui/components endpoints retrieve all objects in their entirety, which can become very big, i.e. channels, config parameters, script rule modules or trees of UI components can quickly add up to the size. When the UI simply displays a list of those objects it retrieves all this extra information but does nothing with it. This introduces an optional ?summary=true query parameter for the above resources to limit the output to pre-defined fields which are deemed most relevant for displaying these lists, omitting the rest. When the option is not set, the behavior remains unchanged so this change is not API breaking. The API version has therefore not been incremented. The client is responsible for adding the option to retrieve summarized collections instead of the entire objects. Signed-off-by: Yannick Schaus <github@schaus.net> |
||
---|---|---|
.. | ||
src/main/java/org/openhab/core/automation/rest/internal | ||
.classpath | ||
.project | ||
NOTICE | ||
pom.xml |