# Is it possible to get channel manager pages with REST api?

**URL:** https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256
**Category:** Experience Manager (PaaS/OnPrem)
**Created:** [July 16, 2019, 5:30am UTC](https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256 "2019-07-16T05:30:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)
#### Post date: [July 16, 2019, 5:30am UTC](https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256/1 "2019-07-16T05:30:06Z")

</div>

Hi Guys,

Is it possible to get channel manager pages with REST api ?

thanks in advance

---

<div class="post-metadata">

### Author: ![Mykyta](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Mykyta](https://community.bloomreach.com/u/Mykyta)
#### Post date: [July 16, 2019, 7:26am UTC](https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256/2 "2019-07-16T07:26:54Z")

</div>

As far as I know, there is not OOTB (out of the box) way to do that. There is org.hippoecm.hst.pagecomposer.jaxrs.services.SiteMapResource#getSiteMapPages internal resource which channel manager uses for retrieving site map items but it is only for internal usage.

Until Bloomreach Experience 13.0.0 you could use org.hippoecm.hst.pagecomposer.jaxrs.model.SiteMapPagesRepresentation class for representing site map items. But after 13.0.0 this classes were extracted to separate dependency that is not available in site module.

Now you can take a look how SiteMapPagesRepresentation works and write your own Rest Resource for extracting info that you need.

---

<div class="post-metadata">

### Author: ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)
#### Post date: [July 16, 2019, 11:45am UTC](https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256/3 "2019-07-16T11:45:25Z")

</div>

Hi Mykyta,

thanks for your reply, i will try.

regards  
Ganesh

---

<div class="post-metadata">

### Author: ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)
#### Post date: [July 22, 2019, 6:27am UTC](https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256/4 "2019-07-22T06:27:14Z")

</div>

HI Mykyta,

thanks for your replay, what is going to happen, after 13.0.0. You said org.hippoecm.hst.pagecomposer.jaxrs.model.SiteMapPagesRepresentation is going to separate dependency. if we want the same functionality what we have to do ?

currently we are using 12.0.1, soon we are going to move to latest version.

Kindly let me know in future what we have to do, incase if “SiteMapPagesRepresentation” this going to move. So that we can place now accordingly.

thanks & regards  
Ganesh

---

<div class="post-metadata">

### Author: ![Mykyta](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@Mykyta](https://community.bloomreach.com/u/Mykyta)
#### Post date: [July 22, 2019, 8:05am UTC](https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256/5 "2019-07-22T08:05:51Z")

</div>

Hi,

The simple solution, you can just replicate `SiteMapPagesRepresentation` and `SiteMapPageRepresentation` classes into your codebase.  
Also, you can take a look to the `mount.getHstSite().getSiteMap().getSiteMapItems()` which returns all site map items for certain mount (channel)

Thanks,  
Mykyta

---

<div class="post-metadata">

### Author: ![gkr](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@gkr](https://community.bloomreach.com/u/gkr)
#### Post date: [July 23, 2019, 4:41am UTC](https://community.bloomreach.com/t/is-it-possible-to-get-channel-manager-pages-with-rest-api/1256/6 "2019-07-23T04:41:00Z")

</div>

HI Myayta,

Thank you for your time and quick reply.

regards  
Ganesh
