# Group Api - get all collections and singletons for a group

**URL:** <https://discourse.getcockpit.com/t/group-api-get-all-collections-and-singletons-for-a-group/431>\
**Category:** Addons\
**Created:** [November 29, 2018, 10:24pm UTC](https://discourse.getcockpit.com/t/group-api-get-all-collections-and-singletons-for-a-group/431 "2018-11-29T22:24:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matchett808](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/matchett808/32/175_2.png) [@matchett808](https://discourse.getcockpit.com/u/matchett808)\
**Post date:** [November 29, 2018, 10:24pm UTC](https://discourse.getcockpit.com/t/group-api-get-all-collections-and-singletons-for-a-group/431/1 "2018-11-29T22:24:34Z")

</div>

I made this

It works but isn’t great - might help someone

> **[matchett808/cockpitCms-groupapi](https://github.com/matchett808/cockpitCms-groupapi)**
>
> Provides a group API for cockpit CMS. Contribute to matchett808/cockpitCms-groupapi development by creating an account on GitHub.
