Re: Rest API versioning and redirection

2022-03-02 Thread Michael Brohl
Hi Rishi, the /rest/ endpoint is fixed in the current implementation but you can change it bei changing the webapp path on ofbiz-component.xml. Versioning can be achieved by multiple rest api configurations where you set the resource base path to e.g.  path="/v1/parties" or

Re: Rest API versioning and redirection

2022-03-01 Thread Rishi Agr
Can someone provide some information on this? On Mon, Feb 28, 2022 at 4:47 PM Rishi Agr wrote: > Hi, > I am trying to add API versioning and I found that there is mount-point > */rest* in *rest-api/ofbiz-component.xml* which is added as a part of the > path to the API. This is also the case in

Rest API versioning and redirection

2022-02-28 Thread Rishi Agr
Hi, I am trying to add API versioning and I found that there is mount-point */rest* in *rest-api/ofbiz-component.xml* which is added as a part of the path to the API. This is also the case in *swagger-ui.html*. In my understanding, there needs to be a configurable property that can be used in both