At a client where I’m currently working there is a use-case where they want an overview of all their articles. These articles are all of a custom type called “articleDocument”.
Using the content hall API to query for these documents ex:
Could you correct me if I followed your suggestion the wrong way?
I introduced a new HST site called “documents” which has /content/documents as a root node. This HST site has a HAL api configured. The hst:mountsite value is the hst:root’s hst:alias.
As expected, the HAL api results with documents that reside in hst:root channel generate the correct self-link and site-link. However, the document results that reside in other channels cannot generate a site-link, only a self-link.
I’m assuming this is by design and we are trying to build something against the CMS architectural principles. Or am I doing something wrong?