openhab-core icon indicating copy to clipboard operation
openhab-core copied to clipboard

[REST] Endpoint for binding actions missing

Open spacemanspiff2007 opened this issue 6 years ago • 3 comments

Currently it is only possible to get persistence providers through the Rest API. Threre should be a generic way to interact with binding actions analog to persistance, too.

spacemanspiff2007 avatar Jul 16 '19 05:07 spacemanspiff2007

It would be nice if this could be on the roadmap for OH3.

spacemanspiff2007 avatar Jul 07 '20 11:07 spacemanspiff2007

GET /things/{thingUID}/actions -> get a list of available actions POST /things/{thingUID}/actions/{actionName} -> execute action, inputs as JSON

Would that be what you thought about? I didn't check if implementation is possible, but before that it should be clear what is expected.

J-N-K avatar Feb 19 '22 13:02 J-N-K

Yes - that or something similar is what I would have expected.

spacemanspiff2007 avatar Feb 19 '22 15:02 spacemanspiff2007