What are you trying to do Gabriel?
# pactflow
m
What are you trying to do Gabriel?
g
Listing the consumers of a particular provider. It's feasible with the one available.
m
It will list all consumers and providers (depending on the role of the application, it may be one, the other or both)
So
when I reach to
{tenant}/pacticipant/{pacticipant}/network
(singular), I get a huge list of integrations, which I assume is the comprehensive list with them all.
I think this is incorrect. What makes you think it’s the entire list?
/integrations
is the endpoint to get all integrations
g
It seems like the entire list because the response contains pacticipants unrelated to the requested one. (check the second entry)
m
oh, right. It’s the network. So I think it follows the dependencies (hence network). You could use it to draw the interconnected systems.
Alternatively, call the
/integrations
endpoint (use the
Accept: application/hal+json
if you want JSON format. And extract out the pairs that match what you need