My team is trying to obtain the version numbers of all the process groups they have in a cluster. There are two REST endpoints which I thought could solve this issue but it turns out neither one does the entire job by itself.
/flow/process-groups/{id}/status?recursive=true allows for obtaining all the process groups but it does not have the version number while /process-groups/{id}/process-groups allows for obtaining the version number of the process groups but it is not recursive so only the top level process groups are retrieved. Is there another endpoint that can be recursive to retrieve all the process groups and their version numbers? If there is no endpoint, can there be a ticket created which I would be glad to work on for including the version number in /flow/process-groups/{id}/status?recursive=true and/or making /process-groups/{id}/process-groups recursive?