user1563721
user1563721

Reputation: 1571

wso2 api manager parameters in context of URL

wso2 api manager has the following parts in the publisher URL:

http//hostname:8280/<context>/<version>/<resource>

I know that <resource> can be defined with parameters within curly brackets, like {parameter} and they can be used duiring mediation using uri.var.parameter.

I was trying to use the parameter in curly brackets in <context> part of the publisher URL, but unfortunately this does not work.

Is there any way how to use parameters in <context> and work with them during mediation flow?

Upvotes: 1

Views: 267

Answers (2)

Bee
Bee

Reputation: 12513

{version} is the only parameter you can use inside the context.

Upvotes: 0

gusto2
gusto2

Reputation: 12087

Nope, the context determines which API is invoked and that value is fixed when you create the API?

Upvotes: 2

Related Questions