Thanks Steve.
Where I can find info about the request.* variables to know that is immutable?
Considering what you said the subscriber only access to the last version of that api in the product.
What if I have different versions in different products? can I do something?
Regards
------------------------------
Filipe Ventura
------------------------------
Original Message:
Sent: Fri March 10, 2023 10:38 AM
From: Steve Linn
Subject: Call API based on Version
Hi Filipe,
You can have multiple versions of the same API published, and different subscribers can access the different versions. A subscriber should only subscribe to one version. If they somehow are subscribed to both versions, it is indeterminate as to which one will be executed, so that is definitely not a good practice.
As for rewriting request.path, request.* is immutable and cannot be changed.
Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
Original Message:
Sent: Fri March 10, 2023 04:55 AM
From: Filipe Ventura
Subject: Call API based on Version
Hi everyone,
I am new to API Connect and I have a requirement for having two version of the same API.
Object: one product with two version of the same API (same path)
It is possible? how can I differentiate them?
Other question, can I rewrite the request.path variable?
Thanks in advance.
------------------------------
Filipe Ventura
------------------------------