Getting the document path (HippoCMS rendered) in the REST API detail


#21

I think all documentation was clear in explaining individual concepts. Since there are a few different mechanisms to implement REST services, the missing bit for me was that I didn’t have to choose just one of those mechanisms, but that I could use them in combination to achieve my goal. In my case the Content REST API [1] provided 99% of what I needed already, which I didn’t want to recreate to achieve the missing 1% (the link). The solution came once I realized only the 1% had to be implemented in Plain JAX-RS services [2] while still benefiting from existing functionality that is already there out-of-the-box.

This might not be the cleanest solution because I have to make two calls from the client to get the data I require, but in my use case that is an acceptable compromise.

[1] https://documentation.bloomreach.com/library/concepts/rest/content-rest-api/introduction.html
[2] https://documentation.bloomreach.com/library/concepts/rest/restful-api-support---plain-jax-rs-services.html