I am currently working on using the Admin HTTP API to install nodes to Node-RED servers. Installing to a local server is simple enough, and has no issues, but I am curious about installing a custom node to a remote Node-RED server.
The documentation shows that the POST method takes either a path to the node on your machine or the name of a module in the npm repository. Seeing as passing a local path to a directory would not work on a remote server, it seems that the only way to put a node onto a remote server is to publish the custom node to npm and install it that way. Is this thinking correct, or is there another way to do this that I am missing? In addition to this, if my thinking is correct, are there plans to add support for uploading custom nodes directly to a remote server through the API to install them rather than having to publish to npm?