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

**URL:** <https://community.bloomreach.com/t/getting-the-document-path-hippocms-rendered-in-the-rest-api-detail/805>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [February 12, 2019, 10:25am UTC](https://community.bloomreach.com/t/getting-the-document-path-hippocms-rendered-in-the-rest-api-detail/805 "2019-02-12T10:25:45Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![woonsanko](https://avatars.discourse-cdn.com/v4/letter/w/b5a626/32.png) [@woonsanko](https://community.bloomreach.com/u/woonsanko)\
**Post date:** [February 19, 2019, 2:19pm UTC](https://community.bloomreach.com/t/getting-the-document-path-hippocms-rendered-in-the-rest-api-detail/805/16 "2019-02-19T14:19:49Z")

</div>

> [@bcanvural](#):
>
> There’s content hal api which takes a uuid as path param, but that also has the “api url” like you mentioned above.

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:

```auto
  "_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](https://documentation.bloomreach.com/library/concepts/request-handling/mount-matching.html)  
[2] [Install the Content HAL API add-on - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS](https://documentation.bloomreach.com/library/enterprise/services-features/content-hal-api/install.html)

---

_[View the full topic](https://community.bloomreach.com/t/getting-the-document-path-hippocms-rendered-in-the-rest-api-detail/805)._
