One correction: If you configure the parent mount (e.g, hst:root
) of the Content HAL API mount (e.g, hst:root/api
) with hst:alias
[1] by setting it to site
, then Content HAL API will include “site” link as well automatically like the following example:
"_links": {
"self": { "href": "http://localhost:8080/site/api/documents/18e36c35-429d-4fee-b76e-eeabcbfc08bb" },
"site": { "href": "http://localhost:8080/site/events/2019/01/introduction-speech.html" }
},
The installation steps [2] include a setting, hst:mountsite: site
, which makes the relationship with the mount having hst:alias: site
.
I’ll try to improve the documentation (installation and examples) to cover this later.
Woonsan
[1] Mount Matching - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS
[2] Install the Content HAL API add-on - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS