How to find all the proxies using a particular shared flow (find dependent Item list)

I want to find all proxies that are using a particular sharedflow. Still have not found a way to do this via mgmt api and guess we will have to resort to some sort of search to be able to get this relationship.

You’re correct that you have to do a “brute force” search in order to find those things.

A script that does this is here: https://github.com/DinoChiesa/apigee-edge-js-examples/blob/main/findFlowCallouts.js

Basic logic:

get a list of all the proxies. for each proxy:

get a list of all the revisions. For each revision, or maybe only for the last one:

export the proxy bundle to a temporary directory

unzip the bundle

examine all the policies, for each FlowCallout policy:

see if the target SharedFlow is the one you’re after.