I have the need to be able to modify the API implementation endpoint in a policy plugin. APIs need to be routed to a different endpoint based on more than just the root part of the API URI, for example, APIs like these would need to go to different microservices:
account/1234/bills
account/1234/services
account/1234
Since the "1234" in the above is a path parameter, these cannot be different API definitions.