According to the documentation from POST /flows : Node-RED
For encrypted credentials the document specifies adding the values from flows_cred.json
under a key called credentials
but the structure only seems to documented for Node-RED-API-version: v2
.
There is a difference in the structure for Request Body for API version v1 (which is a list of objects) and v2 which is an object.
I would like a clarification if the credentials
object can also be added to the v1 Request Body's list and whether I can append it to the list