Edit nodes by API Methods, help me!

hi
I need some help
I want to edit the nodes remotely
or modification ( update ) to its properties
All this via front-end
I did some research and found this
https://nodered.org/docs/api/admin/methods/
ok so
my Question is this possible ?
If yes, so how to edit that and save it
For example, I want to change the name of the inject node to demo
And activate some options for example
active debug window
change Output to complete msg Object

I know you may be wondering why this is all
Because I simply want to amend some nodes via a web application (remotely without use node-red editor)
For example, modifying the serial port of the mobuse node remotely via web app (front-end) and user not login in the node-red .for edit its

Could some help please how to edit that and save folws via API Methods

so I Start with myFlow

[
    {
        "id": "455936c5.4dc638",
        "type": "tab",
        "label": "Flow 2",
        "disabled": false,
        "info": ""
    },
    {
        "id": "9755354.1a5d8c8",
        "type": "tab",
        "label": "Test"
    },
    {
        "id": "45b295b1.0045cc",
        "type": "function",
        "z": "9755354.1a5d8c8",
        "name": "request",
        "func": "msg.url = 'http://localhost:1880/red/flows';\nmsg.method = 'POST';\nmsg.headers = {};\nmsg.headers['content-type'] = \"application/json; charset=utf-8\";\nmsg.headers['Node-RED-Deployment-Type'] = \"reload\";\nmsg.headers['Node-RED-API-Version'] =  \"v2\";\nmsg.payload = {\n    \"flows\": [\n        {\n            \"type\": \"tab\",\n            \"id\": \"9755354.1a5d8c8\",\n            \"label\": \"Test\"\n        }\n    ]\n};\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 320,
        "y": 60,
        "wires": [
            [
                "cd0b9552.5f3be8"
            ]
        ]
    },
    {
        "id": "2a590784.f7a868",
        "type": "debug",
        "z": "9755354.1a5d8c8",
        "name": "results",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "x": 670,
        "y": 60,
        "wires": []
    },
    {
        "id": "38dbceb9.0b5482",
        "type": "inject",
        "z": "9755354.1a5d8c8",
        "name": "reload TAB",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 140,
        "y": 60,
        "wires": [
            [
                "45b295b1.0045cc"
            ]
        ]
    },
    {
        "id": "cd0b9552.5f3be8",
        "type": "http request",
        "z": "9755354.1a5d8c8",
        "name": "",
        "method": "use",
        "ret": "txt",
        "paytoqs": false,
        "url": "",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "x": 510,
        "y": 60,
        "wires": [
            [
                "2a590784.f7a868"
            ]
        ]
    },
    {
        "id": "4fd571c0.a666f",
        "type": "inject",
        "z": "9755354.1a5d8c8",
        "name": "",
        "props": [
            {
                "p": "payload",
                "v": "",
                "vt": "date"
            },
            {
                "p": "topic",
                "v": "",
                "vt": "string"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 150,
        "y": 160,
        "wires": [
            [
                "f1187019.7b86b"
            ]
        ]
    },
    {
        "id": "f1187019.7b86b",
        "type": "debug",
        "z": "9755354.1a5d8c8",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 400,
        "y": 160,
        "wires": []
    },
    {
        "id": "a5f64e62.b2892",
        "type": "function",
        "z": "9755354.1a5d8c8",
        "name": "request",
        "func": "msg.url = 'http://localhost:1880/red/flow/455936c5.4dc638';\nmsg.method = 'GET';\nmsg.headers = {};\nmsg.headers['content-type'] = \"application/json; charset=utf-8\";\nmsg.headers['Node-RED-API-Version'] =  \"v2\";\nmsg.payload = \"\"\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 260,
        "y": 100,
        "wires": [
            [
                "45bbbde1.fb50c4"
            ]
        ]
    },
    {
        "id": "4823faa6.7cb694",
        "type": "debug",
        "z": "9755354.1a5d8c8",
        "name": "results",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "x": 670,
        "y": 100,
        "wires": []
    },
    {
        "id": "fd389bb5.116958",
        "type": "inject",
        "z": "9755354.1a5d8c8",
        "name": "GET TAB",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 100,
        "y": 100,
        "wires": [
            [
                "a5f64e62.b2892"
            ]
        ]
    },
    {
        "id": "45bbbde1.fb50c4",
        "type": "http request",
        "z": "9755354.1a5d8c8",
        "name": "",
        "method": "use",
        "ret": "txt",
        "paytoqs": false,
        "url": "",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "x": 410,
        "y": 100,
        "wires": [
            [
                "2a8f791b.c3c2f6"
            ]
        ]
    },
    {
        "id": "2a8f791b.c3c2f6",
        "type": "json",
        "z": "9755354.1a5d8c8",
        "name": "",
        "property": "payload",
        "action": "",
        "pretty": false,
        "x": 550,
        "y": 100,
        "wires": [
            [
                "4823faa6.7cb694"
            ]
        ]
    },
    {
        "id": "f260eee7.3be6d",
        "type": "inject",
        "z": "455936c5.4dc638",
        "name": "",
        "props": [
            {
                "p": "payload",
                "v": "",
                "vt": "date"
            },
            {
                "p": "topic",
                "v": "",
                "vt": "string"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 130,
        "y": 80,
        "wires": [
            []
        ]
    }
]

I Get an individual flow configuration for First TAB (FLOW 2)
i need change vt from date to string

msg.payload.nodes[0].props[0].vt 


and see that

Posting to /flows replaces the entire flow configuration.

If you want to add an flow, you need to PUT to /flow
If you want to update an individual flow, you need to POST to /flow/<flow-id>

The format of the flow object is different between the /flows api and the /flow api - whic is probably the cause of the error you are hitting.

If you do a GET of /flow/<existing-flow-id> you’ll see the format required by the /flow api.

If you want to update an individual flow, you need to POST to /flow/

but in this link
https://nodered.org/docs/api/admin/methods/

I cant see

POST/flow/:id
I see only
POST /flow, POST /flows

POST /flow: Add a flow to the active configuration

{
  "id": "91ad451.f6e52b8",
  "label": "Sheet 1",
  "nodes": [ ],
  "configs": [ ]
}

https://nodered.org/docs/api/admin/methods/post/flow/

POST /flows : Set the active flow configuration.

[
  {
    "type": "tab",
    "id": "396c2376.c693dc",
    "label": "Sheet 1"
  }
]

https://nodered.org/docs/api/admin/methods/post/flows/

so normay work with POST /flow but
how to set "nodes": [ ], "configs": [ ]
how to filling this array (nodes and configs)

ok I updated with
PUT /flow/:id

[
    {
        "id": "9755354.1a5d8c8",
        "type": "tab",
        "label": "Test"
    },
    {
        "id": "455936c5.4dc638",
        "type": "tab",
        "label": "Flow 2"
    },
    {
        "id": "7d21e8fc.4809e8",
        "type": "persist-store",
        "filename": "./persistence.json",
        "interval": "60"
    },
    {
        "id": "45b295b1.0045cc",
        "type": "function",
        "z": "9755354.1a5d8c8",
        "name": "request",
        "func": "msg.url = 'http://localhost:1880/red/flows';\nmsg.method = 'POST';\nmsg.headers = {};\nmsg.headers['content-type'] = \"application/json; charset=utf-8\";\nmsg.headers['Node-RED-Deployment-Type'] = \"reload\";\nmsg.headers['Node-RED-API-Version'] =  \"v2\";\nmsg.payload = {\n    \"flows\": [\n        {\n            \"type\": \"tab\",\n            \"id\": \"9755354.1a5d8c8\",\n            \"label\": \"Test\"\n        }\n    ]\n};\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 320,
        "y": 60,
        "wires": [
            [
                "cd0b9552.5f3be8"
            ]
        ]
    },
    {
        "id": "2a590784.f7a868",
        "type": "debug",
        "z": "9755354.1a5d8c8",
        "name": "results",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "x": 670,
        "y": 60,
        "wires": []
    },
    {
        "id": "38dbceb9.0b5482",
        "type": "inject",
        "z": "9755354.1a5d8c8",
        "name": "reload TAB",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 140,
        "y": 60,
        "wires": [
            [
                "45b295b1.0045cc"
            ]
        ]
    },
    {
        "id": "cd0b9552.5f3be8",
        "type": "http request",
        "z": "9755354.1a5d8c8",
        "name": "",
        "method": "use",
        "ret": "txt",
        "paytoqs": false,
        "url": "",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "x": 510,
        "y": 60,
        "wires": [
            [
                "2a590784.f7a868"
            ]
        ]
    },
    {
        "id": "4fd571c0.a666f",
        "type": "inject",
        "z": "9755354.1a5d8c8",
        "name": "",
        "props": [
            {
                "p": "payload",
                "v": "",
                "vt": "date"
            },
            {
                "p": "topic",
                "v": "",
                "vt": "string"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 190,
        "y": 200,
        "wires": [
            [
                "f1187019.7b86b"
            ]
        ]
    },
    {
        "id": "f1187019.7b86b",
        "type": "debug",
        "z": "9755354.1a5d8c8",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "x": 400,
        "y": 200,
        "wires": []
    },
    {
        "id": "a5f64e62.b2892",
        "type": "function",
        "z": "9755354.1a5d8c8",
        "name": "request",
        "func": "msg.url = 'http://localhost:1880/red/flow/455936c5.4dc638';\nmsg.method = 'GET';\nmsg.headers = {};\nmsg.headers['content-type'] = \"application/json; charset=utf-8\";\nmsg.headers['Node-RED-API-Version'] =  \"v2\";\nmsg.payload = \"\"\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 260,
        "y": 100,
        "wires": [
            [
                "45bbbde1.fb50c4"
            ]
        ]
    },
    {
        "id": "4823faa6.7cb694",
        "type": "debug",
        "z": "9755354.1a5d8c8",
        "name": "results",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "x": 730,
        "y": 100,
        "wires": []
    },
    {
        "id": "fd389bb5.116958",
        "type": "inject",
        "z": "9755354.1a5d8c8",
        "name": "GET TAB",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "true",
        "payloadType": "bool",
        "x": 100,
        "y": 100,
        "wires": [
            [
                "a5f64e62.b2892"
            ]
        ]
    },
    {
        "id": "45bbbde1.fb50c4",
        "type": "http request",
        "z": "9755354.1a5d8c8",
        "name": "",
        "method": "use",
        "ret": "txt",
        "paytoqs": false,
        "url": "",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "x": 410,
        "y": 100,
        "wires": [
            [
                "2a8f791b.c3c2f6"
            ]
        ]
    },
    {
        "id": "2a8f791b.c3c2f6",
        "type": "json",
        "z": "9755354.1a5d8c8",
        "name": "",
        "property": "payload",
        "action": "",
        "pretty": false,
        "x": 550,
        "y": 100,
        "wires": [
            [
                "4823faa6.7cb694",
                "2978dd3a.719f42"
            ]
        ]
    },
    {
        "id": "2978dd3a.719f42",
        "type": "function",
        "z": "9755354.1a5d8c8",
        "name": "Update",
        "func": "msg.url = 'http://localhost:1880/red/flow/455936c5.4dc638';\nnodes = msg.payload.nodes\nnodes[0].name = \"demo3\"\nmsg.method = 'PUT';\nmsg.headers = {};\nmsg.headers['content-type'] = \"application/json; charset=utf-8\";\nmsg.headers['Node-RED-API-Version'] =  \"v2\";\nmsg.payload = {\n  \"id\": \"455936c5.4dc638\",\n  \"label\": \"Flow 2\",\n  \"nodes\": nodes\n  \n}\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "x": 700,
        "y": 160,
        "wires": [
            [
                "3b0517f8.feb278"
            ]
        ]
    },
    {
        "id": "f440c43a.944c78",
        "type": "debug",
        "z": "9755354.1a5d8c8",
        "name": "results",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "x": 750,
        "y": 240,
        "wires": []
    },
    {
        "id": "3b0517f8.feb278",
        "type": "http request",
        "z": "9755354.1a5d8c8",
        "name": "",
        "method": "use",
        "ret": "txt",
        "paytoqs": false,
        "url": "",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "x": 730,
        "y": 200,
        "wires": [
            [
                "f440c43a.944c78"
            ]
        ]
    },
    {
        "id": "f260eee7.3be6d",
        "type": "inject",
        "z": "455936c5.4dc638",
        "name": "demo3",
        "props": [
            {
                "p": "payload",
                "v": "",
                "vt": "date"
            },
            {
                "p": "topic",
                "v": "",
                "vt": "string"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": true,
        "onceDelay": "1",
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 130,
        "y": 80,
        "wires": [
            []
        ]
    },
    {
        "id": "641019e5.1d2ad8",
        "type": "persist in",
        "z": "455936c5.4dc638",
        "name": "demo",
        "storageNode": "7d21e8fc.4809e8",
        "x": 140,
        "y": 140,
        "wires": []
    }
]

now my issus I cant Load config or change it

so id for configs node its stored in storageNode

storageNode: "7d21e8fc.4809e8"


so I see 3 types Flows, Subflows, Global Configuration Nodes and config not found in flows but Global Configuration Nodes
so in this link you can load and set same keys into config via API method :

https://nodered.org/docs/api/context/methods/

now how to used to GET config node and change it with API method !??
Ity with

ContextStore.get(persist-store, filename)
but error

"ReferenceError: ContextStore is not defined (line 1, col 15)"

According to what I searched on the forum
There is no solution
I don't know if there is a plan in the future to add this option into HTTP Admin API Method
But I found a temporary solution
It is the modification of env variables in the runtime
so any Update or new env VAR created to setting.js and restart node-red dynamicaly to load the,new setting file

94r4d0x@DESKTOP-9KR27E3 MINGW64 /d/Project/node-red-template-embedded (master)
$ node script.js 
Express 4 https server listening on http://localhost:1880/red, serving node-red
03/12/21, 17:31:27 [info]  

Welcome to Node-RED
===================

03/12/21, 17:31:27 [info]  Node-RED version: v1.2.9-git
03/12/21, 17:31:27 [info]  Node.js  version: v12.16.3
03/12/21, 17:31:27 [info]  Windows_NT 10.0.19042 x64 LE
03/12/21, 17:31:28 [info]  Loading palette nodes
03/12/21, 17:31:29 [debug]  Module: node-red-contrib-json-db 0.6.2
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-json-db
03/12/21, 17:31:29 [debug]  Module: node-red-contrib-key-value-store 0.1.8
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-key-value-store
03/12/21, 17:31:29 [debug]  Module: node-red-contrib-persist 1.1.1
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-persist
03/12/21, 17:31:29 [debug]  Module: node-red-contrib-process-env 0.2.5
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-process-env
03/12/21, 17:31:29 [debug]  Module: node-red-contrib-projectdir 2.0.5
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-projectdir
03/12/21, 17:31:29 [debug]  Module: node-red-contrib-contextbrowser 0.0.4
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\node_modules\node-red-contrib-contextbrowser
03/12/21, 17:31:29 [debug]  Module: node-red-node-rbe 0.2.9
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\node_modules\node-red-node-rbe
03/12/21, 17:31:29 [debug]  Module: node-red-node-tail 0.1.1
03/12/21, 17:31:29 [debug]          D:\Project\node-red-template-embedded\node_modules\node-red-node-tail
03/12/21, 17:31:30 [info]  Context store  : 'memoryOnly' [module=memory]
03/12/21, 17:31:30 [info]  Context store  : 'file' [module=localfilesystem]
03/12/21, 17:31:30 [info]  User directory : D:\Project\node-red-template-embedded\.nodered
------ Engine started! ------
03/12/21, 17:31:30 [info]  Active project : Dev
03/12/21, 17:31:30 [info]  Flows file     : D:\Project\node-red-template-embedded\.nodered\projects\Dev\Dev.json
03/12/21, 17:31:30 [debug]  loaded flow revision: fc7f5516f689dcd5f9d66ffa60514b10
03/12/21, 17:31:30 [debug]  red/runtime/nodes/credentials.load : using active project key - disabled
03/12/21, 17:31:30 [debug]  red/runtime/nodes/credentials.load : keyType=disabled
03/12/21, 17:31:30 [info]  Starting flows
03/12/21, 17:31:30 [debug]  red/nodes/flows.start : starting flow : global
03/12/21, 17:31:30 [debug]  red/nodes/flows.start : starting flow : 9755354.1a5d8c8
03/12/21, 17:31:30 [debug]  red/nodes/flows.start : starting flow : 455936c5.4dc638
03/12/21, 17:31:30 [debug]  red/nodes/flows.start : starting flow : d17299e5.9ff148
03/12/21, 17:31:30 [error]  ./load3.json: ENOENT: no such file or directory, open './load3.json'
03/12/21, 17:31:30 [info]  Started flows
updateContext=>{"cmd":"updateContext","Data":{"presist-store":{"id":1,"env":"FOO","config":{"Filename":"./load3.json","Interval":80}}}}
Update Data
[ { 'presist-store': { id: 1, env: 'FOO', config: [Object] } } ]
Signel Recived !
Data written to file
Restart Runtime Server
closing code: 0
Express 4 https server listening on http://localhost:1880/red, serving node-red
03/12/21, 17:43:40 [info]  

Welcome to Node-RED
===================

03/12/21, 17:43:40 [info]  Node-RED version: v1.2.9-git
03/12/21, 17:43:40 [info]  Node.js  version: v12.16.3
03/12/21, 17:43:40 [info]  Windows_NT 10.0.19042 x64 LE
03/12/21, 17:43:41 [info]  Loading palette nodes
03/12/21, 17:43:42 [debug]  Module: node-red-contrib-json-db 0.6.2
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-json-db
03/12/21, 17:43:42 [debug]  Module: node-red-contrib-key-value-store 0.1.8
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-key-value-store
03/12/21, 17:43:42 [debug]  Module: node-red-contrib-persist 1.1.1
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-persist
03/12/21, 17:43:42 [debug]  Module: node-red-contrib-process-env 0.2.5
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-process-env
03/12/21, 17:43:42 [debug]  Module: node-red-contrib-projectdir 2.0.5
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\.nodered\node_modules\node-red-contrib-projectdir
03/12/21, 17:43:42 [debug]  Module: node-red-contrib-contextbrowser 0.0.4
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\node_modules\node-red-contrib-contextbrowser
03/12/21, 17:43:42 [debug]  Module: node-red-node-rbe 0.2.9
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\node_modules\node-red-node-rbe
03/12/21, 17:43:42 [debug]  Module: node-red-node-tail 0.1.1
03/12/21, 17:43:42 [debug]          D:\Project\node-red-template-embedded\node_modules\node-red-node-tail
03/12/21, 17:43:43 [info]  Context store  : 'memoryOnly' [module=memory]
03/12/21, 17:43:43 [info]  Context store  : 'file' [module=localfilesystem]
03/12/21, 17:43:43 [info]  User directory : D:\Project\node-red-template-embedded\.nodered
------ Engine started! ------
03/12/21, 17:43:43 [info]  Active project : Dev
03/12/21, 17:43:43 [info]  Flows file     : D:\Project\node-red-template-embedded\.nodered\projects\Dev\Dev.json
03/12/21, 17:43:43 [debug]  loaded flow revision: fc7f5516f689dcd5f9d66ffa60514b10
03/12/21, 17:43:43 [debug]  red/runtime/nodes/credentials.load : using active project key - disabled
03/12/21, 17:43:43 [debug]  red/runtime/nodes/credentials.load : keyType=disabled
03/12/21, 17:43:43 [info]  Starting flows
03/12/21, 17:43:43 [debug]  red/nodes/flows.start : starting flow : global
03/12/21, 17:43:43 [debug]  red/nodes/flows.start : starting flow : 9755354.1a5d8c8
03/12/21, 17:43:43 [debug]  red/nodes/flows.start : starting flow : 455936c5.4dc638
03/12/21, 17:43:43 [debug]  red/nodes/flows.start : starting flow : d17299e5.9ff148
03/12/21, 17:43:43 [info]  Started flows

Hi @d0d04m3

was the pull-request you raised earlier this week actually intended to be a feature request? If so, that isn't what pull-requests are and we should close it.

To answer your previous questions, it depends which api you are using.

You can use /flows to get the complete flow configuration, edit the nodes you want to update, and then POST back to /flows.

The /flow end-point lets you work with individual flows (ie tabs). The JSON format is slightly different to the /flows end-point, but if you do a get of /flow/<a-flow-id> you'll see what it looks like.

The piece of information I think you're missing is that if your Configuration node is a global node (ie, its available on all tabs), then it will be on the global flow - which you can access via /flow/global.

The whole /flow end point needs updating to be more usable. For example, there's no easy way to update individual subflows - they all appear on the global flow as well.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.