Hello there,
I am running Node-RED 3.0.2 in a dockerized environment on Ubuntu 20.04 and I am using the API to restart the flows, only to discover that by calling the API from the istance itself it restarts the whole instance, not only the specified flow. This also happens if the same POST request is made from another machine or container.
The Node-RED-Deployment-Type header is used to define what type of deployment is performed.
full - all existing nodes are stopped before the new configuration is started. This is the default behaviour if the header is not provided.
nodes - only nodes that have been modified are stopped before the new configuration is applied.
flows - only flows that contain modified nodes are stopped before the new configuration is applied.
reload - the flows are reloaded from storage and all nodes are restarted (since Node-RED 0.12.2)