Get node's configuration information at runtime

#1

Hi,

I am looking for a way to get a specific node's configuration information (ex: number of inputs, outputs) in the run-time from another node. Is there any admin API to do that?

Regards,
Malintha

#2

A node in Node-RED only has one input.

Generally a node doesn't have any knowledge of other nodes. It takes in a message, does it's thing and outputs a message, unless they share a config node where a shared configuration is defined.

#3

Already answered on slack (Answer : no you can't)