AnsweredAssumed Answered

How to retrieve routing URL of specific Web API externally?

Question asked by ygirouard_stm on Feb 27, 2019
Latest reply on Mar 1, 2019 by ygirouard_stm

We mostly use the API Gateway to shield backend web APIs and force users to authenticate when the backend API doesn't offer this kind of security. One of the most common questions we get from our own web developers is "Could you tell me where API XYZ routes to?"

 

We then have to open the Policy Manager and look it up. We could certainly keep a record of this info elsewhere, but this wouldn't always guaranty that it's the actual routing address and that the tracking file is always up to date.

 

I thought of creating a simple Web API that our devs could query to return the (or all of) the routing URLs for a certain web API using its resolution path, and using the JDBC query assertion to query the gateway database, but I'm struggling with the formatting of the output in something that's easy to use.

 

Has anyone else done something similar or would anyone have any suggestions on how to best do this using a Web API?

Outcomes