Customizing your Agent API path
By default, all the agent requests are under /api/v1/agent
to match all our standard APIs. There are times when you may want to change this URL, especially if you are deploying multiple agent APIs behind one load balancer. To do this, just add the following to your application.properties
and the 'agent' part of the URL will be updated:
peoplelogic.agent.api.path=/agents/sample
That's it. Just restart your application and the path will be /api/v1/agents/sample
.
Last updated
Was this helpful?