I'm programmatically creating a NiFi flow using the NiFi api.
I created a process group (I'll call it PG) inside the root process group. Inside the PG I want a Remote Process Group pointing to the root.
The Remote Process Group request-payload requires the target uri of the process group it is pointing to (in this case the uri of the root).
Is there a way to get that uri programmatically via the api?
In other words, can I somehow programmatically get the uri of the root?
Thanks in advance