Files
openhab-core/bundles/org.openhab.core.io.rest.core
lolodomoandGitHub 00b6a476a7 [REST] New API for conversion between file format and JSON (#4793)
* [REST] New API for conversion between file format and JSON

Related to #4585

This PR supports conversion of things and items.
It supports DSL and YAML file formats.

A first new API (POST /file-format/create) allows to create a file format (DSL or YAML) from a JSON object.
A second new API (POST /file-format/parse) allows to parse a file format (DSL or YAML) to a JSON object.

These 2 APIs should help Main UI displaying DSL and YAML file formats for things.

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
2025-09-21 11:48:33 +02:00
..
2024-12-24 07:02:47 +01:00
2019-02-15 10:46:18 +01:00
2025-07-21 21:10:15 +02:00