Open janvda opened 4 years ago
I would suggest that for the first version: the actual service name is specified in the msg.payload of the incoming message for the start, stop and restart nodes.
I have created the 4 nodes in my branch https://github.com/janvda/node-red-contrib-balena/tree/service_start_stop_nodes
It would be interesting to extend the existing node-red-contrib-balena nodes with nodes that allow to stop, start, restart a specific service of a multicontainer balena application. Similarly as can be done via the BalenaCloud dashboard.
So I think for this a node-red node wrapper is needed for the following HTTP API requests:
For this it might also be interesting to have a node that allows to retrieve a list of all balena services running on the balena device.
So I think for this a node-red node wrapper is needed for following HTTP API request: