I need to fetch collection names like folders,devices, roles and etc
I am able fetch entire collection list
but I need to fetch only collection names. Please help me.
{"folders":{"count":0,"name":"folders","type":"folder","title":"Folders"},"devices":{"count":0,"name":"devices","type":"device","title":"Devices"},"roles":{"count":3,"name":"roles","type":"role","title":"Roles"},"groups":{"count":0,"name":"groups","type":"group","title":"Groups"},"dates":{"count":3,"name":"dates","type":"date","title":"Dates"},"users":{"count":0,"name":"users","type":"user","title":"Users"},"books":{"count":13,"name":"books","type":"book","title":"Books"},"assets":{"count":0,"name":"assets","type":"asset","title":"Assets"},"examples":{"count":1,"name":"examples","type":"example","title":"Examples"},"uids":{"count":2,"name":"uids","type":"uid","title":"Uids"},"activities":{"count":0,"name":"activities","type":"activity","title":"Activities"},"ices":{"count":1,"name":"ices","type":"ice","title":"Ices"},"events":{"count":0,"name":"events","type":"event","title":"Events"}}
I am able to get like this but i need only
folders,devices,groups and etc
Hi Reshma,
Using the below BaaS API you can retrieve all collection names in an App.
https://api.usergrid.com/{BAASORGNAME}/{APPNAME}
Furthermore, you can refer to this docs: "https://docs.apigee.com/api-baas"
Hope this helps
Thanks,
Haider
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |