Same base path for different proxies

Hello All,

Can you please help to check whether same base path can be possible for different proxies?

I will have different resource path for different proxies.

Thanks

Hi, basepath should be unique for each proxy. but we can use wildcard entry in basepath, have a look at this doc,

https://docs.apigee.com/api-platform/reference/api-proxy-configuration-reference#proxyendpoint-proxyendpointconfigurationelements

@Satyajit Tarai, You can have same base path & resource paths for different proxies as long as you are configuring different Virtual Hosts.

Assuming the same vhost, multiple proxies

  • cannot use the same basepath
  • can use a common basepath “prefix”. For example proxy A can use a basepath of /api/A and proxy B can use a basepath of /api/B

Actually the first bullet is not strictly true. Apigee Edge doesn’t restrict proxies from specifying the same basepath. Apigee Edge restricts DEPLOYMENT of a proxy if it has a basepath which is the same as an already-deployed proxy. In other words, all DEPLOYED proxies must have a unique basepath.

Hi Siddharth, extract variable policy is not allowing to extract the variable from the dynamic parts of the basepath so how can we extract the wildcards in the basepath and use them in the proxy to route to different targetendpoints?