Question

1
Replies
75
Views
Thilak Member since 2014 9 posts
Macquarie Group
Posted: 4 months ago
Last activity: 4 months 3 weeks ago

Rest API versioning to support multiple versions at the same time

I have a requirement to version a REST API, and both V1 and V2 should run at the same time. These can be pointed to different application versions. The Consumer should be able to call both the versions. The service package is the same, only difference in the endpoint URL is the version. Example below.

 

https://myserver/prweb/PRRestService/myservicepackage/v1/myservice

https://myserver/prweb/PRRestService/myservicepackage/v2/myservice

What is the recommended way to achieve this? What is the use of the "Service version" attribute in Service REST form?

***Edited by Moderator: Pallavi to update platform capability tags***

 

Pega Platform 8.2.1 Decision Management Data Integration Financial Services Lead System Architect
Share this page LinkedIn