Multiple API calls in a single API Proxy,Adding Multiple calls

Hi All,

I'm very fresh to Apigee and i need a help from you guys. Any help is much much appreciated.

I want to access my all API calls of my backend service with Single API proxy in Apigee

Example:

My service has 100 calls like

https://example.com/v1/resource1

https://example.com/v1/resource2

https://example.com/v1/resource3

https://example.com/v1/profiles

https://example.com/v1/users upto 100 calls

I want to configure all this calls in single API Proxy in Apigee and differentiate each calls by suffix / path like this

https://myaccount-test.apigee.net/server1/ { suffix1,suffix2,suffix3 ........ sufix100 }

Is that possible? If possible how i like configure this. Please send me any references or answers to resolve this.

Thankyou very much.

0 2 1,275
2 REPLIES 2

You create a proxy and configure target endpoint url as https://myaccount-test.apigee.net/server1/ . When you are sending request to API proxy endpoint like https://apigee-test.com/v1/server1/suffix1 then the proxy will route request to https://myaccount-test.apigee.net/server1/suffix1

sidd-harth
Participant V

Hi @Palli Kondan,

  • Create an Reverse API Proxy and set the ExisitngAPI/HTTPTargetConnection URL as https://example.com/v1 and set the basePath to server1
  • In Proxy Endpoint you can create multiple(or single dynamic) Conditional Flow.

<Condition>(proxy.pathsuffix MatchesPath "/{suffix}") and (request.verb = "GET")</Condition>
  • Deploy the proxy and start making calls,
https://myaccount-test.apigee.net/server1/profiles
https://myaccount-test.apigee.net/server1/users
https://myaccount-test.apigee.net/server1/xyz
etc.,