1

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?

user1563721
  • 1,373
  • 3
  • 28
  • 46

2 Answers2

2

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

gusto2
  • 11,210
  • 2
  • 17
  • 36
0

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

Bee
  • 12,251
  • 11
  • 46
  • 73