I'm trying to use the Admin API to add flows to a running Node-RED instance. The flow files are downloaded/exported with the build in Node-RED editor.
I've tried using the POST /flows
and it works adding the first flow, but when I want to add another one, the old flows disappear.
I've also tried using the POST /flow
, but I'm not sure how I need to set-up the exported Flow JSON, so it can be added. I keep getting "Unexpected error : Missing nodes property".
I'd appreciate any tips on how I can get this to work.