Exposing the full content path using AJAX get request
We want to call a servlet using an AJAX GET request. Our servlet path is something like /content/test/jcr:content/par-main/events_calendar.events.json. We use resource type as a way of resolving the servlet so we can read properties from the component within the servlet itself.
Is there a way to prevent exposing the full content structure in the HTML/Javascript?
Is it considered OK to expose - /content/test0/jcr:content/par-main/ in our HTML?